王子主图和王子新量
王子主图的价托信号和拐点信号还是可以的,有一定的参考价值。
配合副图使用效果更好。
主图源码:
MA5:MA(C,5);
MA20:MA(C,20);
MA60:MA(C,60);
STICKLINE(MA5>=MA60 AND MA60>=MA10,MA10,MA60,4,0),COLORBLUE;
STICKLINE(MA20>=MA60 AND MA60>=MA40,MA40,MA60,4,0),COLORFF00FF;
STICKLINE(MA5>=MA20 AND MA20>=MA10,MA10,MA20,4,0),COLORWHITE;
{STICKLINE(C>=O,H,L,0,0),COLORRED;
STICKLINE(C<O,H,L,0,0),COLORFFFF52;
DRAWTEXT(CROSS(MA(C,5),MA(C,10)),MA(C,5),’拐’),LINETHICK2, COLORYELLOW;
副图源码:
V1:=V/CAPITAL*100;
MAV5:=EMA(V/CAPITAL*100,5);
量能:((V1-MAV5)/MAV5*2+(V1-MAV10)/MAV10)*10;
放量上涨:((CROSS(量能,20) OR (量能-REF(量能,1))>=10) AND SZ)*10,COLORRED;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED;
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,
主动卖万:主动卖盘/10000;
主买占盘%:(CAPITAL/1000000)/(主动买盘/10000);
主卖占盘%:(CAPITAL/1000000)/(主动卖盘/10000);
评论(0)