公式网-网站导航


网站搜索:  

公式指标网 发表于2015/10/23 6:24:18

金字塔模型一个盈利的模型仅供参考交流

相关标签:

一个盈利的模型   网友无偿分享
 

这个只是为交流而发,简单到只有9行代码,没有参数,信号不闪,可以自行加入提前下单减少滑点

在股指60分钟周期运行


金字塔公式 金字塔模型策略源码:

c1:=ref(c,1);
 o1:=ref(O,1);
 h1:=ref(h,1);
 l1:=ref(l,1);
 sell(holding>0 and c1>o1 and l<=l1,1,LIMITR,c);
 sellshort(holding<0 and c1<o1 and h>=h1 ,1,LIMITR,c);
 buy(holding=0 and c1<o1 and h>=h1,1,LIMITR,c);
 buyshort(holding=0 and c1>o1 and l<=l1,1,LIMITR,c);
资产:ASSET,NOAXIS,COLORGRAY;

金字塔模型一个盈利的模型仅供参考交流



网站搜索:  



Copyright © 2009-2010 gszb.com ™,All Rights Reserved. 
公式网-www.gszx.com.cn-股票指标公式网