通达信红色风暴主图指标
用法没有,自己琢磨吧,有未来函数谨慎使用
VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),18)/4;
VAR4:=IF(DATE<1091231,IF(VAR3>23.16,VAR3,0),0);
VAR5:=VAR3<10;
VAR6:=VAR3<2;
VAR7:=VAR5 OR VAR6;
长期趋势: ZIG(3,19), , COLORBLUE;
短期趋势: ZIG(3,6.5), , COLORYELLOW;
年线: EMA(CLOSE,250), , COLOR0099FF;
三年线: EMA(CLOSE,725), , COLORGREEN;
九日: EMA(CLOSE,9), , COLOR009090;
十三日: EMA(CLOSE,13), , COLORB0FFFF;
七十二日: EMA(CLOSE,72), , COLORRED;
IF(CROSS(ZIG(3,13),REF(ZIG(3,13),1)),长期趋势+1,长期趋势-1), COLORRED;
IF(CROSS(REF(ZIG(3,13),1),ZIG(3,13)),长期趋势+1,长期趋势-1), COLORGREEN;