一个副图公式,如何改成选股公式?
VAR1:=(HIGH+LOW+CLOSE)/3;
VAR2:=(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14));
VAR3:=(VAR1-MA(VAR1,70))/(0.015*AVEDEV(VAR1,70));
VAR4:=IF(VAR2<=-150 AND VAR2>-200 AND VAR3<=-150 AND VAR3>-200,10,0);
VAR6:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);
VAR7:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);
VAR8:=IF(BARSCOUNT(CLOSE)<70,-120,IF(VAR3<=-200 AND VAR2<=-150,15,VAR4)-120);
VAR9:=SMA((VAR7-50)*2,3,1)+SMA((VAR6-50)*2,3,1)/2;
VAR10:=(HIGH+LOW+CLOSE*2)/4;
VAR11:=EMA(VAR10,10);
VAR12:=STD(VAR10,10);
VAR13:=(VAR10-VAR11)*100/VAR12;
VAR14:=EMA(VAR13,5);
VAR15:=EMA(VAR14,10)+100/2-5,COLORRED;
VAR16:=EMA(VAR15,4),COLORWHITE;
铿锵玫瑰:IF(CROSS(VAR15,VAR16) AND VAR16<-10,0.8,0) AND CROSS(VAR9,VAR8),COLORMAGENTA;
DRAWTEXT(铿锵玫瑰,0.8,' 铿锵玫瑰'),COLORMAGENTA;
DRAWBAND(铿锵玫瑰,RGB(255,0,255),0,RGB(0,0,0));