以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- easylanguage 中的stop和limit在金字塔中如何实现 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=50833) |
-- 作者:rl49641221 -- 发布时间:2013/4/9 14:52:53 -- easylanguage 中的stop和limit在金字塔中如何实现 有两句EASYLANGUAGE的代码不知道在金字塔中如何实现 if Close > S3 then
Sell ( "R4 BO LX Tgt" ) from entry ( "R4 BO LE" )next bar R5 limit ; BuyToCover ( "R3 Fade SX" ) from entry( "R3 Fade SE" ) next bar R4 stop ;
请指教谢谢!!! |
-- 作者:jinzhe -- 发布时间:2013/4/9 14:58:39 -- buy(1,1,limit,c); buy(1,1,stop,c); |
-- 作者:rl49641221 -- 发布时间:2013/4/9 15:05:10 -- Sell from entry next bar R5 limit ; BuyToCover from entry next bar R4 stop ;
R5和R4是价格,这两句怎么表示呢? |
-- 作者:jinzhe -- 发布时间:2013/4/9 15:18:16 -- 把上面的代码都注释一下,我写的是一个笼统的情况 |