Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Using Buy Sell Pressure Indicator To Run A Strategy
Collapse
X
-
Using Buy Sell Pressure Indicator To Run A Strategy
I'm using the Buy Sell Pressure Indicator to set up a strategy and I can not figure out how set up the If Any part in Conditions and Actions. I want to trigger a long position if the buy pressure goes above 58% and after that a short position if the sell pressure goes above 58%.Tags: None
-
Hello Sadat,
You would need two conditions sets. One condition set that compares Indicator -> BuySellPressure -> BuyPressure plot to be greater than Misc -> Numeric value set to 58. The action for this condition set will be Order Management -> Enter long position.
The second condition set will be comparing the SellPressure to be greater than 58 and the action will be to place Enter short position.
One thing to note, is that the BuySellPressure Indicator only works in real-time. So you would likely want to prevent your script from working historically or being backtested. (Or use TickReplay)
I highly recommend you review the Strategy Builder 301 video which demonstrates how to use the Strategy Builder.
Below is a public to this training video.
Chelsea B.NinjaTrader Customer Service
-
Hello Sadat,
Using a print added in an empty condition set that prints the value of BuySellPressure().BuyPressure[0], I found the value is always 50.
Then I found a comment in the indicator code.
"/// This is a tick by tick indicator. If 'Calculate on bar close' is true, the indicator values will always be 100."
This should actually say:
"This is a tick by tick indicator. If 'Calculate' is .OnBarClose or .OnPriceChange, the indicator values will always be 50."
The gist is, your strategy needs to be Calculate.OnEachTick to use this indicator.Chelsea B.NinjaTrader Customer Service
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
54 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
72 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
49 views
0 likes
|
Last Post
|

Comment