龙听期货论坛's Archiver

龙听 发表于 2018-10-9 15:43

[转载]筹码分布副图(非常不错的通达信版本)

[attach]4460[/attach]

[color=#323e32][font=simsun][size=14px]筹码分布副图[/size][/font][/color]


[color=#323e32][font=simsun][size=14px][code]
获利筹码:EMA(WINNER(C)*70,5),COLORRED;
亏损筹码:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),COLORF0FF00;
主力控筹:IF(获利筹码>亏损筹码,获利筹码*2,获利筹码),,COLORLIRED;
STICKLINE(主力控筹>0,0,主力控筹,3,0),COLOR424242;
STICKLINE(获利筹码>0,0,获利筹码*0.2,5,0),COLORRED;
AI:=AMOUNT/VOL/100;
C0:=REF(C,2)*0.865;
C1:=REF(C,13)*0.772;
DSY:=100*VOL/CAPITAL;
{STICKLINE(抄底,0,50,1,0),COLORFF6600;}
动态底部: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,20,1),COLORFFFFFF;
STICKLINE(((SAT <= 5) AND DAY=2),21,(20 + SAT),15,0),COLORFFFFFF;
STICKLINE((((SAT > 5) AND (SAT <= 20)) AND DAY=2),21,(20 + SAT),15,0),COLORCCFF88;
STICKLINE((((SAT > 20) AND (SAT <= 40)) AND DAY=2),21,(20 + SAT),15,0),COLORFF00FF;
STICKLINE(((SAT > 40) AND DAY=2),21,(20 + SAT),15,0),COLORRED;
主力筹码:EMA(WINNER(CLOSE)*70,10),COLORWHITE;
散户筹码:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,10),COLOR00FF00;
STICKLINE(主力筹码>散户筹码, 主力筹码,散户筹码,1,1),COLOR0066FF;
STICKLINE(主力筹码<散户筹码, 主力筹码,散户筹码,1,1),COLOR00FF00;
抄底:IF((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,100, 0),COLORFF00FF;
[/code]
[/size][/font][/color]

页: [1]