找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 171|回复: 2

指标编写问答118学习的宝藏

[复制链接]
发表于 2022-1-11 02:31 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
596.问:
      能否将买点改成条件选股公式
     Var1:=BARSCOUNT(CLOSE)*3.142/180;
     A2: SIN(Var1*8)*100;
     A3: COS(Var1*8)*100;
     X1: 0;
     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);
     底部注意: STICKLINE(Var6>REF(Var6,1) AND Var6<0 AND Var6<Var8,Var6,0,5,0);
     低位转强: STICKLINE(Var8>REF(Var8,1) AND Var6<0 AND Var6>Var8,Var8,0,5,0),
     COLORYELLOW;
     买点: STICKLINE(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,Var6,Var8,10,0);
     DRAWICON(FILTER(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,30),-140,4);
     DRAWTEXT(FILTER(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,30),-140,'->买
                      点'),COLORred;
     坚定持股: STICKLINE(Var8>REF(Var8,1) AND Var8>0,Var6,0,5,0),COLORred;
     谨慎观望: STICKLINE(Var6<REF(Var6,1) AND Var8>REF(Var8,1)
      AnD   Var6>0,Var6,Var8,10,0);
     果断持币: STICKLINE(Var6<REF(Var6,1) AND Var6<Var8,Var6,Var8,5,1),COLORCYAN;
      答(achen):
      江恩选股原码

      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);
      买点: Var6>REF(Var6,1) AND Var6>0 AND Var8<0;






发表于 2022-3-20 15:40 | 显示全部楼层
好好学习天天向上
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-22 20:57 , Processed in 0.118104 second(s), Total 11, Slave 10 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表