同花顺抄底逃顶1号公式
源码
底部:IF((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),10,(-50)),Color00FF00;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
VAR3:=PEAKBARS(3,15,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
逃顶:IF(顶>REF(顶,1),50,0),colorf00ff0;