PureBytes Links
Trading Reference Links
|
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
*********************************
__,_._,___
|
|