[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Setting up the futures backtester- I need some help...



PureBytes Links

Trading Reference Links

Thanks a lot. I appreciate it. It worked... I am one step closer...

Wally

--- In amibroker@xxxxxxxxxxxxxxx, "jehmac" <jehmac@xxxx> wrote:
> I think the help is wrong. You want:
> 
> PositionSize = MarginDeposit = 1;
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "netbull2000" <netbull2000@xxxx> 
> wrote:
> > Please bear with me as I am just starting. First things tend to 
be 
> > tough....
> > 
> > Now, here is what I have put in the AA window:
> > 
> > PositionSize = MarginRequirement = 1;
> > Buy = Cross( Close, SAR());
> > Sell = Cross( SAR(), Close);
> > Short = Cross( SAR(), Close);
> > Cover = Cross( Close, SAR());
> > 
> > The statement 'PositionSize = MarginRequirement = 1;'is supposed 
to 
> > give one contract trades, according to Amibroker help, yet I am 
> > getting zero contract trades. The system gets traded, but in the 
> > results the total profit is zero because the total number of 
> > contracts is zero.
> > 
> > How do I get a nonzero number of contracts?
> > 
> > TIA,
> > Wally


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/