将主图出现“关注”处改为选股公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

请老师将主图出现“关注”处改为选股公式,谢谢老师!ma5:ema(c,5),colorwhite;工作线:ema(c,10),colorf00ff0,linethick1;二号线:ema(c,30),color000999,linethick2;九号线:eMA(CLOSE,60),colorblue,linethick2;DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));DEA:=EMA(DIFF,9);MACD:=0.90*(DIFF-DEA);tj:=(diff>=dea);tj1:=(diff>=0);stickline(tj,h,l,0.8,0),COLORyellow;stickline(tj,o,c,4,0),COLORyellow;stickline(tj1 and tj,h,l,0.8,0),colorred;stickline(tj1 and tj,o,c,4,1),colorred;stickline(diff=0.03) or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)) ,l*0.99,'关注'),colorf00ff0;stickline((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)),h,l,0.5,0),colorred;stickline((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)),o,c,8,1),linethick5,colorf00ff0;

解答:

 VAR1:=(CLOSE*2+HIGH+LOW)/4;

SK:= EMA(VAR1,13)-EMA(VAR1,73);
SD:= EMA(SK,2);
(CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) 
OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));

选股票看什么指标最好 >股票指标网