分时主图持股

[复制链接]
查看46 | 回复0 | 2022-6-28 01:29:44 | 显示全部楼层 |阅读模式

 DRAWGBK(1,RGB(0,0,0),RGB(0,0,0),0,'629',0); 

时间:=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,COLORFF75BA,DOTLINE;
  DRAWTEXT(CURRBARSCOUNT=1,阻力,'阻力'),COLORB9B9FF;
 支撑: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),COLORBBBB00;{抛};
均价: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),COLORB9B9FF; 
分时支撑:=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;
TT:=BARSCOUNT(C);
ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
均线:=IF(ZZ1=0,MA(C,TT),ZZ);
上均:=均线 + AVEDEV(C,TT)*2;
下均:=均线 - AVEDEV(C,TT)*2;
(上均,下均,下均, RGB(32,32,40));
资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;
资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;
资金出入:=资金流入+资金流出,COLORSTICK;
资金流量:=资金出入,COLORFFFFFF,LINETHICK1;
资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;
资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));
增强流量比:=IF(资金流量比>50,资金流量比,50);
攻击量:=((HSL*0.50+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;
攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;
攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;
攻击流量:=攻击量A+攻击量B,COLORSTICK;
NOTEXT攻击线:=攻击流量,COLORYELLOW,LINETHICK1;
攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;
资金攻击度:=IF(攻击比>0,(攻击比+50),100-ABS((攻击比-50)));
攻击度限制:=IF(资金攻击度>100,100,IF(资金攻击度<0,0,资金攻击度));
增强攻击度:=IF(资金攻击度>50,资金攻击度,50);
开始攻击:=CROSS(攻击流量,0) AND (C>REF(C,2) OR (资金流量>0 AND 资金流量>攻击流量));
开始攻击量:=CROSS(攻击流量,0) AND C>REF(C,2) AND V>LLV(V,3)*3;
Q:=250;
高点:=HHV(C,Q);
低点:=LLV(C,Q);
最高:=CONST(高点),NODRAW;
最低:=CONST(低点),NODRAW;
轴差:=最高-最低;
中价轴:=(最高+最低)/2;
HL3:=(100-0)/2*1.3;
HL4:=(100-0)/1*1.3;
中间价轴:=(50-HL3)*轴差/HL4+中价轴;
平安轴:=(中价轴+中间价轴)/2;
BGTYU:=IF(DATE<=1150530,1,0);
GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);
VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))));
起动线:=EXPMA((CLOSE/VBNH),20)*1,COLORYELLOW,POINTDOT;
主力线:=EXPMA((CLOSE/VBNH),60)*1,COLORMAGENTA,LINETHICK2;
散户线:=EXPMA((CLOSE/VBNH),120)*1,COLORGREEN,LINETHICK2;
限制起动线:=起动线*中间价轴;
限制主力线:=主力线*中间价轴;
限制散户线:=散户线*中间价轴;
主散MIN:=MIN(限制主力线,限制散户线);
{分时转强:=主散MIN>金龙线 AND ((LONGCROSS(限制主力线,金龙线,2) OR CROSS(限制主力线,限制散户线)) OR (限制主力线>限制散户线 AND LONGCROSS(牵引线,金龙线,2)));}
DRAWBAND(限制主力线,RGB(250,125,0),限制散户线,RGB(0,100,250));
STICKLINE(起动线<主力线,限制起动线,限制主力线,1.0,0),COLOR00FF00;
STICKLINE(起动线>主力线,限制起动线,限制主力线,1.0,0),COLORFFFFFF;
STICKLINE(VOL>EMA(VOL,60) AND 起动线>主力线,限制起动线,限制主力线,1,0),COLORFF00FF;
STICKLINE(VOL>EMA(VOL,30) AND 起动线>主力线 AND 起动线>1.01 AND 起动线>REF(起动线,1),限制起动线,限制主力线,1,0),COLOR00FFFF;
主力:限制主力线,COLORFFFFFF,LINETHICK1;
分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;
追击涨停:=限制散户线>分时均价线 AND CROSS(C,限制散户线);
拉升量:=IF(C>REF(C,1),VOL,0);
昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;
今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORYELLOW,NODRAW;
攻击力度:=今拉升最高值/昨拉升最高值,NODRAW;
TA:=BARSLAST(TIME=100000);
TC:=REF(HHV(C,0),TA+1);
TV:=REF(HHV(V,0),TA+1);
ZF:=C/DYNAINFO(3)<1.05;
XG1:=CROSS(C,TC) AND V>TV AND ZF,COLORWHITE;

p20154170373649278.jpg

p20154170373649278.jpg

20154170372846666.rar

8.09 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

20154170372846666.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则