指标编写学习论坛

标题: 资金进出指标 [打印本页]

作者: admin    时间: 2016-5-7 17:13
标题: 资金进出指标
求资金进出指标
   正确答案:
      tt:=if(c>=ref(c,1),amount,0);
      AA:=sum(amount,0);
      AB:=sum(tt,10)*1000/aa;
      总体入场金额:100*ab;

      tt1:=if(c<ref(c,1),amount,0);
      AA1:=sum(amount,0);
      AB1:=sum(tt1,10)*1000/aa1;
      总体下跌金额:100*ab1;

      mm:=if(c>=ref(c,1),v/ref(v,1),0);
      mm1:=if(c<ref(c,1),v/ref(v,1),0);
      时段入场金额:10000*sum(mm,10)/sum(mm,50);
      时段下跌金额:10000*sum(mm1,10)/sum(mm1,50);






欢迎光临 指标编写学习论坛 (http://shgm.net/) Powered by Discuz! X3.2