大智慧获利线副图指标
源码
N1:=5;N2:=10;N3:=20;
50,color996699;
短期获利:ema(winner((low+high)/2),n1)*100;
中期获利:ema(winner(close),n2)*100;
长期获利:ema(winner(close),n3)*100;
STICKLINE(短期获利<13,5,0,10,1),colorred;
STICKLINE(短期获利>13 and 短期获利<80,13,0,10,1),color339900;
STICKLINE(短期获利<13,5,0,10,1),colorred;
STICKLINE(短期获利>80,13,0,10,1),colorblue;
t0:=ma(winner(close),1)*100;
t1:=短期获利>80 and 中期获利>80 and 长期获利>80;
t2:=cross(短期获利,t0);
t3:=t1 and t2;
if(t3>0,90,0),colorstick;{如果全部条件满足,下穿卖出}
j1:=cross(90,t0);
j2:=短期获利>80;
j3:=j1 and j2;
洗盘:if(j3>0,长期获利,0),stick;{1个条件满足,卖出}
K1:=短期获利>80 and 中期获利>80;
K2:=cross(90,t0);
K3:=K1 and K2;
阶段顶部:if(K3>0,90,0),colorstick;{2个条件满足,卖出}
90,colorred;
80,colorblue;
110;
20,pointdot;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
k:=SMA(RSV,3,1);
d:=SMA(k,3,1);
J:=3*k-2*d;
ok:=k-d;
r3:if(ok>20,50,8),COLORred;
=======================================================
{逐笔逐单:分笔主力}
特买:="分笔0.特买#tick";
特卖:="分笔0.特卖#tick";
大买:="分笔0.大买#tick";
大卖:="分笔0.大卖#tick";
大净:=大买-大卖;
特净:=特买-特卖;
主力买:特买+大买,LINETHICK0,colorred;
主力卖:特卖+大卖,LINETHICK0,colorgreen;
主力净:主力买-主力卖,colorstick;
DRAWTEXTREL(1,30,STKLABEL),ColorEEBB88;DRAWTEXTREL(85,30,STKNAME),ColorEEBB88;