请问老师为什么这个指标公式和副图窗口最下边之间还有空白部分,怎么让他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;