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

[amibroker] Re: Backtesting for Oanda



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, Aron <aron.groups@xxx> wrote:
>
> Piotr Rysak wrote:
> > Thanks for response.
> >
> > I use your setup, but profits are still in .000x USD
> > I use this setup in
> >
> > Backtetser setting:
> > Initial equity: 1000
> > Future mode: checked
> > Account margin: 100
> >
> > Contract specification for audusd is:
> > RoundLotSize: 1
> > MarginDeposit: 0
> > Tick Size: 0.00001
> > PointValue: 0.0001
> >
> > I don't use tick data from Oanda but from metatrader.
> >
> > Could you help me with proper setting?
> >
> > Regards,
> >
> > Piotr Rysak
> >
> |
>
> /* Backtester Settings*/
> SetOption("FuturesMode" ,*True*);
> SetOption("ActivateStopsImmediately",1);
> SetOption("PriceBoundChecking", 1);
>
> /*Contract Specifications*/
> *MarginDeposit* = *C*;
> *PointValue* = 1;
>
> /*Trade Entry*/
> *Buy* = Cross( RSI(), 30 );
> *Short* = Cross( 70, RSI() );
> *BuyPrice* = *ShortPrice* = *C*;
>
> /*Trade Exit*/
> *Sell*= *Cover*=0;
> ApplyStop(*stopTypeLoss*,*stopModePoint*,20**TickSize*,1);
> ApplyStop(*stopTypeProfit*,*stopModePoint*,20* *TickSize*,1);
>
> // Trade Size:  10000 units
> SetPositionSize( 10000, *spsShares* );|
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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