同花顺判定路的方向副图指标 源码介绍
同花顺判定路的方向副图指标 源码
红色箭头第一买入点,蓝色箭头第二买入点,绿色箭头卖出点。
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V4:SMA(V3,2,1);
V5:SMA(V4,2,1);
V6:=CLOSE/REF(CLOSE,3)>=1.1;
V7:=BACKSET(V6,3);
大涨买:IF((V7 AND COUNT(V7,3)=1),50,0),colorblue,LINETHICK2;
DRAWTEXT(大涨买,50,'大涨买 '),colorblue;
V10:=PEAKBARS(3,15,1)<10; V12:=IF(V10=1,50,0);
头部:= IF(V12=50,100,0);
路断头:IF(头部>REF(头部,1),50,0),colorgreen,LINETHICK2;DRAWTEXT(路断头,50,'路断头 '),coloryellow;
V9:=TROUGHBARS(3,15,1)<10; V11:=IF(V9=1,50,0);
底部:= IF(V11=50,50,0);
上路:IF( 底部>REF(底部,1),40,0),colorred,LINETHICK2; DRAWTEXT(上路,40,'上路 '),coloryellow;
gd47124