VWAP Strategy on Tradetron — Complete Build Guide (With Averaging & Partial Exit Logic)
VWAP Strategy on Tradetron — Complete Build Guide (With Averaging & Partial Exit Logic)
What Is a VWAP Strategy and Why Does It Work?
If you've been searching for a systematic, rule-based approach to positional trading, VWAP is one of the cleanest tools available. VWAP stands for Volume Weighted Average Price — think of it simply as the average price a stock has traded at throughout the day, weighted by volume.
The logic is straightforward: when price is trading above VWAP, the market is in a bullish zone. When price is below VWAP, the market is bearish. Traders and institutions use this as a reference point to gauge whether a stock is trending strong or weak on any given day.
In this guide, we're going to build a complete, automated VWAP strategy on Tradetron's Advanced Strategy Builder — from the entry trigger all the way to partial exits, and full position management. This is a positional strategy, meaning we stay with the trend and build our position gradually as the trade develops.

Strategy Logic — Explained Simply
Before we open the strategy builder, let's make sure the logic is crystal clear.
The Core Idea
When a stock crosses above VWAP, we get a buy signal. When it crosses below VWAP, we get a sell signal. Instead of entering with a large position at once, we start small and add to the position as price moves slightly against us — this is called averaging or pyramiding into a trade.
Entry Condition
We use a two-candle VWAP crossover on the 15-minute timeframe to confirm the signal. This means:
- The previous candle (candle -2) must be on one side of VWAP
- The most recent completed candle (candle -1) must have crossed to the other side
This two-candle confirmation filters out false signals and ensures we're entering on a genuine crossover, not just a wick.
Position Averaging — Adding on Dips
Once we're in a trade, if price moves 0.11% against us, we add one more quantity. If it moves another 0.11% further, we add again. This continues as long as the VWAP trend direction holds. The idea is to lower our average entry price so that when the market eventually moves in our favor, we profit faster.

Profit Booking — Two-Stage Exit
We exit in two stages:
Stage 1 — At 0.5% profit from the latest entry price, we exit 50% of our total quantity. This locks in partial profit while keeping us in the trade for more upside. Note — this partial exit only activates if we have averaged at least once. If price went straight up without dipping first, we skip this stage and wait for the full target.
Stage 2 — At 1% profit from the latest entry price, we exit all remaining quantity. This is the full target.
Trend Reversal Exit
If price crosses VWAP in the opposite direction at any point, we exit everything immediately — no waiting, no hesitation. A VWAP crossover in the other direction means the trend has changed, and our trade thesis is no longer valid.
No Fixed Stop Loss
This strategy does not use a traditional stop loss. Risk is managed through VWAP direction — the moment the trend reverses (price crosses VWAP the other way), all positions are closed. The gradual averaging approach also helps manage risk by spreading entry across multiple price levels rather than committing the full position at once.
Multi-Stock Execution
This strategy runs simultaneously on a list of stocks — in our case, the US_list on Tradetron. That means the system scans every stock in the list and takes trades wherever the VWAP crossover condition is met.

Building the Strategy on Tradetron — Part 1 (Entry Logic)
Now let's build this inside Tradetron.
Step 1 — Create the Strategy
From the Tradetron dashboard, click on Advanced Strategy Builder. Give your strategy a name — we're calling it VWAP Strategy. Click on Add New Set. We'll be using two sets: Set 1 for the bullish side and Set 2 for the bearish side.

Step 2 — Set Up Set 1 (Bullish Entry)
Select US_list as the underlying instrument list. Click on Add and choose the Position keyword. Under Position, select VWAP Series — this lets us work with VWAP values based on a fixed timeframe. Set the candle position to -1 (the most recently completed candle) and select 15 minutes as the timeframe. Choose NASDAQ Equity and US_list as the instrument.
Now add a second condition — select Close on the 15-minute timeframe for the same US_list.
Set the condition: Close is greater than VWAP.


Step 3 — Add the Crossover Confirmation
Copy the same condition block. Change the candle reference from -1 to -2, and change the operator from greater than to less than.
Now your entry condition reads:
- Candle -1: Close is greater than VWAP (current candle is above VWAP)
- Candle -2: Close is less than VWAP (previous candle was below VWAP)
This is a confirmed bullish VWAP crossover.

Step 4 — Add the Buy Position
Click Add under the position builder. Set quantity to 1 and action to Buy. Save.

Step 5 — Create Set 2 (Bearish Entry)
Copy Set 1 and paste it as Set 2. Now reverse all the conditions — wherever you used greater than, change it to less than, and vice versa. In the position builder, change Buy to Sell. This gives us the bearish VWAP crossover entry.


Step 6 — Create the Entry Price Runtime Variable
At the time of entry, we need to store the current price of the stock in a variable. This variable will be used later to calculate the 0.11% averaging trigger and the profit targets.
Click on Add Variable and name it:
|US_list|_entry_price
Click on FX, select LTP (Last Traded Price), and choose US_list as the instrument. Submit and save.
Copy this variable and paste it into Set 2 as well — both sets need to capture the entry price at the time of trade.



Building the Strategy on Tradetron — Part 2 (Repair Logic & Exits)
Step 7 — Quantity Averaging with Repair Continuous
This is where we build the 0.11% averaging logic.
Click on Add Repair and change the type to Repair Continuous.
Add the following condition: LTP of US_list is less than |US_list|_entry_price × 0.9989
This checks if the price has dropped 0.11% from the last stored entry price. When true, the system adds one more quantity automatically.


Copy the runtime variable from Entry(S1 E)to Repair Continuous(S 1 R1)

Now create a second runtime variable inside this Repair Continuous block:
|US_list|_qty_inc_price
This stores the price at which each averaging trade was executed. It will be used later as the reference point for our profit targets and as a confirmation gate for the 50% exit.
In the position builder of this repair block, add quantity 1.

Step 8 — 50% Profit Booking at 0.5%
Copy the Repair Continuous block and paste it again. Now modify the condition:
Change the operator from less than to greater than, and multiply by 1.005 instead of 0.9989.
New condition: LTP of US_list is greater than |US_list|_entry_price × 1.005
This triggers when price is 0.5% above the last entry price.
Also add |US_list|_qty_inc_price as an additional condition in this block. This acts as a gate — the 50% exit will only activate after at least one averaging trade has happened (because until then, this variable has no stored value and the condition stays false).

In the position builder for this exit, set the quantity using the FX formula:
Round ( Net Quantity ÷ 2 ÷ Multiplier )
This exits exactly half the active position, adjusted for any deployment multiplier.


Step 9 — Full Exit at 1% Profit and on VWAP Reversal
Now let's build the exit conditions.
Copy the entry conditions and paste them into the exit section. Reverse all the comparison signs. This creates a VWAP crossover exit in the opposite direction — our trend reversal exit.
Add one more exit condition:
LTP of US_list is greater than |US_list|_qty_inc_price × 1.01
This is the 1% profit target from the latest averaging price. When hit, all remaining quantity is closed.

Step 10 — Set 2 (Bearish) Repair and Exit Logic
Apply the exact same repair and exit structure to Set 2. The only difference — in the position builder for the 50% exit on the bearish set, use the Absolute value of Net Quantity before dividing by 2. This is necessary because sell positions carry negative quantities, and the system needs a positive number to calculate the exit correctly.

Step 11 — Reset Variables on Exit
This is a critical step that many builders miss. When a trade cycle completes, all stored runtime variables must be reset to 0. If they aren't cleared, the next entry cycle may use stale data from the previous trade.
Copy all the runtime variables you created — |US_list|_entry_price and |US_list|_qty_inc_price — and paste them into the Exit Runtime Variable section for both Set 1 and Set 2. Change their stored value from LTP to 0.
This ensures every new cycle starts completely fresh.


How the Full Strategy Flows — Summary
Here's the complete picture of how this strategy runs from start to finish:
- The system scans all stocks in US_list every 15 minutes for a VWAP crossover for entry
- On a confirmed crossover, it enters with quantity 1 and stores the entry price
- If price dips 0.11%, it averages in with another quantity and updates the averaging price
- This averaging continues on each 0.11% dip as long as VWAP trend direction holds
- Once at least one averaging trade has occurred, the 50% exit activates at 0.5% profit
- At 1% profit from the latest averaging price, all remaining quantity is exited
- If price crosses VWAP in the opposite direction at any point, everything exits immediately
- All variables reset to 0, and the strategy waits for the next crossover
Key Points to Remember
Using runtime variables correctly is what makes this strategy work. The |US_list|_entry_price variable must be updated after each repair trade — if it isn't, the 0.11% condition won't shift with price and could fire continuously.
The |US_list|_qty_inc_price variable acts as a gatekeeper for the 50% profit exit. Without it, the system might attempt a partial exit immediately after entry, before any averaging has happened.
Dividing by the multiplier in the quantity formula is essential if you plan to deploy this strategy with a multiplier. Skipping this step causes the system to over-calculate the exit quantity.
Resetting variables to 0 on exit is non-negotiable. It keeps every trade cycle independent and prevents data bleed between cycles.
Try This Strategy Yourself
You can duplicate this strategy directly on Tradetron using the link in the video description. Review the full build series in the playlist before deploying on live markets.
▶️ Watch the full playlist: https://www.youtube.com/playlist?list=PLbaK-IXrHgNKLf2sUKts9KlDWt0C-A3Uu
Updated on: 08/05/2026
Thank you!
