NexusFi: Find Your Edge


Home Menu

 





Strategy Analyzer: Profit and Entry on Same Bar Scenario


Discussion in NinjaTrader

Updated
    1. trending_up 1,031 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 3 attachments




 
Search this Thread

Strategy Analyzer: Profit and Entry on Same Bar Scenario

  #1 (permalink)
goodoboy
Houston
 
Posts: 380 since Dec 2016
Thanks Given: 344
Thanks Received: 246

Hello,

How are you doing? I am still learning about developing and testing strategies in NT.

NT7 (Using NT Strategy Analyzer only OHCL historical data with CQG feed)
/YM
5 min bar chart
Stop Loss : -17
Profit Target: 7 ticks (I also test with 11 tick profit)

Problem:
1. I am reviewing the Strategy Analyzer and I notice that each time the entry and profit target price is on the same bar, the profit target is assume hit first, so the trade becomes a win. I am seeing this alot after a back test on the chart.

2. See attachment please. The backtesting simulation resulted in a win (profit) even though the OPEN was above the above the profit target price, which means price actually went up first, then down to entry. However, this trade resulted in a profit, when it should have been a loss.

3. I am worried that problem 1 and 2 is giving my false performance results in my back test.


Question :
1. Is it true that if profit and entry occurs in the same bar, Strategy Analyzer defaults that trade to a win? (I do know that if the stoploss and entry is in the same bar, Strategy Analyzer defaults to loss)

2. Can you please comment about question 2 above and provide some clarity how I can obtain more accurate backtesting?

Thank you,

Attached Thumbnails
Click image for larger version

Name:	Screenshot_19.png
Views:	149
Size:	46.8 KB
ID:	231104   Click image for larger version

Name:	Screenshot_20.png
Views:	137
Size:	8.9 KB
ID:	231105   Click image for larger version

Name:	Screenshot_21.png
Views:	144
Size:	2.7 KB
ID:	231106  
Reply With Quote




Last Updated on April 1, 2017


© 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