使用说明:蓝色代表趋势线,其它不同颜色表示股价所处的相对位置。洋红色柱可以考虑短线买入,买点出现后且有红色柱上升趋势坚决买入,当出现青色柱减仓黄s柱子下跌趋势形成卖出。 N1:=17;N2:=34;
STICKLINE(C>0,40,60,10,0),COLOR999999;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
短K:SMA(RSV,3,1),COLORF580F5,LINETHICK1;
短D:SMA(短K,3,1),COLORCCDD33,LINETHICK1;
RSV1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;
中K:SMA(RSV1,5,1),colorred,LINETHICK1;
中D:SMA(中K,10,1),COLOR00FFFF,LINETHICK1;
短:=3*短K-2*短D,colorred,LINETHICK2;
中:=3*中K-2*中D,colorred,LINETHICK2;
趋势线:(短+中)/2,COLORFF9900,LINETHICK3;
底线:10,colorlired,LINETHICK2;
顶线:90,colorFFFFFF,LINETHICK2;
BB:=IF(BARSLAST(CROSS(短K,RSV))>=3 AND CROSS(RSV,短K) AND 短K<30,20,0);
STICKLINE(BB,0,30,2.8,1),COLOR0000BB;
STICKLINE(BB,0,30,1.4,1),COLOR0000DD;
STICKLINE(BB,0,30,0.7,1),COLOR0000FF;
AA:=IF(BARSLAST(CROSS(RSV,短K))>=4 AND CROSS(短K,RSV) AND RSV>50,20,0);
STICKLINE(AA,70,100,2.8,1),COLOR00FFFF;
STICKLINE(AA,70,100,1.4,1),COLOR00FFDD;
STICKLINE(AA,70,100,0.7,1),COLOR00FFBB;
STICKLINE(短K> 短D,短K,短D,2.8,1),COLOR820082;
STICKLINE(短K> 短D,短K,短D,1.4,1),COLORB700B7;
STICKLINE(短K> 短D,短K,短D,0.7,1),COLORF700F7;
STICKLINE(短K> 短D,短K,短D,0.1,1),COLORFF37FF;
STICKLINE(短K<=短D,短K,短D,2.8,1),COLORBFBF00;
STICKLINE(短K<=短D,短K,短D,1.4,1),COLORE8E800;
STICKLINE(短K<=短D,短K,短D,0.7,1),COLORFFFF15;
STICKLINE(短K<=短D,短K,短D,0.1,1),COLORFFFF46;
STICKLINE(中K> 中D,中K,中D,2.8,0),COLOR000099;
STICKLINE(中K> 中D,中K,中D,1.4,0),COLOR0000DD;
STICKLINE(中K> 中D,中K,中D,0.7,0),COLOR0000CC;
STICKLINE(中K> 中D,中K,中D,0.1,0),COLOR0000FF;
STICKLINE(中K<=中D,中K,中D,2.8,0),COLOR009FFF;
STICKLINE(中K<=中D,中K,中D,1.4,0),COLOR00B5FF;
STICKLINE(中K<=中D,中K,中D,0.7,0),COLOR00E4FF;
STICKLINE(中K<=中D,中K,中D,0.1,0),COLOR00FFFF;
VAR3:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100);
VAR4:=SMA(VAR3,9,1);///www.fxjgsw.com
回档不破洗盘:EMA(VAR4,3),COLORFF0000,LINETHICK2;
红线下穿减仓:EMA(回档不破洗盘,3),COLORFFFFFF;
无量阴跌空仓:EMA(红线下穿减仓,8),colorligreen;
|
