此图非常不错,在大的波浪前能够准确提示,还请各位老师能做更好的优化,造福小散。在此谢过了
EMA5:EMA(C,5),COLORWHITE,LINETHICK2;
EMA13:EMA(C,13),COLORFF00FF;
EMA21:EMA(C,21),COLORYELLOW;
EMA34:EMA(C,34),COLORFFCC66;
EMA89:EMA(C,89),COLORBLUE;
SS:=crOSS(EMA5,EMA13) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA13,EMA21) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA21,EMA34) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA34,EMA89) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 ;
DRAWICON(SS,L-0.04,1);
DD:=CROSS(EMA13,EMA21) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA13,EMA89) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA21,EMA89) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA21,EMA89) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(EMA5,EMA89);
{DD:=CROSS(EMA5,EMA89);}
DRAWICON(DD,L-0.04,3);
LX:=(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,LINETHICK1;
J:=SUM(vol*CLOSE,5)/SUM(VOL,5);
M:=EMA(J,2),COLORWHITE,LINETHICK1;
DRAWICON((CROSS(M,LX)),LX,10);
DRAWTEXT((CROSS(M,LX)),LX,' ←介入,'),COLOR00FF00;