手机端
当前位置:爱约股 > 公式技巧 > 把“买入”指标作出选股公式

把“买入”指标作出选股公式

 网友求助:

V1:=EMA(CLOSE,5)-EMA(CLOSE,340);
V2:=EMA(V1,144);;
V3:(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,COLOR00BB00;
卖出:-1*IF((CROSS(98.5,V3) and v1>v2) and COUNT(v3>97,3)=2,20,0)+90,colorFF9900;
买入:IF(CROSS(V3,5) and v1<v2,20,0)+10,color0090FF;
DRAWTEXT(CROSS(V3,5) and v1<v2,25,'买入'),COLORFF00FF;
DRAWTEXT(CROSS(98.5,V3) and v1>v2,75,'卖出'),COLOR00FF00;
 

 

解答如下:

V1:=EMA(CLOSE,5)-EMA(CLOSE,340);
V2:=EMA(V1,144);;
V3:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
xg:CROSS(V3,5) and v1<v2;
 

分享至:

相关推荐