M1:=3;
a:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
b:=capital;
aa:=90+(100-90)/2;
bb:=(100-90)/2;
cc:=cost(aa);
dd:=cost(bb);
ee:=(cc-dd)/(cc+dd)*100;
zlnl:(a/b*(VOL/3)/b+ee)/100;
K:SMA(zlnl,M1,1);
M1:=3;
a:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
b:=capital;
aa:=90+(100-90)/2;
bb:=(100-90)/2;
cc:=cost(aa);
dd:=cost(bb);
ee:=(cc-dd)/(cc+dd)*100;
zlnl:(a/b*(VOL/3)/b+ee)/100;
K:SMA(zlnl,M1,1);
copyright 2016-2024 零点财经保留所有权 免责声明:网站部分内容转载至网络,如有侵权请告知删除 友链,商务链接,投稿,广告请联系qq:253161086
零点财经保留所有权
免责声明:网站部分内容转载至网络,如有侵权请告知删除