指标源码已改为操盘手能用的。公式含有未来函数!
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;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!