以下是通达信短中长进货主图源码(无源码的请下载附件导入)
通达信指标:短中长进货主图
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
MA5:MA(CLOSE,120);
MA6:MA(CLOSE,240);
DRAWTEXT(COUNT(MA1>=REF(MA1,1),20)<3 AND MA1>=REF(MA1,1),L,'短线进货'),COLORMAGENTA;
DRAWTEXT(COUNT(MA3>=REF(MA3,1),20)<3 AND MA3>=REF(MA3,1),L,'中线进货'),COLORMAGENTA;
DRAWTEXT(COUNT(MA4>=REF(MA4,1),20)<3 AND MA4>=REF(MA4,1),L,'长线进货'),COLORMAGENTA;
72144741.jpg
|