NexusFi: Find Your Edge


Home Menu

 





TWAP and VWAP


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one bomberone1 with 9 posts (0 thanks)
    2. looks_two Fat Tails with 5 posts (12 thanks)
    3. looks_3 courier12 with 3 posts (0 thanks)
    4. looks_4 NickA with 2 posts (1 thanks)
      Best Posters
    1. looks_one Fat Tails with 2.4 thanks per post
    2. looks_two treydog999 with 1 thanks per post
    3. looks_3 Big Mike with 0.5 thanks per post
    4. looks_4 NickA with 0.5 thanks per post
    1. trending_up 36,765 views
    2. thumb_up 15 thanks given
    3. group 11 followers
    1. forum 27 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 bomberone1 
London
 
Experience: Beginner
Platform: MultiCharts
Posts: 277 since Nov 2010
Thanks Given: 14
Thanks Received: 31

Folks could someone post code an indicator like these or translate the code from ninja into multicharts.
i find it he section of download indicaotr of ninja

free_downloads/ninjatrader-7/indicators/674-download.html?view


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
Hormuz Surges From 14% to 26.5% Intraday as Irans Answer …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
15 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
Doctor Leo
St. Petersburg, Russia
 
Posts: 30 since Nov 2010
Thanks Given: 6
Thanks Received: 20


Hello,

hope this helps: Trader-Online.pl® - TradeStation™ Zone - Volume Weighted Average Price

Also google has many links to various implementations of the same idea, please feel free to do a search.


Reply With Quote
  #4 (permalink)
 bomberone1 
London
 
Experience: Beginner
Platform: MultiCharts
Posts: 277 since Nov 2010
Thanks Given: 14
Thanks Received: 31

Thanks, now i am searching twap in easylanguage... strange that no one has coded it...


Started this thread Reply With Quote
  #5 (permalink)
Doctor Leo
St. Petersburg, Russia
 
Posts: 30 since Nov 2010
Thanks Given: 6
Thanks Received: 20

Time Weighted Average Price - Wikipedia, the free encyclopedia

Not sure you haven't confused the simple moving average (which is TWAP in its essence) and TWAP trading method. Please check with the article in Wikipedia and we could start from there.


Reply With Quote
  #6 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117


Doctor Leo View Post
Time Weighted Average Price - Wikipedia, the free encyclopedia

Not sure you haven't confused the simple moving average (which is TWAP in its essence) and TWAP trading method. Please check with the article in Wikipedia and we could start from there.

Both VWAP and TWAP relate to a session, which means that both have an anchor point, where the calculations start. The TWAP is an anchored SMA with an increasing length, the VWAP is an anchored VWMA with an increasing length.

If you apply a TWAP to a fixed period chart (for example a 5 min chart), all bars have an equal weight and the TWAP is calculated as the arithmetic average of all typical prices (or closing prices).

However, if you apply a TWAP to a range, a tick or a volume chart, the TWAP becomes a time-weighted average. This means that each bar is attributed a weight corresponding to its duration = time stamp of last tick of current bar minus time stamp of last tick of previous bar. These weights are then used to calculate the arithmetic average from the typical prices of all bars within the session.

So VWAP and TWAP are similar in their construction as weighted averages, however

- VWAP becomes a standard arithmetic average on a volume chart
- TWAP becomes a standard arithmetic average on a fixed period chart


Reply With Quote
  #7 (permalink)
 bomberone1 
London
 
Experience: Beginner
Platform: MultiCharts
Posts: 277 since Nov 2010
Thanks Given: 14
Thanks Received: 31

DO you have in easylanguage code to plot it in multicharts?


Started this thread Reply With Quote
  #8 (permalink)
 bomberone1 
London
 
Experience: Beginner
Platform: MultiCharts
Posts: 277 since Nov 2010
Thanks Given: 14
Thanks Received: 31

So I am searching both twap indicator in easylanguage both twap trading metod.

I see a video that a folk manage to make a vwap multiday, it's called n vwap.


COuld someone code it please?


Started this thread Reply With Quote
  #9 (permalink)
 bomberone1 
London
 
Experience: Beginner
Platform: MultiCharts
Posts: 277 since Nov 2010
Thanks Given: 14
Thanks Received: 31

The code is already done, but i don't know c#

https://nexusfi.com/free_downloads/ninjatrader-7/indicators/674-download.html?view

could someone olease code twap?


Started this thread Reply With Quote
  #10 (permalink)
 bomberone1 
London
 
Experience: Beginner
Platform: MultiCharts
Posts: 277 since Nov 2010
Thanks Given: 14
Thanks Received: 31


UP


Started this thread Reply With Quote




Last Updated on May 7, 2015


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts