通达信最好:EMA(CLOSE,5),COLORFFFFFF;
主图指标:MA(CLOSE,9),COLORFFFF00;{高手指标公式网www.gs6699.com}
DRAWICON( FILTER(CROSS(通达信最好,主图指标),1),L*0.97,1);
DRAWICON( FILTER(CROSS(主图指标,通达信最好),1),H*1.03,2);
eess1:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(eess1>=1,O,C,1,0),COLORYELLOW;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
eess2:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,eess2),(LOW * 0.94),''),COLORYELLOW;
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
eess3:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
eess4:=BARSLAST(BB);
eess3B:=BARSLAST(eess3);
eess5:=((eess4 = 0) AND (REF(eess3B,1) < REF(eess4,1)));
eess5B:=BARSLAST(eess5);
eess6:=((((BB = 1) AND (eess5B < eess3B)) AND (eess5B > 0)) AND (COUNT(BB,eess3B) < 3));
eess6B:=BARSLAST(eess6);
B3:=((((BB = 1) AND (eess6B < eess5B)) AND (COUNT(BB,eess3B) < 4)) AND (COUNT(BB,eess3B) > 2));
K:=(C+H+L)/3;
D:=MA(K,4);
eess7:HHV(D,13),COLORRED,LINETHICK2;
eess8:HHV(D,55),COLORRED;
eess9:LLV(D,8),COLORYELLOW,LINETHICK2;
eessw:HHV(H*0.98,55),COLORYELLOW;
DRAWTEXT(REF(C,1)>D AND C<D AND D>REF(D,1),H*1.02, '');
DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98, ''),COLORWHITE;