Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy builder not working
Collapse
X
-
Strategy builder not working
I wanted to create a take profit target that was as big as the candle before the entry. I did so by using this formula: "ExitLongLimit(DefaultQuantity, (High[1] + ((High[1] - Low[1])) ))" (for long trades), and it initially places the order where i want it to be, but then it moves higher as soon as the next candle begins if the order was not filled within the first one. I tried to write the exact same thing in the stop loss and profit target section but when i try to backest the strategy it places 0 orders, and if i try to use it in replay mode it refuses to activate. I can share the code and other issues i have with it if necessary.Tags: None
-
Hello Igor Miti,
Thank you for your post.
To get a better understanding of why nothing happens when you test in the Strategy Analyzer, please answer all of the following questions:- What version of NinjaTrader are you using? Please provide the entire version number. This can be found under Help -> About (Example: 8.?.?.?)
- Do you see similar results when running the same test on the SampleMaCrossOver strategy in NinjaTrader with the same settings as your strategy?
- Who are you connected to? This is displayed in green in the lower-left corner of the Control Center window.
- Are you connected to your data feed provider when running this test?
- What instrument(s) (and expiry if applicable) have you selected?
- What Data Series Type have you selected? Example: Tick, Minute, Day
- What From and To date is selected?
- If you open a chart for the same instrument(s) and the same date range, then right-click the chart and select 'Reload all historical data' is the historical data showing on the chart?
- Is your strategy a multi-instrument or multi-time frame strategy?
- Do you receive an error on the screen? Are there errors on the Log tab of the Control Center? If so, what do these errors report?
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
47 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
23 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
33 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
51 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment