Support and Resistance Levels augmanted and reprocessed
This is an augmented version of my earlier script that can be found here:
This time it features zigzag and channel lines, signal generation and filtering and performance testing. Signal generation and filtering procedures are used only for performance testing, not for the actual labelling....
Function: labelling recent highs and lows automatically. Easy and clean.
In this example, we can see the previous low of the ticker is around 105.5, the previous high is around 120.
We can set up our entries and exits by referring to the last lows and highs.
Users can adjust the searching bar range by themselves.
This simple strategy demonstrates the use of Pine Script version 4 "label" feature to show status box.
This box can display anything, in this case it shows current market position, current profit and close price. It renders the box in green if profit is positive, red if negative and blue if neutral.
This is a full-fledged implementation of a system presented in an unique research paper 'Profitability of Candlestick Charting Patterns in the Stock Exchange of Thailand' (2017) on candlestick charting, candlestick patterns, trend identification methods, and testing.
You can easily find this paper in the Web. For example, visit: www.researchgate.net
This is a labelling module based on a range filter . Notice that the trick here is to use fibonachi numbers . Use smaller range multiplier for higher TFs. This module may serve as a signal generator to be passed through a signal filter.
Quote from the original author:
This is an experimental study designed to filter out minor price action for a clearer view...
Oftentimes a single look at the candlestick configuration happens to be enough to understand what is going on. The chandlestick function is an experiment in smart labelling that produces candles for various time frames, not only for the fixed 1m, 3m , 5m, 15m, etc. ones, and helps in decision-making when eye-balling the chart. This function generates up to 12 last...