同花顺稳赢剑副图指标 源码介绍
同花顺稳赢剑副图指标 源码
指标中的红色曲线需要走平,出现红色箭头以及红柱,买入参考
VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR5:=CROSS(VAR4,10) AND VAR3<N;
稳赢剑:IF(VAR5,60,1), , colorred;
DRAWICON(VAR5,55,1);
危机线: 80, , colorgreen;
中间线: 40, , COLOR00CCFF;
安全线: 0, , colorred;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,M);
VAR8:=HHV(HIGH,M);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
战术线: VAR9, ,COLOR00CCFF;
战略线: EMA(0.382*REF(VAR9,2)+0.618*VAR9,12), , ;
STICKLINE(VAR9>VARA,VAR9,VARA,6,0), ,colorred;
STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),colorgreen;
gd47674