通达信【主升AI量化】副图指标 从副图中找寻蛛丝马迹 源码附图

M:=90;
N:=45;
主力仓位%:=100-(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100,NODRAW,COLORYELLOW;
获利1:WINNER(CLOSE*0.9)*100,COLORRED,NODRAW;
浮筹1:(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9)/WINNER(HHV(HIGH,0)))*100,COLORYELLOW,NODRAW;
套牢1:100-浮筹1-获利1,COLORGREEN,NODRAW;
套:STICKLINE(套牢1>0.1,浮筹1+获利1,100,4,0),COLORGREEN;
浮:STICKLINE(浮筹1,获利1,浮筹1+获利1,4,0),COLORYELLOW;
获:STICKLINE(获利1,0,获利1,4,0),COLORMAGENTA;
STICKLINE(获利1>=60,0,获利1,4,0),COLORRED;
筹10:PWINNER(10,C)*100,COLORWHITE,NODRAW;
筹30:PWINNER(30,C)*100,COLORRED,LINETHICK2,NODRAW;
主力:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORLIRED,LINETHICK2,NODRAW;
获利盘:WINNER(CLOSE)*100,COLORRED,NODRAW;
增:获利盘-REF(获利盘,1),NODRAW;
HJ_1:=(WINNER(CLOSE*1.075)-WINNER(CLOSE*0.925))*100;
近邻浮筹:HJ_1/WINNER(HHV(HIGH,0)),COLORYELLOW,NODRAW;
DRAWICON(CROSS(筹30,近邻浮筹),获利盘,1);
纵横:获利盘-近邻浮筹,NODRAW,COLORWHITE;
极强:=90,POINTDOT,COLORBLUE;
强势:=65,POINTDOT,COLORYELLOW;
强弱分界:=50,COLORBLUE;
零位线:=0,COLORBLUE;
主筹估算:=EMA(WINNER(C)*70,3)*C,LINETHICK2,COLORRED;
散筹估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3)*C,LINETHICK1,COLORGREEN;
涨停数:="880006$C",NODRAW;
EE1:=CON2STR(涨停数,0);
EE2:=STRCAT(EE1,' 家');
EE3:=STRCAT('涨停数: ',EE2);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ISLASTBAR,0.11,0.06,0,EE3),COLORRED;
跌停数:="880006$O",NODRAW;
FE1:=CON2STR(跌停数,0);
FE2:=STRCAT(FE1,' 家');
FE3:=STRCAT('跌停数: ',FE2);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND ISLASTBAR,0.21,0.06,0,FE3),COLORBLACK;
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;
吸筹:=IF(VAR8>100,100,VAR8)*VAR1,COLORRED;
庄家吸筹:STICKLINE(吸筹>-150,0,吸筹,8,0),COLORBLACK;
散户:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORFFFF00,LINETHICK1;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
庄家:EMA(J,6),COLORFF00FF,LINETHICK1;
SF:(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100,NODRAW;
ZL:=100-SF;
DRAWNUMBER_FIX(ISLASTBAR AND ZL>0,0.95,0.5,0,ZL),COLORBLACK;
DRAWTEXT_FIX(ZL>0,0.99,0.5,0,'%'),COLORBLACK;



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

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

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