同花顺祝福宝贝副图指标
源码
diff:=EMA(CLOSE,7)-EMA(CLOSE,13);
dea:=EMA(diff,9);
MA(C,5),colorwhite;
MA(C,10),coloryellow;
多头:STICKLINE(diff>dea,C,O,6,0),colorred;
STICKLINE(diff>dea,H,L,0,0),colorred;
空头:STICKLINE(diff<=dea,C,O,6,0),COLORF0F000;
STICKLINE(diff<=dea,H,L,0,0),COLORF0F000;
DRAWTEXT(CROSS(diff,dea),L-0.2,'买入'),colorwhite;
DRAWTEXT(CROSS(dea,diff),H+0.2,'卖出'),colorgreen;
Var1A:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR4aa:=C/(REF(C,1))>1.05 AND (H/C<1.01);
DRAWTEXT(FILTER(VAR4aa>0,34),L*0.94,'加仓'),Color00FFFF;
DRAWTEXT(FILTER(VAR4aa>0,34),L*0.99,'★'),Color00FFFF;
A2aa:=REF(C,10)
DRAWTEXT(FILTER(A2aa>0,34),H*1.02,'谨慎'),ColorFFFFFF;
价值: Var1A, POINTDOT,LINETHICK2,colorFF6600 ;
低估: Var1A-Var1A*39/100, POINTDOT,LINETHICK2, color88cc00;
高估: Var1A+Var1A*16/100, POINTDOT,LINETHICK2, colorwhite;
STICKLINE(CROSS(((SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)))*(100),80),0,25,2,0),CoLor00FF00;
〖明天卖〗:0,CoLor00FF00;
STICKLINE(CROSS(20,((SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)))*(100)),25,0,2,0),CoLor0000FF;
〖明天买〗:0,CoLor0000FF;