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 NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
72 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
143 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
76 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
47 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
51 views
0 likes
|
Last Post
|

Comment