王子主图和王子新量
王子主图的价托信号和拐点信号还是可以的,有一定的参考价值。
配合副图使用效果更好。
主图源码:
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA40:MA(C,40);
MA60:MA(C,60);
MA120:MA(C,120),STICK;
STICKLINE(MA5>=MA60 AND MA60>=MA10,MA10,MA60,4,0),COLORBLUE;
STICKLINE(MA5>=MA10 AND MA5<=MA60,MA10,MA5,4,0),COLORBLUE;
STICKLINE(MA20>=MA60 AND MA60>=MA40,MA40,MA60,4,0),COLORFF00FF;
STICKLINE(MA20>=MA40 AND MA20<ma60,ma40,ma20,4,0),colorff00ff; <br="">STICKLINE(MA5>=MA20 AND MA20>=MA10,MA10,MA20,4,0),COLORWHITE;
STICKLINE(MA5>=MA10 AND MA5<ma20,ma10,ma5,4,0),colorwhite; <br="">{STICKLINE(C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=O,C,O,4,1),COLORRED;
STICKLINE(C<o,h,l,0,0),colorffff52; <br="">STICKLINE(C<o,c,o,4,0),colorffff52;} <br="">DRAWTEXT(CROSS(MA(C,5),MA(C,10)),MA(C,5),'拐'),LINETHICK2, COLORYELLOW;
副图源码:
V1:=V/CAPITAL*100;
MAV5:=EMA(V/CAPITAL*100,5);
MAV10:=EMA(V/CAPITAL*100,10);
量能:((V1-MAV5)/MAV5*2+(V1-MAV10)/MAV10)*10;
SZ:=C>0 AND C>REF(C,1);
放量上涨:((CROSS(量能,20) OR (量能-REF(量能,1))>=10) AND SZ)*10,COLORRED;
STICKLINE(放量上涨,0,VOL,3,0),COLORRED;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<open,aa*((high-open)+ <br="">(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED;
主动买万:主动买盘/10000;
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<open, <br="">0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
主动卖万:主动卖盘/10000;
额占盘%:(CAPITAL/1000000)/(AMOUNT/100000000);
主买占盘%:(CAPITAL/1000000)/(主动买盘/10000);
主卖占盘%:(CAPITAL/1000000)/(主动卖盘/10000); 标签:MA,STICKLINE,主图,MA10,王子,MA20,MA60,MA5,源码 From: https://www.cnblogs.com/zhibiao/p/17991422