「翔博精选指标」快刀抄底 抄底公式(通达信副图 源码 测试图)
2022-04-23原创 编 辑:翔博软件
{快刀抄底}
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
S:=IF(VAR6>100,VAR6-100,0);
顶:=(S<REF(S,1) AND REF(S,1)>REF(S,2))*3;
底:(S>0 AND REF(S,1)=0)*3;