| 以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://www.weistock.com/bbs/index.asp) -- 交易策略发布专区 (http://www.weistock.com/bbs/list.asp?boardid=10) ---- [交易系统]抛物线转向系统 (http://www.weistock.com/bbs/dispbbs.asp?boardid=10&id=8588)  | 
    
| --  作者:z7c9 -- 发布时间:2011/10/24 19:45:30 -- [交易系统]抛物线转向系统 
 runmode:0;  
        input:p(120); input:n(120); input:s(2); input:m(20); myma:=ma(open,p); mysar:=sar(n,s,m); entrylongcond:=open>myma and high>=mysar; exitlongcond:=low<=mysar; entryshortcond:=open if holding=0 then begin if entrylongcond then buy(1,1,limitr,max(open,mysar)); if entryshortcond then buyshort(1,1,limitr,min(open,mysar)); end if holding>0 then begin if exitlongcond then sell(1,holding,limitr,min(open,mysar)); end if holding<0 then begin if exitshortcond then sellshort(1,holding,limitr,max(open,mysar)); end 盈亏:asset-500000,noaxis,coloryellow,linethick2;  | 
    
| --  作者:a7777 -- 发布时间:2013/1/29 21:38:15 --  
         | 
    
| --  作者:linxycca -- 发布时间:2013/3/4 15:38:03 -- 分享一下  | 
    
| --  作者:jiangsen -- 发布时间:2013/3/21 18:30:29 -- 顶  | 
    
| --  作者:jzts -- 发布时间:2013/3/22 0:29:02 -- 公式好象不完全...  |