OPEN-SOURCE SCRIPT

Time Weighted Average Price (TWAP)

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 on.


References:
empirica.io/blog/twap-strategy/
arxiv.org/ftp/arxiv/papers/1206/1206.5324.pdf

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


My published indicators: tradingview.com/u/NeoButane/

Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
更多:

免責聲明