NexusFi: Find Your Edge


Home Menu

 





Incorrect results with Strategy Analyzer on NinjaTrader


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one bruno010 with 4 posts (3 thanks)
    2. looks_two xplorer with 4 posts (4 thanks)
    3. looks_3 Blash with 3 posts (2 thanks)
    4. looks_4 choke35 with 1 posts (2 thanks)
      Best Posters
    1. looks_one choke35 with 2 thanks per post
    2. looks_two xplorer with 1 thanks per post
    3. looks_3 bruno010 with 0.8 thanks per post
    4. looks_4 Blash with 0.7 thanks per post
    1. trending_up 4,690 views
    2. thumb_up 11 thanks given
    3. group 4 followers
    1. forum 12 posts
    2. attach_file 2 attachments




 
Search this Thread

Incorrect results with Strategy Analyzer on NinjaTrader

  #11 (permalink)
 
bruno010's Avatar
 bruno010 
Marseille (FRANCE)
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Global Futures
Trading: Forex + Stocks
Posts: 7 since May 2011
Thanks Given: 1
Thanks Received: 3

Thank you, Xplorer . I hope others will respond.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Quantum physics & Trading dynamics
The Elite Circle
What broker to use for trading palladium futures
Commodities
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
 
  #12 (permalink)
 choke35 
Germany
 
Experience: Intermediate
Platform: Other
Trading: ES, YM, 6E
Posts: 2,668 since Feb 2013
Thanks Given: 5,101
Thanks Received: 6,558


bruno010 View Post
Hi,

I backtest a strategy with Strategy Analyzer on NinjaTrader. I have unexpected results to be true.
Example: In a month I get $ 1.523 796.00 !!! for the period 1 May 2015 to 29 May 2015 (1 month).
So I look at the details of the trades and I see that the results are wrong.
Example: - 3 Long (3 x 50000) on USDJPY with entry and exit 119.78 to 119.82. Normally, the real result is 4 pips only. The backtest result gives me a gain of 3 x $ 1997.00 !!!.

Attached 2 copies screen results (summary and detail).

How to interpret these results?. Where is the error.

Thank you for your explanations. ]

The result is correct, but your position isn't what you think it is.

First the math:
50000 x 119.82 - 50000 x 119.78 = $2000
$2000 - $3 commissions = $1997

Second step:
And now you can check if you really wanted to enter on 50000 x 119.82, let alone 3 times.


P.S.: To do a cross-check if it isn't only a faulty currency unit, select e.g. a €-denominated
asset like the CAC40 or the FDAX. If the analyzer unit stays $, the USDJPY result in the analyzer
(erroneously) is USD instead of JPY. You can also test that on sim.

Reply With Quote
Thanked by:
  #13 (permalink)
 
bruno010's Avatar
 bruno010 
Marseille (FRANCE)
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Global Futures
Trading: Forex + Stocks
Posts: 7 since May 2011
Thanks Given: 1
Thanks Received: 3


I just realized :

For a standard Forex lot (100000), the pip is worth 0.0001 for EURUSD, but for the USDJPY, the pip worth 0.01.
So for a lot of 50,000, the pip USDJPY worth 50,000 x 0.01 x 4 pips = $ 2,000 - $ 3 = $ 1,997.

Sorry for the confusion regarding the pip value relative to the relevant currency pair.

Thank you all for your answers.

Started this thread Reply With Quote
Thanked by:




Last Updated on April 22, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts