小牛极品黄金公式
源码
N:=17;N1:=7;N2:=69;LH:=79;
DRAWGBK(CLOSE=CLOSE,STRIP(RGB(200,150,150),RGB(30,20,0),1));
M3: EMA(CLOSE,3);
M8: EMA(CLOSE,8);
M13:= EMA(M8,13);
M62: =EMA(M8,62);
Var1:=EMA(M13,62);
M81: =EMA(M62,81);
M144: =EMA(Var1,144);
Var2:=(CLOSE+HIGH+LOW)/3;
Var3:=EMA(Var2,10);
Var4:=REF(Var3,1);
STICKLINE(Var3>Var4,Var3,Var4,15,0),colorred;
STICKLINE(Var3<Var4,Var3,Var4,20,0),colorgreen;
Var5:=(REF(HIGH,1)+REF(LOW,1))/2;
Var6:=MA(CLOSE,N)+2*STD(CLOSE,N);
Var7:=REF(CLOSE,1);
Var8:=SMA(MAX(CLOSE-Var7,0),N1,1)/SMA(ABS(CLOSE-Var7),N1,1)*100;
Var9:=CROSS(N2,Var8);
VarB:=(2*CLOSE+HIGH+LOW)/4;
VarC:=LLV(LOW,34);
VarD:=HHV(HIGH,34);
VarE:=EMA((VarB-Var1)/(Var5-Var1)*100,7);
VarF:=EMA(0.667*REF(VarE,1)+0.333*VarE,5);
Var10:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(CROSS(M3,M8),M3,'始');
DRAWTEXT(CROSS(M8,M3),M8,'终');