1.请老师根据副在出现黄色三角形的角选波段捉妖源码地方写一个通达信选股公式.
请老师根据副在出现黄色三角形的地方写一个通达信选股公式.
Q2:=(CLOSE-LLV(LOW, ))/(HHV(HIGH, )-LLV(LOW, ))*;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势:=3*Q3-2*Q4,COLORWHITE,LINETHICK3;
趋势线:=EMA(Q3, 3),COLORRED,LINETHICK3;
逢低买: =DRAWTEXT(REF(CROSS(趋势线,长趋势),) AND 趋势线>1.3*长趋势,长趋势,'逢低买'),LINETHICK1;
买: =DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势>1.3*趋势线,趋势线,'买'),COLORRED,LINETHICK1;
VAR3:=PEAKBARS(3,,1)<;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
顶A:=IF(顶>REF(顶,1),,0),COLORGREEN;
金叉: =CROSS(长趋势,趋势线);
V1:=EMA(CLOSE,)-EMA(CLOSE,);
V2:=EMA(V1,);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*;
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),,0);
{ OK}