HA,Renko, Linebreak,Kagi and Average all Charts Layouts in One This is an educational study, using the security functions provided by @PineCoders(big thanks to them for creating this ) in order to see the difference between multiple candle close plots using:
Heikin Ashi
Renko
Linebreak
Kagi
Average of them all.
Both the different securities and the average can be used as a source for different indicators like moving averages or oscillators getting with them some new and unique opportunities.
If you have any questions, let me know !
Kagi
Kagi Implementation (+ATR)My Own Kagi Indicator Implementation!
I couldn't find anywhere on the internet a simple implementation of the Kagi indicator (apart from a seemingly complicated JavaScript implementation).
So I decided to implement it myself and test it against the built-in Kagi indicator calculated by the built-in security function - They ended up exactly the same! (You can see my orange plot completely covers the security's purple plot)
My calculations are based on this article from a site called "euroland", the article is called "Kagi Chart" (I can't post the link because of TradingView restrictions)
Bonus: The built-in kagi indicator uses only Fixed Amount Reversal Size. One that is interested in an ATR Reversal Size can modify the calculation a bit (see script's comments) to easily create and use it.
Some interesting info about the security function I discovered while doing this script:
After I implemented it I noticed that my calculations are the same except the fact that all my values are delayed by 1 bar (relative to the security's indicator). After some research I discovered that the security function uses future data in it's calculation and therefore it cannot be trusted for testing live-trading strategies, unless it is given the appropriate parameters (see script for example).
Have fun trading and don't lose money!
[RESEARCH] Chart Type IdentifierA viable and workable concept of chart type identification using Pine Script.
Was wollen wir trinken , sieben Tage lang
Was wollen wir trinken, so ein Durst!
Was wollen wir trinken, sieben Tage lang
Was wollen wir trinken, so ein Durst!
[RESEARCH] Kagi Chart IdentifierA heuristic approach to identify Kagi chart type.
This tool allows to identify:
ATR Kagi charts (see ^)
Traditional Kagi charts
Works correctly with other chart types:
Classic Candles
Heikin-Ashi
Line Break
PnF
ATR Renko
Traditional Renko
Range Bars
Do not forget @everget
[STUDY]Kagi Emulator OCC & SL/TP V3This is the script with alerts for the previous backtest.
Modify "reversal" according to the pair
It has take profit and stop loss too.
Thanks and Enjoy...
Kagi Overlay [DW]This is a simple study that plots kagi values over your current chart. Works with both price action and time based charting.
NOTE: Because higher timeframe values are not certain until closed, refresh your chart as new levels are drawn.