量学分时主图---3121位主图(通达信公式 分时主图 测试图 源码)

[复制链接]
查看52 | 回复0 | 2022-6-27 19:36:11 | 显示全部楼层 |阅读模式

 {出现红色箭头表示个股上穿黄金线,可关注。出现红钻石表示放量上穿黄金线,可关注。上穿后回踩

不破红色前高线就是您建仓的时机。遇到大盘强势,出信号就可以小小建仓,弱势还是等待回踩不破再建仓。如果 跌破红色线可以放弃。出现绿色箭头跑,出现绿色钻石
 拼命跑};

 
{MKJS}
 
CC:REF(CLOSE,1);
OO:REF(OPEN,1);
HH:REF(HIGH,1);
LL:REF(LOW,1);
 
 
{3121位主图}
{量学分时主图  分析家公式网WWW.70822.COM}

HH:="MKJS.HH#DAY";
LL:="MKJS.LL#DAY";
CC:="MKJS.CC#DAY";
OO:="MKJS.OO#DAY";
鼎诚工作室:DRAWNULL,NODRAW;
H1:HH,COLORRED,LINETHICK3;
L1:LL,COLORLIGREEN;
C1:MAX(CC,OO),COLORMAGENTA,DOTLINE;
C2:MIN(CC,OO),DOTLINE,COLORCYAN,LINETHICK3;
ZT:=CC*1.1;
G1:(ZT-HH)*0.382+HH,COLORYELLOW,DOTLINE;
DT:=CC*0.9;
DD:(LL-DT)*0.680+DT,COLORWHITE,DOTLINE;
分时均价:=SUM(V*C,0)/SUM(V,0),COLORYELLOW,DOTLINE;
A1:=C>=H1;
A2:=C<H1 AND C>=C1;
A3:=C<C1 AND C>=C2;
A4:=C<C2 AND C>=LL;
A5:=C<LL;
B1:=REF(C,1)<H1 AND C>=H1 AND VOL>=REF(VOL,1);
B2:=REF(C,1)<H1 AND C>=H1 AND VOL<REF(VOL,1);
B3:=REF(C,1)>H1 AND C<=H1 AND VOL>=REF(VOL,1);
B4:=REF(C,1)>H1 AND C<=H1 AND VOL<REF(VOL,1);
D1:=REF(C,1)<C1 AND C>=C1 AND VOL>=REF(VOL,1);
D2:=REF(C,1)<C1 AND C>=C1 AND VOL<REF(VOL,1);
D3:=REF(C,1)>C1 AND C<=C1 AND VOL>=REF(VOL,1);
D4:=REF(C,1)>C1 AND C<=C1 AND VOL<REF(VOL,1);
E1:=REF(C,1)<C2 AND C>=C2 AND VOL>=REF(VOL,1);
E2:=REF(C,1)<C2 AND C>=C2 AND VOL<REF(VOL,1);
E3:=REF(C,1)>C2 AND C<=C2 AND VOL>=REF(VOL,1);
E4:=REF(C,1)>C2 AND C<=C2 AND VOL<REF(VOL,1);
F1:=REF(C,1)<LL AND C>=LL AND VOL>=REF(VOL,1);
F2:=REF(C,1)<LL AND C>=LL AND VOL<REF(VOL,1);
F3:=REF(C,1)>LL AND C<=LL AND VOL>=REF(VOL,1);
F4:=REF(C,1)>LL AND C<=LL AND VOL<REF(VOL,1);
DRAWTEXT_FIX(A1 AND ISLASTBAR,0.004,0.002,0,'【强势】'),COLORRED;
DRAWTEXT_FIX(A2 AND ISLASTBAR,0.004,0.002,0,'【强】'),COLORMAGENTA;
DRAWTEXT_FIX(A3 AND ISLASTBAR,0.004,0.002,0,'【一般】'),COLORYELLOW;
DRAWTEXT_FIX(A4 AND ISLASTBAR,0.004,0.002,0,'【弱】'),COLORCYAN;
DRAWTEXT_FIX(A5 AND ISLASTBAR,0.004,0.002,0,'【弱势】'),COLORGREEN;
DRAWTEXT_FIX((B1 OR D1 OR E1 OR F1)AND ISLASTBAR,0.5,0.75,0,'【放量突破】'),COLORRED;
DRAWTEXT_FIX((B2 OR D2 OR E2 OR F2)AND ISLASTBAR,0.5,0.75,0,'【缩量突破】'),COLORYELLOW;
DRAWTEXT_FIX((B3 OR D3 OR E3 OR F3)AND ISLASTBAR,0.5,0.75,0,'【放量跌破】'),COLORGREEN;
DRAWTEXT_FIX((B4 OR D4 OR E4 OR F4)AND ISLASTBAR,0.5,0.75,0,'【缩量跌破】'),COLORCYAN;
T:=VARCAT(VARCAT('昨高:',VAR2STR(HH,2)),'元');
T1:=VARCAT(VARCAT('昨低:',VAR2STR(LL,2)),'元');
T2:=VARCAT(VARCAT('昨收:',VAR2STR(CC,2)),'元')COLORCYAN;
T3:=VARCAT(VARCAT('昨开:',VAR2STR(OO,2)),'元');
T4:=VARCAT(VARCAT('压力位:',VAR2STR(G1,2)),'元');
T5:=VARCAT(VARCAT('止损价:',VAR2STR(DD,2)),'元');
DRAWTEXT_FIX(ISLASTBAR,0.5,0.95,0,T),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.95,0,T1),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR AND CC>=OO,0.7,0.95,0,T2),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR AND CC<OO,0.7,0.95,0,T2),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR AND CC>=OO,0.8,0.95,0,T3),COLOR0033CC;
DRAWTEXT_FIX(ISLASTBAR AND CC<OO,0.8,0.95,0,T3),COLOR0033CC;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.89,0,T4),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.89,0,T5),COLORWHITE;
DRAWTEXT(ISLASTBAR,HH*1.001,'昨高'),COLORRED;
DRAWTEXT(ISLASTBAR,LL*1.001,'昨低'),COLORGREEN;
DRAWTEXT(ISLASTBAR,MAX(CC,OO)*1.001,'昨开'),COLOR0033CC;
DRAWTEXT(ISLASTBAR,MIN(CC,OO)*1.001,'昨收'),COLORCYAN;
DRAWTEXT(ISLASTBAR,G1*1.001,'压力位'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,DD*1.001,'止损位'),COLORWHITE;
TJ1:=CURRBARSCOUNT=CONST(BARSSINCE(CROSS(C,G1) AND V>REF(V,1)))+1;
TJ2:=CURRBARSCOUNT=CONST(BARSSINCE(CROSS(C,G1)))+1;
TJ3:=CURRBARSCOUNT=CONST(BARSSINCE(CROSS(DD,C) AND V>REF(V,1)))+1;
TJ4:=CURRBARSCOUNT=CONST(BARSSINCE(CROSS(DD,C)))+1;
DRAWICON(TJ1,G1,25);
DRAWICON(TJ2,G1,1);
DRAWICON(TJ3,DD,24);
DRAWICON(TJ4,DD,2);
{ 分析家公式网WWW.70822.COM}
T6:=VARCAT(VARCAT('昨二一位:',VAR2STR((CC+OO)/2,2)),'元');
DRAWTEXT_FIX(ISLASTBAR,0.7,0.89,0,T6),COLORMAGENTA;
H2:(MAX(CC,OO)-MIN(CC,OO))*2/3+MIN(CC,OO),COLORMAGENTA,DOTLINE;
DRAWTEXT(ISLASTBAR,H2,VARCAT(VARCAT('昨三一位:',VAR2STR(H2,2)),'元'))COLORYELLOW;
H3:(CC+OO)/2,COLORMAGENTA,DOTLINE;
DRAWTEXT(ISLASTBAR,H3,VARCAT(VARCAT('昨二一位:',VAR2STR(H3,2)),'元'))COLORMAGENTA;
H5:(MAX(OO,CC)-MIN(OO,CC))/3+MIN(OO,CC),COLORMAGENTA,DOTLINE;
DRAWTEXT(ISLASTBAR,H5,VARCAT(VARCAT('昨三二位:',VAR2STR(H5,2)),'元'))COLORYELLOW;
均价:=SUM(AMOUNT,0)/SUM(V,0)/100,COLORYELLOW;
前高:HHV(H,0),DOTLINE,COLORCYAN;
DRAWTEXT(ISLASTBAR,前高,VARCAT(VARCAT('前峰',VAR2STR(前高,2)),'元'))COLORMAGENTA;
 
 

p201911923241486303.jpg

p201911923241486303.jpg

201911923242036269.rar

5.41 KB, 下载次数: 0

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

201911923242036269.rar

回复

使用道具 举报

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

本版积分规则