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 31,324 views
    2. thumb_up 15 thanks given
    3. group 11 followers
    1. forum 27 posts
    2. attach_file 0 attachments




 
Search this Thread

TWAP and VWAP

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

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?
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #3 (permalink)
Doctor Leo
St. Petersburg, Russia
 
Posts: 30 since Nov 2010
Thanks Given: 6
Thanks Received: 19


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: 29

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: 19

Time [AUTOLINK]Weighted Average Price[/AUTOLINK] - 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
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Doctor Leo View Post
Time [AUTOLINK]Weighted Average Price[/AUTOLINK] - 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: 29

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: 29

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: 29

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



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: 29


UP

Started this thread Reply With Quote




Last Updated on May 7, 2015


© 2024 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 - Privacy Policy - Downloads - Top
no new posts