手机端
当前位置:爱约股 > 公式技巧 > 这个指标公式优化一下,让他0轴贴着窗口最下端

这个指标公式优化一下,让他0轴贴着窗口最下端

请问老师为什么这个指标公式副图窗口最下边之间还有空白部分,怎么让他0轴贴着窗口最下端,这样看着舒服! VAR1:=EMA(EMA(EMA(EMA(CLOSE,1),1),11),1); AA:=EMA((VAR1-REF(VAR1,1))/REF(VAR1,1),33)*1000; BB:=EMA(AA,44); MM:=EMA(AA-BB,1); VAR2:=EMA(EMA(EMA(EMA(WINNER(C)*100,1),1),1),1); STICKLINE(VAR2C AND MM>0,MM,0,4,1),COLORRED; STICKLINE(VAR2>30 AND COST(50)>C AND MM>0,MM,0,4,0),COLORRED; STICKLINE(VAR2>30 AND COST(50)0,MM,0,4,0),COLORYELLOW;

爱约股解答:

VAR1:=EMA(EMA(EMA(EMA(CLOSE,1),1),11),1);

AA:=EMA((VAR1-REF(VAR1,1))/REF(VAR1,1),33)*1000;

BB:=EMA(AA,44);

MM:=IF(EMA(AA-BB,1)>0,EMA(AA-BB,1),0);

VAR2:=EMA(EMA(EMA(EMA(WINNER(C)*100,1),1),1),1);

STICKLINE(VAR2<30 AND COST(50)>C AND MM>0,MM,0,4,1),COLORRED;

STICKLINE(VAR2>30 AND COST(50)>C AND MM>0,MM,0,4,0),COLORRED;

STICKLINE(VAR2>30 AND COST(50)<C AND MM>0,MM,0,4,0),COLORYELLOW;

TAG:
分享至:

相关推荐