超级博弈舟通达信公式 副图 源码附图 需要L2才可以显示

超B:=L2_AMO(0,2)/10000;
大B:=L2_AMO(1,2)/10000;
中B:=L2_AMO(2,2)/10000;
小B:=L2_AMO(3,2)/10000;
超S:=L2_AMO(0,3)/10000;
大S:=L2_AMO(1,3)/10000;
中S:=L2_AMO(2,3)/10000;
小S:=L2_AMO(3,3)/10000;
主买A:=ACTINVOL;
主卖A:=ACTOUTVOL;
主买:=主买A*100/(主买A+主卖A);
主卖:=主卖A*100/(主买A+主卖A);
SAT:=AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20));
【量能饱和】:IF(SAT>1,1,SAT)*100,NODRAW,COLORYELLOW;
主力净买量:=LARGEINTRDVOL-LARGEOUTTRDVOL;
大宗净流入:=超B+大B-(超S+大S);
主动买卖差:=ACTINVOL-ACTOUTVOL;
主力资金差:=(L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1))/10000;
TDXSTEP150:DRAWRECTREL(100,0,390,40,RGB(95,95,0));
TDXSTEP151:DRAWRECTREL(100,0,90+CONST(主买*300/100),40,RGB(250,85,0));
TDXSTEP152:DRAWRECTREL(100,60,390,100,RGB(50,50,0));
TDXSTEP153:DRAWRECTREL(100,60,90+CONST(主卖*300/100),100,RGB(55,165,0));
TDXSTEP154:DRAWRECTREL(100,120,390,160,RGB(30,99,20));
TDXSTEP155:DRAWRECTREL(100,120,90+CONST(【量能饱和】*300/100),160,RGB(250,0,0));
大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
T1:=IF(大单动向>0 AND REF(大单动向,1)<0,1,0);{股票指标网}
T2:=IF(大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)<0,2,T1);
T3:=IF(大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)<0,3,T2);
T4:=IF(大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)<0,4,T3);
T5:=IF(大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)<0,5,T4);
T6:=IF(大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)<0,6,T5);
T7:=IF(大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)<0,7,T6);
T8:=IF(大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)<0,8,T7);
T9:=IF(大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)>0 AND REF(大单动向,9)<0,9,T8);
T:=IF(大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)>0 AND REF(大单动向,9)>0,10,T9);
D:=COUNT(大单动向>0,10);{股票指标网}
TDXSTEP156:DRAWTEXT_FIX(1,0.005,0.01,0,STRCAT(STRCAT(11,CON2STR(主买,2)),12)),COLORYELLOW;
TDXSTEP157:DRAWTEXT_FIX(1,0.005,0.07,0,STRCAT(STRCAT(13,CON2STR(主卖,2)),12)),COLORGREEN;
TDXSTEP158:DRAWTEXT_FIX(1,0.005,0.13,0,STRCAT(STRCAT(14,CON2STR(【量能饱和】,2)),12)),COLORYELLOW;
TDXSTEP159:DRAWTEXT_FIX(1,0.005,0.19,0,STRCAT(STRCAT(15,CON2STR(主力资金差,2)),16)),COLORYELLOW;
TDXSTEP160:DRAWTEXT_FIX(1,0.2,0.19,0,STRCAT(STRCAT(17,CON2STR(大宗净流入,2)),16)),COLORYELLOW;
TDXSTEP161:DRAWTEXT_FIX(1,0.005,0.25,0,STRCAT(STRCAT(18,CON2STR(主力净买量,2)),19)),COLORYELLOW;
TDXSTEP162:DRAWTEXT_FIX(1,0.2,0.25,0,STRCAT(STRCAT(20,CON2STR(主动买卖差,2)),19)),COLORYELLOW;
TDXSTEP163:DRAWTEXT_FIX(1,0.005,0.31,0,STRCAT(STRCAT(21,CON2STR(T,0)),22)),COLORYELLOW;
TDXSTEP164:DRAWTEXT_FIX(1,0.2,0.31,0,STRCAT(STRCAT(23,CON2STR(D,0)),22)),COLORYELLOW;
PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2));
ZLL:=VOL/CAPITAL;
HSL1:=IF(ZLL>10,10,ZLL);
HSL:=XVL/20/1.15;
攻击流量:=HSL*0.55+REF(HSL,1)*0.33+REF(HSL,2)*0.22;
GJJ:=EMA(攻击流量,8);
LLJX:=EMA(攻击流量,3);
TDXSTEP165:STICKLINE(HSL*0.4>=0,HSL*0.4+LLJX,0,3,0),COLORYELLOW;
TDXSTEP166:STICKLINE(HSL*0.4<0,HSL*0.4+LLJX,0,3,0),COLORGREEN;
资金流入:=IF(HSL*0.4+LLJX>0,HSL*0.4+LLJX,DRAWNULL);
资金流出:=IF(HSL*0.4+LLJX<0,HSL*0.4+LLJX,DRAWNULL);
资金进出:=HSL*0.4+LLJX;
万元:=AMOUNT/10000;
{股票指标网}
资金净进出:IF(HSL*0.4+LLJX>0,资金流入,资金流出),POINTDOT,COLORWHITE;
进出比例%:IF(HSL*0.4+LLJX>0,资金流入/万元*100,资金流出/万元*100),COLORYELLOW;
连红天1:=BARSLASTCOUNT(资金净进出>0);
连红天2:=IF(连红天1=0,REF(连红天1,1),连红天1);
连红天3:=IF(连红天2=0,REF(连红天1,2),连红天2);
连红天4:=IF(连红天3=0,REF(连红天1,3),连红天3);
近期连红天:IF(连红天4=0,REF(连红天1,4),连红天4),NODRAW,COLORYELLOW;
最多连红天1:=MAX(REF(近期连红天,1),近期连红天);
最多连红天2:=MAX(最多连红天1,REF(近期连红天,2));
最多连红天3:=MAX(最多连红天2,REF(近期连红天,3));
最多连红天4:=MAX(最多连红天3,REF(近期连红天,4));
最多连红天5:=MAX(最多连红天4,REF(近期连红天,5));
最多连红天:MAX(最多连红天5,REF(近期连红天,6)),NODRAW,COLORYELLOW;
三日资金:SUM(资金进出,3),NODRAW,COLORWHITE;
五日资金:SUM(资金进出,5),NODRAW,COLORMAGENTA;
十日资金:SUM(资金进出,10),NODRAW,COLORRED;
资金流量:=LLJX;
TDXSTEP167:STICKLINE(资金流量>0,资金流量,0,3,0),COLORRED;
TDXSTEP168:STICKLINE(资金流量<0,资金流量,0,3,0),COLORFF3300;
黄柱初出蓝:=REF(资金流出,1)<0 AND 资金流入>30 AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE>MA(CLOSE,3);
X:=(3*CLOSE+2*LOW+OPEN+HIGH)/7;
多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+REF(X,20))/210;
长黄柱:=资金流入>300 AND CROSS(CLOSE,多空线);
TDXSTEP169:DRAWTEXT(黄柱初出蓝,(-30),24),COLORMAGENTA;
TDXSTEP170:DRAWTEXT(长黄柱,HSL*0.4*1.5*1.4,24),COLORRED;
 



未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:FINANCE
该公式包含未来函数:DVOL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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