TradingView
jaggedsoft
25 mar 2020 19:58

TWAP Trend 

Bitcoin / US Dollar IndexBitMEX

Beskrivning

Here we are experimenting with using TWAP for trend analysis. It appears to work better than VWAP on lower timeframes.

TWAP is a tool used by algorithm based traders that allows them to distribute their orders throughout the day without disturbing price or having their positions known to rival traders in the market. It's similar to VWAP and serves the same function, except it lacks the volume aspect. This can be an issue when position entry/exit may be affected by slippage.

The main benefit of TWAP is deciding how to distribute orders throughout the chosen timeframe. However, just like the VWAP traders will normally use it as a moving average or target for price action to pull into.
There is an option to change the timeframe that TWAP is calculated from.

Originally by NeoButane: tradingview.com/script/sGAroKcK-Time-Weighted-Average-Price-TWAP/
Kommentarer
botforcookie
Hi, this is an awesome indicator! Anyone know how to set an alert on the buy signal? I've tried every combo, and it doesn't seem to work. Th
peterscottth
This is really interesting on high timeframes. Do you have a strategy for this so it can be backtested?
Maximilianned
This is one the simplest yet most powerful indicators out there.

The power is the ability to apply it to other indicators makes them twice as good.

Gratitude to you Jaggedsoft.
MartinWeb
@Maximilianned, do you have an example on how you would use it with other indicators?
VirtualJack
Thank you. Works very well. :)
muditZXX
This indicator repaints! I've tested it on 5min, 15min, and 1hr timeframe and it repaints. Please can you make some changes to the code so that it does not repaint?
moneygoon
@muditZXX, yes it does it is not a good indicator.
filip8194
Hi, is there any chance to get this code in python to run backtest?
dc_analytics
very beautiful indicator, easy to interpret
jaggedsoft
Related: MVWAP Trend for reliable long term trend detection tradingview.com/script/pUW1f3Fm-MVWAP-Trend-SharkCIA/
Mer