将抄底指标改写成选股公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

请高手和老师,对通达信《抄底主图》编辑一个选股公式。条件分别为:1、红色星出现 2、绿色星出现源码如下:MA5:MA(C,5),COLORWHITE;MA10:MA(C,10),COLORMAGENTA;MA20:MA(C,20),COLORYELLOW;MA50:MA(C,50),COLORGREEN;MA120:MA(C,120),COLORGRAY;MA250:MA(C,240),COLORRED;Z:=MA(C,120);VAR3:=(MA(C,5)-Z)/Z;VAR4:=MA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3);D1:DRAWTEXT(CLOSE>Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)REF(VAR4,1) AND REF(VAR4,1)

解答:

 {红星}

Z:=MA(C,120);
VAR4:=MA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3);
C>=Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2);
-------------------------------
{绿星}
Z:=MA(C,120);
VAR3:=(MA(C,5)-Z)/Z};
VAR4:=MA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3);
REF(VAR4,1)<7 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND VAR3<-0.1;
 
 

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