以下是通达信饱和筹码集中度副图公式
LC:=REF(CLOSE,1);
RSI5:=(SMA(MAX(CLOSE-LC,0),3,1))/(SMA(ABS(CLOSE-LC),3,1))*100;
WR10:=100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
活跃度:RSI5-WR10,LINETHICK0,COLORFFFF00;
STICKLINE(活跃度>0,0,活跃度,2,1),COLORFF00FF;
STICKLINE(活跃度<0,0,活跃度,2,1),COLOR808080;
STICKLINE(活跃度>68 AND 活跃度<78,0,活跃度,2,0),COLORFFFF00;
STICKLINE(活跃度>78,0,活跃度,2,0),COLOR00FFFF;
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3), COLORFF00FF,LINETHICK2;
指数趋势: EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFFAA66,LINETHICK3;
强弱分界: 80,COLORYELLOW;
主力筹码:WINNER(C)*100 ,COLORRED,LINETHICK2;
散筹筹码:(WINNER(C*1.1)-WINNER(C*0.9))*100,COLORGREEN,LINETHICK2;;
DRAWICON(主力筹码>80 AND 主力持仓>50 AND 主力筹码>散筹筹码 AND 主力持仓>散筹筹码,80,30);
DRAWICON(CROSS(主力持仓,散筹筹码),50,1);
NOTEXTSC:100*(CLOSE-MA(CLOSE,20)),COLORRED;
MAO:EMA(SC,6),COLORFFFF00;
饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),COLORRED,LINETHICK0;
80,POINTDOT,COLOR00FF00;
-100,POINTDOT,COLORFFFF00;
50,COLORRED;
评论(0)