把多空控盘指标改选股公式并预警
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

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(做多能量,做空能量);

选股票看什么指标最好 >股票指标网