Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Buy Sell Pressure Indicator Not Taking Trades
Collapse
X
-
Buy Sell Pressure Indicator Not Taking Trades
I set up my strategy using the Buy Sell Pressure Indicator to go long when over (buy pressure)58 and go short when over (sell pressure)58. It is not taking any trades in real time for some reason. I set it up in Condition and Actions. The condition is If Any, I then checked plot on chart, then I put Greater and then I said Misc numerical value 58. I did this for both buy and sell pressure. Any ideas on something I'm missing?Tags: None
-
Hello Sadat,
Thanks for opening the thread.
In order to better understand the code generated by the Strategy Builder and how it is executing, I recommend adding debugging prints to your strategy. By adding prints for the values used to evaluate your conditions outside of those conditions, you can observe if logic is becoming true and allowing your order submission methods to fire.
If you are seeing your order submission logic being reached, but it is not executing, there may be an issue where the strategy is already in a virtual position that is not allowing you to re-enter. TraceOrders can be enabled in the strategy so it prints its order feedback, and you may also observe the log tab of the Control Center for additional hints.
Some items to check when you are taking debugging steps:- Are your conditions allowing your order submission methods to be reached?
- By printing the strategy's current market position, is the strategy currently in a position that is preventing it from submitting another entry order?
- Do you see any errors in the log tab of the Control Center or does Trace Orders give you any feedback?
Debugging with the Strategy Builder - https://www.screencast.com/t/8uvjfM8h
Strategy vs. Account Position - https://ninjatrader.com/support/help..._account_p.htm
Managed Approach - https://ninjatrader.com/support/help...d_approach.htm
TraceOrders - https://ninjatrader.com/support/help...aceorders2.htm
I also recommend using the Playback connection to mimic realtime data and playback occurrences as if they were live. This can help to repeat scenarios when debugging.
Playback Connection - https://ninjatrader.com/support/help...connection.htm
Please let us know if there is anything else we can do to help.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
52 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
70 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
48 views
0 likes
|
Last Post
|

Comment