很好用的分时主图 分享给大家
源码
N:=31; K:=3; MA30:=EMA(CLOSE,30); 强弱:EMA(CLOSE,900); STICKLINE((MA30>强弱),MA30,强弱,1,0),COLORRED; STICKLINE((MA30<强弱),MA30,强弱,1,0),COLORGREEN; {www.qill.cnSTICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF; STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;} DRAWICON(CROSS(MA30,强弱),H,23); H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:L1+P1*7/8,COLORYELLOW; 支撑:L1+P1*0.5/8,COLORBLUE; {www.qill.cn阻力:L1+P1*7/8,COLOR00DD00; 支撑:L1+P1*0.5/8,COLOR00DD00;} 现价:CLOSE,COLORWHITE,LINETHICK2; {www.qill.cnIF(现价>阻力*0.9,阻力,DRAWNULL),COLOR0000FF,LINETHICK2;} STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW; DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★B'),COLORYELLOW;{www.qill.cn吸} DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★S'),COLORRED;{www.qill.cn抛}; 均线:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)), 1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW; 均线H:(均线*1.007 ),COLORFF6600; 均线L:(均线/1.005 ),COLOR00FF00; 均线横盘:=C<均线H AND C>均线L; STICKLINE(均线横盘,均线L,均线,3,0),COLORYELLOW; 放量:=SUM(VOL,6)>REF(MA(VOL,30),1)*10; 横盘:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)<1; 横涨:=横盘 AND 放量 AND (C>均线H); 横跌:=横盘 AND 放量 AND CROSS(均线L,C) ; 突破:=FILTER(横涨,100); 下破:=FILTER(横跌,50); DRAWTEXT(突破,均线H,'★突破'),COLORFF00FF; STICKLINE(突破>0,支撑,阻力,2,0),COLORRED; JX:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)), 1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
很好用的分时主图 分享给大家
源码
N:=31;
K:=3;
MA30:=EMA(CLOSE,30);
强弱:EMA(CLOSE,900);
STICKLINE((MA30>强弱),MA30,强弱,1,0),COLORRED;
STICKLINE((MA30<强弱),MA30,强弱,1,0),COLORGREEN;
{www.qill.cnSTICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;
STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;}
DRAWICON(CROSS(MA30,强弱),H,23);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLORYELLOW;
支撑:L1+P1*0.5/8,COLORBLUE;
{www.qill.cn阻力:L1+P1*7/8,COLOR00DD00;
支撑:L1+P1*0.5/8,COLOR00DD00;}
现价:CLOSE,COLORWHITE,LINETHICK2;
{www.qill.cnIF(现价>阻力*0.9,阻力,DRAWNULL),COLOR0000FF,LINETHICK2;}
STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★B'),COLORYELLOW;{www.qill.cn吸}
DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★S'),COLORRED;{www.qill.cn抛};
均线:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),
1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;
均线H:(均线*1.007 ),COLORFF6600;
均线L:(均线/1.005 ),COLOR00FF00;
均线横盘:=C<均线H AND C>均线L;
STICKLINE(均线横盘,均线L,均线,3,0),COLORYELLOW;
放量:=SUM(VOL,6)>REF(MA(VOL,30),1)*10;
横盘:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)<1;
横涨:=横盘 AND 放量 AND (C>均线H);
横跌:=横盘 AND 放量 AND CROSS(均线L,C) ;
突破:=FILTER(横涨,100);
下破:=FILTER(横跌,50);
DRAWTEXT(突破,均线H,'★突破'),COLORFF00FF;
STICKLINE(突破>0,支撑,阻力,2,0),COLORRED;
JX:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),
1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;