KioseffTrading

ZWAP (ZigZag Anchored VWAP) [Kioseff Trading]

KioseffTrading Wizard Atualizado   
Hello!

Quick script showcasing the new polyline function for Pine Script!

Features
  • Up to 100 high/low pivot points auto anchored VWAP
  • Visible range auto anchored VWAP
  • Curved ZigZag (Adjustable!)

With the new polyline function, auto-anchored VWAP at specific price points is more viable.

When using line.new() only 500 lines can exist on the chart concurrently and, since VWAP is calculated on every update, a "proper" VWAP drawn using line.new() can extend 500 bars at most, to which no additional VWAP lines can be drawn after.

Of course, when using the plot() function a VWAP line will draw on every bar; however, this method isn't highly compatible with auto-anchoring VWAP lines.

However!

A polyline, from beginning to end irrespective of the number of coordinates used, constitutes 1 polyline; 100 can exist simultaneously with 10,000 xy coordinates per line.


The image above shows an attempt to draw the same auto-anchored VWAP lines using the line.new() function. Not an ideal outcome!


The image above shows the same attempt using the polyline.new() function!

Very nice (:


The image above shows the indicator auto anchoring to zig zag turning points.

Subsequent to a new anchoring, VWAP is calculated for the following bars - up to the current bar.

Thank you for checking this out; if you have any ideas to spice it up feel free to comment!

Notas de Lançamento:
Updated chart
Notas de Lançamento:
Greatly improved efficiency on lower timeframes

•Access to Next-Gen Optimization Tools: www.kiosefftrading.com

•Discord Server: discord.gg/3cKVU28Z9Z
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?