klineal
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Analyzer shows no trades
Collapse
X
-
Strategy Analyzer shows no trades
This is very basic I am sure. But when I use strategy analyzer with my own strategy or others where I am certain there would be trades I am getting no results. I must be doing something wrong or a setting is wrong.
klinealTags: None
-
Hello Klineal,
Unfortunately there isn't just one thing that could explain this. One thing you can do is add drawing objects for visual confirmation of signals. If you're seeing confirmation that your conditions are true but no orders are submitted, you can add TraceOrders = true; to your Initialize method. You then view output for strategy based orders through the tools > output window.Ryan M.NinjaTrader Customer Service
-
Hello alfa123,
Backtesting requires data. The data can be acquired through stored real time data or historical data. IB supplies historical data so you should be able to backtest with this connection.
The suggestion by Avrohom relates to a coding mechanism where you return out of processing historical bars. Having this line in your strategy will prevent backtesting.
That's an additional thing to check beyond using drawing tools and TraceOrders output to debug strategy orders.Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by futtrader, 04-21-2024, 01:50 AM
|
4 responses
41 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
1 response
11 views
0 likes
|
Last Post
by bltdavid
Today, 02:44 PM
|
||
Started by port119, Today, 02:43 PM
|
0 responses
1 view
0 likes
|
Last Post
by port119
Today, 02:43 PM
|
||
Started by Philippe56140, Today, 02:35 PM
|
0 responses
3 views
0 likes
|
Last Post Today, 02:35 PM | ||
Started by 00nevest, Today, 02:27 PM
|
0 responses
2 views
0 likes
|
Last Post
by 00nevest
Today, 02:27 PM
|
Comment