专用分时


时间:=TIME=100000;
 N:=BARSLAST(时间),COLOR808080;
 常数:CONST(IF(N=0,C,REF(C,N))),COLOR808080,DOTLINE;
 CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N))),COLOR808080;
 CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))),COLOR808080;
 STICKLINE(时间=1,CS1,CS2,-1,0),COLOR808080;

MA30:=EMA(CLOSE,30);
 H1:=MAX(DYNAINFO(3),DYNAINFO(5));
 L1:=MIN(DYNAINFO(3),DYNAINFO(6));
 P1:=H1-L1;
 阻力:L1+P1*7/8,COLORFFFF00,DOTLINE;
  DRAWTEXT(CURRBARSCOUNT=1,阻力,'阻力'),COLOR00FFFF;
 支撑:L1+P1*0.5/8,COLOR0000FF,DOTLINE;
 DRAWTEXT(CURRBARSCOUNT=1,支撑,'支撑'),COLOR00FFFF;

现价:=CLOSE,COLORWHITE,LINETHICK1;
 日时转换:=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(150,30,30),EMA(VAR1,60),RGB(0,110,30));
牵引线:VAR1,COLORC0C0C0;
 强弱线:EMA(VAR1,日时转换)NODRAW,COLOR5353FF;
 趋势关注: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,0,0),COLORMAGENTA;
 STICKLINE(冲击量=1,QZS,VAR1,0,0),COLOR9797FF;
 STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLOR0080FF;
 DRAWKLINE(H,O,L,C);
 DRAWICON(LONGCROSS(支撑,现价,2),L,1),COLOR0080FF;{吸}
 DRAWICON(LONGCROSS(现价,阻力,2),H,2),COLORGREEN;{抛};

 
均价:SUM(V*C,0)/SUM(V,0),COLOR004080,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORFFFFFF,LINETHICK2;

 最新:C,LINETHICK9,COLORFFFF00;
 IF(C>=REF(C,1),C,DRAWNULL),LINETHICK9,COLORRED;
 AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
 BB:=BETWEEN(C/AA,C+H,C-H);
 DRAWICON(ISLASTBAR AND C>REF(C,1),C,1);
 DRAWICON(ISLASTBAR AND C<REF(C,1),C,2);


{分时突破}
分时顶:=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)NODRAW,COLORFF00FF;
 
{短突破}
MAA:=MA(C,3);
MAB:=MA(C,8);
生命线:=SUM(VOL*(O+C)/2,88)/SUM(VOL,88),COLORFF80FF;
持股线:HHV(MA(C,18),2),COLOR8888FF;
分离线:IF(MA(C,18)<持股线,(MA(C,18)-(持股线-MA(C,18))),持股线),COLOR6F6F00;
MA18:MA(C,18),LINETHICK9,COLOR00FFFF;
{STICKLINE((持股线 >分离线),分离线,持股线*1.001,8, 0),COLOR6F6F00;}
DRAWBAND(分离线,RGB(255,255,0),持股线,RGB(28,134,238));
持股线1:HHV(MA(C,18),2),POINTDOT,COLOR00FFFF,LINETHICK9;





未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图