I am trying to create a condition for a strategy where when the distance between the vwap and the first standard deviation is greater than a certain value than my strategy can go long or short. How would I put this into the strategy builder?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Distance Condition
Collapse
X
-
Distance Condition
Hello,
I am trying to create a condition for a strategy where when the distance between the vwap and the first standard deviation is greater than a certain value than my strategy can go long or short. How would I put this into the strategy builder?Tags: None
-
Hello TDHarris,
Thanks for your post.
The Order Flow VWAP indicator is not accessible in the Strategy Builder due to the complexity of the indicator's code.
To use the Order Flow VWAP indicator in a custom NinjaScript strategy, you would need to unlock the code from the Strategy Builder using the 'Unlock code' button and manually program the logic into your strategy.
Please see the help guide page linked below about how to access the Order Flow VWAP indicator in a custom NinjaScript and sample code.
Order Flow VWAP: https://ninjatrader.com/support/help...flow_vwap2.htm
Let me know if I may assist further.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
-
Hello TDHarris5,
Thanks for your note.
The Strategy Builder custom series can be used with offsets to do math and subtract the total PnL from yesterday's PnL to get the current PnL and provided an example of how to set a Daily Loss Limit using the Strategy Builder.
Please see the example script, DailyLossLimitBuilderExample, in the forum post linked below for how this would be accomplished.
https://ninjatrader.com/support/foru...limit-examples
Let us know if we may assist further.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
50 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
69 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment