E40指标
参数:
p3 1 100 5
p11 1 200 10
p22 1 300 40
以上参数请自行设置
M5:MA(CLOSE,P3);E10:EMA(CLOSE,P11);
E40:EMA(CLOSE,P22), LINETHICK2;
M3:MA(CLOSE,3),COLOR00FF00;
F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
P1:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0);
P2:=今小前;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0,OPEN,CLOSE,3,0),COLORAAAAAA;
73288625.jpg
|