Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
请教下,有个思路,不知道能否编写出来
以开盘价为中心,距离开盘价上下10个点,或者上下10个整数倍个点做多。盈利10个点平仓
比如pta是8200开盘,8190买多,8180买多。。。。希望用在分时图上
请老师帮忙实现!
o1:=valuewhen(date<>ref(date,1),o);
tbuy(tholding=0,1,lmt,01-10,0);
tsell(tholding>0 and c-tenterprice>10,0,mkt)
buy(holding=0,1,limitr,01-10);
sell(holding>0 and c-enterprice>10,0,market);