自用幅图指标,出现红色信号买入,红色走平卖出 源码 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; Q: IF(VAR6>100,VAR6-100,0); IF(REF(Q,1)IF(REF(Q,1)>Q,Q,REF(Q,1)); |