九毛八公式指标
VAR55:=LLV(LOW,6); VAR66:=HHV(HIGH,6); VAR77:=(VAR66-VAR55)/10; VAR88:=SMA((CLOSE-VAR55)/VAR77,20,1); VARA:=3*VAR88-2*SMA(VAR88,3,1); AA:=MA(EMA(WINNER(C),3),3); AB:=EMA(AA-0.5,6); AC:=CROSS(AA-0.5,AB) AND AB<=-0.3; AD:=CROSS(AB,AA-0.5) AND AB>=0.35; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=LLV(LOW,13); VAR8:=HHV(HIGH,13); VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13); 仙人: (EMA(0.382*REF(VAR9,2)+0.618*VAR9,6)-50)/100,COLORYELLOW,LINETHICK2; AAA:=EMA(仙人,3); DRAWICON(仙人>=REF(仙人,1) AND REF(仙人,1)<=REF(仙人,2),仙人*0.95,1); DRAWICON(仙人<=REF(仙人,1) AND REF(仙人,1)>=REF(仙人,2),仙人*1.05,2); IF(仙人>REF(仙人,1),仙人,DRAWNULL),COLORRED,LINETHICK2; IF(仙人CLOSE AND 仙人>REF(仙人,A1+1) AND CROSS(仙人,AAA); STICKLINE(底背离,0,0.1,3,0),COLORMAGENTA;
公式模块:
s4:=ema(((2*close+high+low)/4-llv(low,13))/(hhv(high,13)-llv(low,13))*100,13);
s5:=(ema(0.382*ref(s4,2)+0.618*s4,6)-50)/100; sg:s5>=ref(s5,1) and ref(s5,1)<=ref(s5,2);