指标源码已改为操盘手能用的。公式含有未来函数!
VarA:=BARSCOUNT(CLOSE)*3.142/180; A2: SIN(VarA*8)*100,linethick1; A3: COS(VarA*8)*100,linethick1; X1:0,COLORFFFFCC; VAR1:=MA(CLOSE,5); VAR2:=MA(CLOSE,10); VAR3:=MA(CLOSE,20); VAR4:=MA(CLOSE,30); VAR5:=(Var1+Var2+Var3+Var4)/4; VAR6:=(Var5-REF(Var5,5))/REF(Var5,5)*1500; VAR7:=(Var5-REF(Var5,5))/REF(Var5,5)*1500; VAR8:=EMA(Var6,8);
VAR9:=TROUGHBARS(3,15,1)<10;注意: 这两条含有未来函数! VAR10:=PEAKBARS(3,15,1)<10;
VAR11:=IF(VAR9=1,50,0); VAR12:=IF(VAR10=1,50,0); 底部:= IF(VAR11=50,50,0); 头部:= IF(VAR12=50,100,0); a:IF( 底部>REF(底部,1),50,0); aa:IF(头部>REF(头部,1),50,0); DRAWTEXT(a=50,70,'买' ),colorred,linethick1; DRAWTEXT(aa=50,70,'卖'),COLOR00ff00,linethick1; DRAWICON(FILTER(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,30),-40,4); DRAWTEXT(FILTER(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,30),-40,'买点'),COLORffffff;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
指标源码已改为操盘手能用的。公式含有未来函数!
VarA:=BARSCOUNT(CLOSE)*3.142/180;
A2: SIN(VarA*8)*100,linethick1;
A3: COS(VarA*8)*100,linethick1;
X1:0,COLORFFFFCC;
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,20);
VAR4:=MA(CLOSE,30);
VAR5:=(Var1+Var2+Var3+Var4)/4;
VAR6:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;
VAR7:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;
VAR8:=EMA(Var6,8);
VAR9:=TROUGHBARS(3,15,1)<10;注意: 这两条含有未来函数!
VAR10:=PEAKBARS(3,15,1)<10;
VAR11:=IF(VAR9=1,50,0);
VAR12:=IF(VAR10=1,50,0);
底部:= IF(VAR11=50,50,0);
头部:= IF(VAR12=50,100,0);
a:IF( 底部>REF(底部,1),50,0);
aa:IF(头部>REF(头部,1),50,0);
DRAWTEXT(a=50,70,'买' ),colorred,linethick1;
DRAWTEXT(aa=50,70,'卖'),COLOR00ff00,linethick1;
DRAWICON(FILTER(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,30),-40,4);
DRAWTEXT(FILTER(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,30),-40,'买点'),COLORffffff;