Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Chart doesnt show trade
Collapse
X
-
Chart doesnt show trade
I loaded my strategy and it took the trade when it should ...sent to my broker... also same strategy is loaded on tradingview.. it also took the trade... the log file shows it took the trade.. however later on when i reload the strategy it doesnt show it anymore on the chart.. even the candles etc are the same? Why would it disappear from screen now when strategy is enabled later on or screen was refreshed.. out put still shows it i believeLast edited by SevanKambel; 03-30-2023, 06:33 PM.Tags: None
-
-
Hello SevanKambel,
You need to leave the strategy enabled to be able to view its performance, if you reload the strategy that will clear the previous trades it made and then it has to re process the historical data again. If the strategy doesn't work exactly the same historically as it did in realtime then it may not re produce the same trade on the chart. The live trade it originally made would now be considered a historical trade when the strategy processes that time again, if it does not place a historical trade during processing then nothing will appear on the chart.JesseNinjaTrader Customer Service
Comment
-
can i go back and see these historical trades on the chart? Its weird some stay but some disappear when i re enable the strategy ..almost makes me afraid its not working properly as now its saying it wouldnt have taken that trade.. or atleast thats how that appears
Comment
-
Originally posted by NinjaTrader_Jesse View PostHello SevanKambel,
You need to leave the strategy enabled to be able to view its performance, if you reload the strategy that will clear the previous trades it made and then it has to re process the historical data again. If the strategy doesn't work exactly the same historically as it did in realtime then it may not re produce the same trade on the chart. The live trade it originally made would now be considered a historical trade when the strategy processes that time again, if it does not place a historical trade during processing then nothing will appear on the chart.
Comment
-
Originally posted by SevanKambel View PostSo realistically your back-test are not accurate??
But now you have to define what you mean by 'accurate'?
If you want 100% accuracy, forget it. Live markets have too many
movements where sitting orders are left behind. Consider when
market price changes direction, some sitting orders may get filled
at the 'turning' price and some may not -- some may partially fill.
The point is, you may see live market price 'touch' your limit order
or stop order price, but yet your order does not fill.
How should back-testing software mimic that?
Back-testing should always be taken with a grain of salt.
Comment
-
Hello SevanKambel,
You can use the New -> Trade Performance to view the actual live trades your strategy made, that view will contain all execution data.
Its weird some stay but some disappear when i re enable the strategy ..almost makes me afraid its not working properly as now its saying it wouldnt have taken that trade.. or atleast thats how that appears
Here is a good post about the differences that you would see between historical and live modes which includes details on how you can debug your code to better understand the differences that you see: https://ninjatrader.com/support/foru...ay-performance
You can also find some common discrepancies that you would run into here: https://ninjatrader.com/support/help...lightsub=discrJesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by EnveousColnago, Today, 05:35 AM
|
2 responses
20 views
0 likes
|
Last Post
![]()
by bltdavid
Today, 03:48 PM
|
||
Started by rafaelcoisa, Today, 02:20 PM
|
0 responses
9 views
0 likes
|
Last Post
![]()
by rafaelcoisa
Today, 02:20 PM
|
||
Indicator doesn't show up and no data in the data box are showing under the indicator
by christopher512
Started by christopher512, Today, 02:05 PM
|
0 responses
12 views
0 likes
|
Last Post
![]() |
||
Started by Auchlow, Yesterday, 05:49 AM
|
3 responses
36 views
1 like
|
Last Post
![]()
by sidlercom80
Today, 12:46 PM
|
||
Started by dp8282, Yesterday, 05:05 PM
|
2 responses
28 views
0 likes
|
Last Post
![]()
by dp8282
Today, 08:49 AM
|
Comment