OPEN-SOURCE SCRIPT

Ratio OCHL Averager - An Alternative to VWAP

Introduction

I had the idea to make this indicator thanks to dpanday with the support of coppermine and @Reika. Vwap is a non parametric indicator based on volume used by lot of traders and institutions, its non parametric particularity makes it great because it don't need to go through parameter optimization. Today i present a similar indicator called Ratio OCHL Averager based on exponential averaging by using the ratio of open-close to high-low range by using monthly high/low.

The Indicator

The indicator can more recursive by checking the "recursive" option, this allow to use the indicator output instead of the open price for the calculation of the ratio of open-close to high-low range. The result is a more reactive estimation,

Snapshot

The indicator reactivity change based on the time frame you are in, using higher time frame result in a more reactive indicator, however it is way less reactive than the vwap, this is a personal choice since i wanted this indicator to be smooth even with high time frames, if you want to change that you use another resolution for H and L in line 5,6.

Conclusion

I presented an alternative to vwap based on the Ratio OCHL indicator. I hope you like it and thanks for reading !

Thanks to Coppermine and Reika for the support during the creation of the indicator
adaptiveaveragefilterMoving AveragesochlrecursionTrend Analysis

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?


Check out the indicators we are making at luxalgo: tradingview.com/u/LuxAlgo/
Auch am:

Haftungsausschluss