Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Vwap EA
Collapse
X
-
Vwap EA
I am looking to paint a signal/enter trade once the market moves so many ticks/pips away from my vwap indicator. In strategy builder how would I instruct the EA to paint an arrow/entry once I am X ticks/pips away from the Vwap line? Thank you for your help.Tags: None
-
Hello gregorious13,
Do you have custom indicator called EA?
Are you actually talking about the EMA (Exponential Moving Average)
Are you using a custom VWAP indicator?
As a heads up the Order Flow VWAP cannot be used in the Strategy Builder. The script must be unlocked and coded by hand.
In an unlocked script using the Order Flow WVAP as the input series to the EMA indicator would appear as:
In the scope of the class:
In State.Configure:Code:private EMA myEMA; private OrderFlowVWAP myOFVWAP;
In State.DataLoaded:Code:AddDataSeries(Data.BarsPeriodType.Tick, 1);
in OnBarUpdate():Code:myOFVWAP = OrderFlowVWAP(VWAPResolution.Standard, TradingHours.String2TradingHours("CME US Index Futures RTH"), VWAPStandardDeviations.Three, 1, 2, 3); myEMA = EMA(myOFVWAP.VWAP, 14);
Below are links to the help guide.Code:Print(string.Format("{0} | myEMA[0]: {1}", Time[0], myEMA[0]));
https://ninjatrader.com/support/help...flow_vwap2.htm
https://ninjatrader.com/support/help...onential_e.htm
If you are using 3rd party scripts, inquire with the vendor or author if the script made by the 3rd party is designed for use with the Strategy Builder.Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
58 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
34 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
197 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
362 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
282 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment