通达信稳赢剑公式--好不好自己看。。。

[复制链接]
查看50 | 回复0 | 2022-7-24 07:15:34 | 显示全部楼层 |阅读模式

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;
 

838488669.jpg

838488669.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则