同花顺空中加油主图源码介绍
同花顺空中加油主图源码
MA5:MA(CLOSE,5),COLORGRAY;
MA20:MA(CLOSE,20),COLORRED;
MA25:MA(CLOSE,25),COLORGREEN;
MA30:MA(CLOSE,30),COLORLIBLUE;
STICKLINE(C>O AND C=H AND C<REF(C,1)*1.098,CLOSE,OPEN,7,0),COLORRED;
STICKLINE(C>O AND C=H AND C>REF(C,1)*1.098,CLOSE,O ,7,0),COLORYELLOW;
STICKLINE(C>O AND C<H AND H>REF(C,1)*1.098,(CLOSE+OPEN)/2,OPEN,7,0),COLORYELLOW;
DRAWTEXT(MA20>REF(MA20,1) AND HHV(C,10)*0.9>C AND CROSS(C,MA5) AND (CROSS(C,MA20) OR CROSS(C,MA25)) AND C>REF(C,1)*1.05,L*0.95,'龙回头');
一阳穿3线:=C>O AND MA5>REF(MA5,1) AND L<MA5 AND L<MA20 AND H>MA5 AND H>MA20 AND MA20>=REF(MA20,1),NODRAW;
DRAWICON(一阳穿3线>0,L,1);
二五日线买点:=C>O AND L<MA25 AND MA5>MA25 AND C>MA5 AND MA25>REF(MA25,1) AND MA20>REF(MA20,1),NODRAW;
DRAWICON(二五日线买点>0,L,1);
gd40720