Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:TB代码转换成金字塔,谢谢

1楼
代人发贴 发表于:2017/10/10 13:44:25
股票只做多不做空   /ParamsNumeric capital(50000);Numeric length1(11);Numeric length2(42);Numeric length3(53);Numeric length4(178);Varsbool condition1;bool condition2;Numeric maxPrice;Numeric minPrice;Numeric  lots;Begin/
/If(!CallAuctionFilter) Return;lots=Ceiling(capital/(Close*100),1);condition1= close[2] > close[length1]  and close[9] > close[length4] and close[1] > open[1] and close[138]>open[length2] and close[1] > open[length3];
2楼
pyd 发表于:2017/10/10 13:55:51

zijin:=50000;
length1:=11;
length2:=42;
length3:=53;
length4:=178;

lots:=zijin/Close;
condition1:= close[2] > close[length1]  and close[9] > close[length4] and close[1] > open[1] and close[138]>open[length2] and close[1] > open[length3];

共2 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.03125 s, 3 queries.