分时高低点 源码

2013-02-07 10:19:00来源:本站整理浏览:1709

日时转换:=IF(PERIOD=5,120,240);
QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;
VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;
VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);
DRAWBAND(VAR1,RGB(250,30,30),EMA(VAR1,60),RGB(30,210,30));
牵引线:=VAR1,COLORYELLOW;
强弱线:EMA(VAR1,日时转换),POINTDOT,COLORWHITE;
趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;
冲击量:=IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW;
强势区:=IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED;
止损区:=IF(VAR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN;
STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF;
STICKLINE(冲击量=1,QZS,VAR1,1,0),COLORYELLOW;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
MA30:=EMA(CLOSE,30);
强弱:=EMA(CLOSE,900);
{STICKLINE((MA30>强弱),MA30,强弱,1,0),COLORRED;
STICKLINE((MA30<强弱),MA30,强弱,1,0),COLORBLUE;}
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00;
支撑:L1+P1*0.5/8,COLOR00DD00;
现价:CLOSE,COLORWHITE,LINETHICK4;
{DRAWICON(趋势关注=1,支撑,13);
DRAWTEXT(量价关注=1,支撑,'*量价关注'),COLORWHITE;}
{分时突破}
分时顶:=HHV(H,480),COLORRED,LINETHICK2;

W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
均线5:=MA(C,5)LINETHICK1,COLORCYAN;
均价线:=SUM(C*V,240)/SUM(V,240),COLORYELLOW;
分时压力:=MA(REF(HHV(C,30),1),2),COLORMAGENTA;
分时支撑:=MA(REF(LLV(C,30),1),2),COLORBLUE;
{DRAWICON(W4 AND COUNT(W4,5)=1,分时压力,9); }
STICKLINE(FILTER(CROSS(C,REF(分时顶,1)),10) AND C>REF(分时顶,1),支撑,C,4,0),COLORMAGENTA;
{短突破}
MAA:=MA(C,3);
MAB:=MA(C,8);
生命线:=SUM(VOL*(O+C)/2,88)/SUM(VOL,88),COLORFF80FF,LINETHICK1;
持股线:HHV(MA(C,18),2),COLORWHITE,LINETHICK1;
分离线:IF(MA(C,18)<持股线,(MA(C,18)-(持股线-MA(C,18))),持股线),COLORGREEN,LINETHICK1;
MA18:MA(C,18),LINETHICK1,COLORYELLOW;
{STICKLINE((持股线 >分离线),分离线,持股线*1.001,8, 0)COLORLIGREEN;}
DRAWBAND(分离线,RGB(255,255,0),持股线,RGB(0,255,255));
持股线1:HHV(MA(C,18),2),COLORYELLOW,LINETHICK1;
 


 


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式