NexusFi: Find Your Edge


Home Menu

 





Incorrect results with Strategy Analyzer on NinjaTrader


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one xplorer with 4 posts (4 thanks)
    2. looks_two bruno010 with 4 posts (3 thanks)
    3. looks_3 Blash with 3 posts (2 thanks)
    4. looks_4 shodson with 1 posts (0 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,507 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

  #1 (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

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.

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Deepmoney LLM
Elite Quantitative GenAI/LLM
Exit Strategy
NinjaTrader
Futures True Range Report
The Elite Circle
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #2 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 5,944 since Sep 2015
Thanks Given: 15,447
Thanks Received: 15,291


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.


Hi Bruno, is this a simulation for futures, or is it a different financial instrument?

Reply With Quote
Thanked by:
  #3 (permalink)
 
Blash's Avatar
 Blash 
Chicago, IL
Legendary Market Chamois
 
Experience: None
Platform: NT8,NT7,TWS
Broker: InteractiveBrokers, S5T, IQFeed
Trading: The one I'm creating in the present....Index Futures mini/micro, ZF
Posts: 2,311 since Nov 2011
Thanks Given: 7,341
Thanks Received: 4,518



xplorer View Post
Hi Bruno, is this a simulation for futures, or is it a different financial instrument?

I think its the gopher....spot FX ..... U.S Dollar/Japanese Yen....USD/JPY

Ron

...My calamity is My providence, outwardly it is fire and vengeance, but inwardly it is light and mercy...
The steed of this Valley is pain; and if there be no pain this journey will never end.
Buy Low And Sell High (read left to right or right to left....lol)
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 5,944 since Sep 2015
Thanks Given: 15,447
Thanks Received: 15,291


Blash View Post
I think its the gopher....spot FX ..... U.S Dollar/Japanese Yen....USD/JPY

Ron

Thanks Ron, in that case I'll let someone else work it out!

Reply With Quote
Thanked by:
  #5 (permalink)
 
Blash's Avatar
 Blash 
Chicago, IL
Legendary Market Chamois
 
Experience: None
Platform: NT8,NT7,TWS
Broker: InteractiveBrokers, S5T, IQFeed
Trading: The one I'm creating in the present....Index Futures mini/micro, ZF
Posts: 2,311 since Nov 2011
Thanks Given: 7,341
Thanks Received: 4,518


xplorer View Post
Thanks Ron, in that case I'll let someone else work it out!

Yeah I am at a loss here don't know what to say.......lol.... except for backtesting is its own animal IMHO....

Ron

...My calamity is My providence, outwardly it is fire and vengeance, but inwardly it is light and mercy...
The steed of this Valley is pain; and if there be no pain this journey will never end.
Buy Low And Sell High (read left to right or right to left....lol)
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #6 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709

In the list of trades it says the quantity is 50,000, not 3. Make sure the position size of your trades is correct.

Also, make sure your stops and target sizes are greater than the size of 1 bar, otherwise you will encounter the dreaded intrabar [AUTOLINK]backtesting[/AUTOLINK] problem so common with Ninjatrader.

Also, if you are testing with any variation of Renko bars, this would help explain it as well. They backtest enormously well but don't yield the same results in live testing due to the way NT models historical market price action with Renko bars. Backtests with Renko bars just aren't reliable at all.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 5,944 since Sep 2015
Thanks Given: 15,447
Thanks Received: 15,291


shodson View Post
In the list of trades it says the quantity is 50,000, not 3. Make sure the position size of your trades is correct.

I noticed that too, that's why I asked whether they're futures. 50,000 contracts with 4 ticks profit would not give 1,997 USD as profit.

Reply With Quote
Thanked by:
  #8 (permalink)
 
Blash's Avatar
 Blash 
Chicago, IL
Legendary Market Chamois
 
Experience: None
Platform: NT8,NT7,TWS
Broker: InteractiveBrokers, S5T, IQFeed
Trading: The one I'm creating in the present....Index Futures mini/micro, ZF
Posts: 2,311 since Nov 2011
Thanks Given: 7,341
Thanks Received: 4,518


bruno010 View Post
Hi,


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 !!!.


Yeah here is the part I don't get, in bold.....

Ron

...My calamity is My providence, outwardly it is fire and vengeance, but inwardly it is light and mercy...
The steed of this Valley is pain; and if there be no pain this journey will never end.
Buy Low And Sell High (read left to right or right to left....lol)
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #9 (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

Hello everyone. Sorry I was not clear. Let me explain :

- the simulation concerns the Forex (USDJPY)
- Each entry has a quantity of 150 000, with three targets of 50,000 each.
- on a buying position, I had an entry at 119.78 and an exit at 119.82 (4 pips).
- The simulator gives me a gain of $ 1,997.00 !!!.

Why ?.

Started this thread Reply With Quote
  #10 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 5,944 since Sep 2015
Thanks Given: 15,447
Thanks Received: 15,291



bruno010 View Post
Hello everyone. Sorry I was not clear. Let me explain :

- the simulation concerns the Forex (USDJPY)
- Each entry has a quantity of 150 000, with three targets of 50,000 each.
- on a buying position, I had an entry at 119.78 and an exit at 119.82 (4 pips).
- The simulator gives me a gain of $ 1,997.00 !!!.

Why ?.

Hi bruno - sorry I can't help you - never traded spot Forex so I don't know what a pip equates to. I'm sure others are able to pitch in though.

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