资金模型副图指标 通达信 贴图 源码 无未来

[复制链接]
查看37 | 回复0 | 2022-7-11 10:13:19 | 显示全部楼层 |阅读模式

20202139573718257.jpg

20202139573718257.jpg



NOTEXT1:0,DOTLINE;
NOTEXT2:150,DOTLINE;
NOTEXT3:300,POINTDOT,COLORWHITE; {资金控盘模型}
VAR1:=EMA(EMA(C,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
VAR2:=控盘-REF(控盘,1);
高度控盘:IF(控盘>REF(控盘,1) AND 控盘>=0 AND V>0,1,0),NODRAW,COLORRED;
平衡控盘:IF(控盘>0 AND 高度控盘==0 AND V>0,1,0),NODRAW,COLORYELLOW;
无序控盘:IF(控盘<0 AND V>0,1,0),NODRAW,COLORCYAN;
VAR3:=EMA(C,34)*0.5234;
控盘曲线:=EMA(EMA(VAR3,2),2);
STICKLINE(高度控盘,300+0,300+ABS(VAR2)*10,2,0),COLORRED;
STICKLINE(平衡控盘,300+0,300+ABS(VAR2)*10,2,0),COLORYELLOW;
STICKLINE(无序控盘,300+0,300-ABS(VAR2)*10,2,0),COLORCYAN;
{资金动力模型}
超B:=L2_AMO(0,2)/1000000;
大B:=L2_AMO(1,2)/1000000;
中B:=L2_AMO(2,2)/1000000;
小B:=L2_AMO(3,2)/1000000;
超S:=L2_AMO(0,3)/1000000;
大S:=L2_AMO(1,3)/1000000;
中S:=L2_AMO(2,3)/1000000;
小S:=L2_AMO(3,3)/1000000;
主力净买:=(超B+大B)-(超S+大S),NODRAW;
正基准线1:=EMA(EMA(EMA(EMA(IF(主力净买>=0,主力净买,0),20),2),2),2);
正基准线6:=正基准线1*6;
负基准线1:=EMA(EMA(EMA(EMA(IF(主力净买<0,主力净买,0),20),2),2),2);
负基准线6:=负基准线1*6;
衰减系数正:=(C-L)/(REF(C,1)-L);
衰减系数负:=(H-C)/(H-REF(C,1));
动力评估:=IF(正基准线1>0 OR 正基准线1<0,IFF(主力净买>=正基准线6,100,IFF(主力净买>=0,100*(主力净买/正基准线6),IFF(主力净买<=负基准线6,-100,(-100)*主力净买/负基准线6))),DRAWNULL);
动力综合值:=IF(动力评估>=0 AND C>=REF(C,1),动力评估*1.0,IFF(动力评估>=0 AND C<REF(C,1),动力评估*衰减系数正,IFF(动力评估<0 AND C>=REF(C,1),动力评估*衰减系数负,IFF(动力评估<0 AND C<REF(C,1),动力评估*1.0,0)))),NODRAW;
资金动力强:IF(动力综合值>50,动力综合值,0),COLORRED,NODRAW;
资金动力中:IF(动力综合值<=50 AND 动力综合值>0,动力综合值,0),COLORYELLOW,NODRAW;
资金动力弱:IF(动力综合值<=0,动力综合值,0),COLORFFFF00,NODRAW;
STICKLINE(动力综合值>50,150+0,150+动力综合值,2,0),COLORRED;
STICKLINE(动力综合值<=50 AND 动力综合值>0,150+0,150+动力综合值,2,0),COLORYELLOW;
STICKLINE(动力综合值<=0,150+0,150+动力综合值,2,0),COLORCYAN;
{主力阵地模型}
VAR11:=REF((L+O+C+H)/4,1);
VAR12:=SMA(ABS(L-VAR11),13,1)/SMA(MAX(L-VAR11,0),10,1);
VAR13:=EMA(VAR12,10);
VAR14:=LLV(L,33);
VAR15:=EMA(IF(L<=VAR14,VAR13,0),3);
主力阵地:IF(VAR15>REF(VAR15,4),1,0),NODRAW,COLORFFFF00;
净买:IF(主力阵地,((超B+大B+中B+小B)-(超S+大S+中S+小S)),0),NODRAW;
主动追价吸筹:IF(主力阵地 AND 净买>0,1,0),NODRAW,COLORRED;
借势打压低吸:IF(主力阵地 AND 净买<=0,1,0),NODRAW,COLORGREEN;
STICKLINE(主力阵地 AND 净买>0,0,净买,2,0),COLORRED;
STICKLINE(主力阵地 AND 净买<=0,0,净买,2,0),COLORGREEN;
 

2020213958379181.rar

3.92 KB, 下载次数: 0

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

2020213958379181.rar

回复

使用道具 举报

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

本版积分规则