九毛八公式指标
参数: 最小 最大 缺省N 1.00 100.00 13.00 M 1.00 100.00 9.00 M1 1.00 100.00 3.00 VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; VAR2:=SMA(VAR1,M1,1); 卖线: SMA(VAR2,M1,1); VAR3:=(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*100; VAR4:=SMA(VAR3,M1,1); VAR5:=SMA(VAR4,M1,1); 买入线: SMA(VAR5,M1,1); 必卖线: SMA(卖线,M1,1); DRAWTEXT(买入线>76.5 AND CROSS(卖线,必卖线),必卖线*1.15,'进');
公式模块:
VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VAR2:=SMA(VAR1,M1,1); 卖线:=SMA(VAR2,M1,1); VAR3:=(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*100; VAR4:=SMA(VAR3,M1,1); VAR5:=SMA(VAR4,M1,1); 买入线:=SMA(VAR5,M1,1); 必卖线:=SMA(卖线,M1,1); 买入线>76.5 AND crOSS(卖线,必卖线);