九毛八公式指标
请高手和老师,对通达信《抄底主图》编辑一个选股公式。 条件分别为: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;
7>