苏北深 发表于 2023-4-21 15:38:07

通达信指标公式源码盈亏筹码副图指标




获利筹码:EMA(WINNER(C)*70,5),COLORRED;

亏损筹码:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),COLORF0FF00;

STICKLINE(亏损筹码>0,0,亏损筹码,5,0),COLOR66FF00;

STICKLINE(亏损筹码>0,0,亏损筹码*0.9,5,0),COLOR66EE00;

STICKLINE(亏损筹码>0,0,亏损筹码*0.85,5,0),COLOR66DD00;

STICKLINE(亏损筹码>0,0,亏损筹码*0.8,5,0),COLOR66CC00;

STICKLINE(亏损筹码>0,0,亏损筹码*0.75,5,0),COLOR66BB00;

STICKLINE(亏损筹码>0,0,亏损筹码*0.7,5,0),COLOR66AA00;

STICKLINE(亏损筹码>0,0,亏损筹码*0.65,5,0),COLOR669900;

STICKLINE(亏损筹码>0,0,亏损筹码*0.6,5,0),COLOR668800;

STICKLINE(亏损筹码>0,0,亏损筹码*0.55,5,0),COLOR667700;

STICKLINE(亏损筹码>0,0,亏损筹码*0.5,5,0),COLOR666600;

STICKLINE(亏损筹码>0,0,亏损筹码*0.45,5,0),COLOR665500;

STICKLINE(亏损筹码>0,0,亏损筹码*0.4,5,0),COLOR664400;

STICKLINE(亏损筹码>0,0,亏损筹码*0.35,5,0),COLOR663300;

STICKLINE(亏损筹码>0,0,亏损筹码*0.3,5,0),COLOR662200;

STICKLINE(亏损筹码>0,0,亏损筹码*0.25,5,0),COLOR661100;

STICKLINE(亏损筹码>0,0,亏损筹码*0.2,5,0),COLOR660000;

主力控筹:IF(获利筹码>亏损筹码,获利筹码*2,获利筹码),COLORRED;

STICKLINE(主力控筹>0,0,主力控筹,5,0),COLORFFFFFF;

STICKLINE(主力控筹>0,0,主力控筹*0.9,5,0),COLOREEEEEE;

STICKLINE(主力控筹>0,0,主力控筹*0.85,5,0),COLORDDDDDD;

STICKLINE(主力控筹>0,0,主力控筹*0.8,5,0),COLORCCCCCC;

STICKLINE(主力控筹>0,0,主力控筹*0.75,5,0),COLORBBBBBB;

STICKLINE(主力控筹>0,0,主力控筹*0.7,5,0),COLORAAAAAA;

STICKLINE(主力控筹>0,0,主力控筹*0.65,5,0),COLOR999999;

STICKLINE(主力控筹>0,0,主力控筹*0.6,5,0),COLOR888888;

STICKLINE(主力控筹>0,0,主力控筹*0.55,5,0),COLOR777777;

STICKLINE(主力控筹>0,0,主力控筹*0.5,5,0),COLOR666666;

STICKLINE(主力控筹>0,0,主力控筹*0.45,5,0),COLOR555555;

STICKLINE(主力控筹>0,0,主力控筹*0.4,5,0),COLOR444444;

STICKLINE(主力控筹>0,0,主力控筹*0.35,5,0),COLOR333333;

STICKLINE(主力控筹>0,0,主力控筹*0.3,5,0),COLOR222222;

STICKLINE(主力控筹>0,0,主力控筹*0.25,5,0),COLOR111111;

STICKLINE(主力控筹>0,0,主力控筹*0.2,5,0),COLOR000000;

STICKLINE(获利筹码>0,0,获利筹码,5,0),COLORFFFFFF;

STICKLINE(获利筹码>0,0,获利筹码*0.9,5,0),COLOREEEEFF;

STICKLINE(获利筹码>0,0,获利筹码*0.85,5,0),COLORDDDDFF;

STICKLINE(获利筹码>0,0,获利筹码*0.8,5,0),COLORCCCCFF;

STICKLINE(获利筹码>0,0,获利筹码*0.75,5,0),COLORBBBBFF;

STICKLINE(获利筹码>0,0,获利筹码*0.7,5,0),COLORAAAAFF;

STICKLINE(获利筹码>0,0,获利筹码*0.65,5,0),COLOR9999FF;

STICKLINE(获利筹码>0,0,获利筹码*0.6,5,0),COLOR8888FF;

STICKLINE(获利筹码>0,0,获利筹码*0.55,5,0),COLOR7777FF;

STICKLINE(获利筹码>0,0,获利筹码*0.5,5,0),COLOR6666FF;

STICKLINE(获利筹码>0,0,获利筹码*0.45,5,0),COLOR5555FF;

STICKLINE(获利筹码>0,0,获利筹码*0.4,5,0),COLOR4444FF;

STICKLINE(获利筹码>0,0,获利筹码*0.35,5,0),COLOR3333FF;

STICKLINE(获利筹码>0,0,获利筹码*0.3,5,0),COLOR2222FF;

STICKLINE(获利筹码>0,0,获利筹码*0.25,5,0),COLOR1111FF;

STICKLINE(获利筹码>0,0,获利筹码*0.2,5,0),COLOR0000FF;

AI:=AMOUNT/VOL/100;

C0:=REF(C,2)*0.865;

C1:=REF(C,13)*0.772;

DSY:=100*VOL/CAPITAL;

抄底:IF((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,100, 0),COLOR00FF00;

STICKLINE(抄底,0,30,4,0),COLORFFFFFF;

动态底部:EMA(IF(L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3)*10,STICK,COLORYELLOW,LINETHICK2;

SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);

STICKLINE(((CLOSE > 0) AND DAY=2),20,121,40,1),COLORFFFFFF;

STICKLINE(((SAT <= 5) AND DAY=2),21,(20 + SAT),35,0),COLORFFFFFF;

STICKLINE((((SAT > 5) AND (SAT <= 20)) AND DAY=2),21,(20 + SAT),35,0),COLORCCFF88;

STICKLINE((((SAT > 20) AND (SAT <= 40)) AND DAY=2),21,(20 + SAT),35,0),COLORFF00FF;

STICKLINE(((SAT > 40) AND DAY=2),21,(20 + SAT),35,0),COLOR0000FF;

主力筹码:EMA(WINNER(CLOSE)*70,10),COLORWHITE;

小股民筹码:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,10),COLOR00FF00;

STICKLINE(主力筹码>小股民筹码, 主力筹码,小股民筹码,5,0),COLOR0AF5EF;

STICKLINE(主力筹码<小股民筹码, 主力筹码,小股民筹码,5,0),COLOR00FF00;

风险提示:本指标公式仅作为知识分享,不构成任何投资建议,不作投资依据。


心清目明噶 发表于 2023-5-5 12:58:14

谢谢了呀,辛苦了呀,支持呀!

上海杂种谷 发表于 2023-5-6 13:10:42

帮顶!

武珍美迅 发表于 2023-5-10 22:24:14

如果想获取全部资源,怎么操作?

xinyu621024 发表于 2023-6-16 09:12:48

不知该说些什么。。。。。。就是谢谢

123459028 发表于 2023-6-22 15:56:44

这里资源很丰富啊

苏麒麟麒q 发表于 2023-7-11 17:26:19

无量天尊!

梦语曦曦s 发表于 2023-7-30 18:53:54

感谢分享好资源

遨瀚 发表于 2023-8-3 05:01:24

厉害了!

且听风吟836 发表于 2023-8-3 11:33:08

多谢分享下载收藏了
页: [1] 2
查看完整版本: 通达信指标公式源码盈亏筹码副图指标