首页 > > 详细

代写股票选股公式、股票选股公式代写、用于股指期货的突破交易策略源码及解析-金字塔模型


源码内容:
input:n1(32,6,50,1);
W1:=-100*(HHV(H,N1)-C)/(HHV(H,N1)-LLV(L,N1))+50;
T1:=TIME>093000 AND TIME150500;
if W1>45 AND REF(ANY(W1>45,9),1) then begin
sellshort(holding1.0094*C OR T2 then sell(holding>0, 0, thisclose);
if W10, 0, thisclose);
buyshort(holding=0 AND T1, 1, thisclose);
end
if C>1.0094*LLV(L,5) OR T2 then sellshort(holding093000 AND TIME150500;
//时间段2,强平时间
if W1>45 AND REF(ANY(W1>45,9),1) then begin//满足w1>45和 前9个周期中任意一个周期满足w1>45 则平空开多
sellshort(holding1.0094*C OR T2 then sell(holding>0, 0, thisclose);
//5周期最高价> 收盘价*1.0094 或者 T1时间时,平仓
if W10, 0, thisclose);
buyshort(holding=0 AND T1, 1, thisclose);
//开空还要在T1时间内
end
if C>1.0094*LLV(L,5) OR T2 then sellshort(holding5周期最低价*1.0094 或者在T2时间时,平空

联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。