做个主图选股公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

MA5:EMA(C,5),COLORWHITE;工作线:EMA(C,14),COLORF00FF0,LINETHICK1;二号线:EMA(C,25),COLOR00FF00,LINETHICK1;九号线:EMA(CLOSE,99),LINETHICK1;MA120:EMA(CLOSE,120),LINETHICK1;生命线:EMA(CLOSE,453),LINETHICK1,COLORRED;VAR1:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(VAR1,13)-EMA(VAR1,73);SD:= EMA(SK,2);DRAWTEXT((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)) ,L*0.99,'短线'),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)),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,10,1),LINETHICK3,COLORRED;当"短线“提示大于M5.工作线,二号线,九号线,M120 生命线 时候的选股公式 非常感谢,期待中

解答:

 MA5:=EMA(C,5);

工作线:=EMA(C,14);
二号线:=EMA(C,25);
九号线:=EMA(CLOSE,99);
MA120:=EMA(CLOSE,120);
生命线:=EMA(CLOSE,453);
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)) AND C>MA5 AND C>工作线 AND C>二号线 AND C>九号线 AND C>MA120 AND C>生命线;

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