九毛八公式指标
{注:主力、散户线看中线运行趋势和强弱状态,散户线在上,慎入。当买进信号出现时,若4条线基本同时向上发散,为最佳介入时机。} Var1:=((EMA(C,3)-EMA(C,6))*5); Var2:=(EMA(Var1,7)+EMA(C,5)); Var3:=(2*CLOSE+HIGH+LOW)/4; Var4:=LLV(LOW,34); Var5:=HHV(HIGH,34); 主力:EMA((Var3-Var4)/(Var5-Var4)*100,13),linethick3,COLORRED; 散户:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,COLORFF9933; Var6:=CROSS(主力,散户) AND 主力<22 and var2>REF(Var2,1); Var7:MA(WINNER(C)*100,5),COLORRED; Var8:MA(WINNER(C)*100,13),COLORYELLOW; Var9:=MA(WINNER(C)*100,34); AA:=BARSLAST(CROSS(Var8,Var7))>=7; BB:=Var8>REF(Var8,1)AND CROSS(Var7,Var8)AND AA AND Var7<30 and var7
公式模块:
VAR1:=((EMA(C,3)-EMA(C,6))*5);
VAR2:=(EMA(VAR1,7)+EMA(C,5)); VAR3:=(2*CLOSE+HIGH+LOW)/4; VAR4:=LLV(LOW,34); VAR5:=HHV(HIGH,34); 主力:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13),LINETHICK3,COLORRED; 散户:=EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,COLORFF9933; VAR6:=crOSS(主力,散户) AND 主力<22 AND VAR2>REF(VAR2,1); VAR7:=MA(WINNER(C)*100,5),COLORRED; VAR8:=MA(WINNER(C)*100,13),COLORYELLOW; VAR9:=MA(WINNER(C)*100,34); AA:=BArslAST(CROSS(VAR8,VAR7))>=7; BB:=VAR8>REF(VAR8,1)AND CROSS(VAR7,VAR8)AND AA AND VAR7<30 AND VAR7<VAR9; CC:=(VAR7<REF(VAR7,3)OR VAR7<REF(VAR7,2))AND VAR7>REF(VAR7,1)AND VAR9-VAR7>18 AND VAR7<30; xg:IF(CROSS(VAR7,VAR8)AND VAR8<VAR9 AND VAR2>REF(VAR2,1)OR VAR6,10,0);