Rss & SiteMap

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

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

标题:求大神帮写一个模型

1楼
shh66666 发表于:2019/6/2 18:47:43
 站上20天线同时在5日线之上,满仓,站上20天线在5日线之下半仓,之上站上5日线加到满仓,跌破5日线减到半仓,跌破20天线空仓。 
2楼
yukizzc 发表于:2019/6/2 21:39:20

if c>ma20 and c>ma5 then buy(1,100%,marketr);

if c>ma20 and c<ma5 then buy(1,50%,marketr);

if c<ma20 and c>ma5 then sell(1,50%,marketr);

if c>ma20 and c<ma5 then sell(1,100%,marketr);

 

多个条件分别建立就行了

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


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