【通达信源码分享】金牌黑马+筹码集中度(SCR)指标源码

通达信免费指标 11-03 阅读:4382 评论:0

30-1G112131117.png

金牌黑马公式源码:


A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,2)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,2);


黑马线:EMA(A1,5),LINETHICK2,COLOR6600FF;


反切线:100-EMA(A1,5),LINETHICK2,COLOR00FF00;


 A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;


 A3:=EMA(C,5);


 A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;


趋势线: (EMA(4*SMA(A4,6,1)-3*SMA(SMA(A4,5,1),5,1),2)),LINETHICK1,COLORYELLOW;


 A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;


 DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A2<0,7),黑马线,'跑'),COLOR00FF00;


 DRAWTEXT(CROSS(趋势线,黑马线)AND 黑马线>20 AND 黑马线<A5,黑马线,'黑马');


DRAWTEXT(CROSS(趋势线,0) AND 黑马线<40,5,'大黑马');


底部:(A2<-10 AND A2>REF(A2,1))*25,COLORRED;


机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),LINETHICK2,COLORE66878;


大势已去:IF(CROSS(黑马线,A1) AND 黑马线>70 AND 趋势线>80,90,100),LINETHICK2,COLORE66878; 


 50,LINETHICK3,COLORE66878,POINTDOT;


 70,COLORYELLOW,POINTDOT;


30-1G112131415.jpg

筹码集中度公式源码:


筹码集中度:(COST(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))*100/2;

DRAWICON(筹码集中度>REF(筹码集中度,1) AND 筹码集中度>REF(筹码集中度,5) AND C<REF(C,1) AND C<REF(C,5) AND REF(C,5)/REF(C,1)>1.05,筹码集中度,1);



版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服