大智慧获利线副图指标
-
相关简介:大智慧获利线副图指标 源码 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; STICKLI
-
文章来源:股海网作者:股海网发布时间:2016-06-08浏览次数:
大智慧获利线副图指标
源码
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;