九毛八公式指标
VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR3:=SMA(VAR2,13,8); 高抛: 90, POINTDOT; 低吸: 0, POINTDOT; 做多能量: SMA(VAR3,13,8),COLORRED; 做空能量: SMA(VAR1,21,8),COLOR00FF00; 买进: IF(CROSS(做多能量,45),18,-4),COLORRED; 卖出: IF(CROSS(45,做多能量),18,-4),COLOR00FF00; 强弱分界: 45; 选股条件:当红线多方上穿绿线,下显示红三角信号为买入信号,并预警
公式模块:
第一个:
VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR3:=SMA(VAR2,13,8); 做多能量:= SMA(VAR3,13,8); 做空能量:= SMA(VAR1,21,8); 买进:crOSS(做多能量,45); 第二个: VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR3:=SMA(VAR2,13,8); 做多能量:= SMA(VAR3,13,8); 做空能量:= SMA(VAR1,21,8); 买进:CROSS(做多能量,做空能量);