♥ 0 |
I am looking for a script that can mark all HIGHs and LOWs as per the following definitions. Any help in this regard would be highly appreciated. HIGH: A new HIGH is established after a previous LOW when a candle closes below its predecessor candles after the most recent LOW. LOW: A new LOW is established after a previous HIGH when a candle closes above its predecessor candles after the most recent HIGH. An example is shown in the attached file.
Marked as spam
|
Please log in to post questions.
Based on the candles you have marked on the chart, this appears to be a bit more complex than you have described. Your screenshot is lacking ticker symbol, time frame and the date range at the bottom. So even though you provided great detail, it is useless. There is no way for me to replicate that chart on my side when I attempt to write code.
And it is unfortunate that I do not clearly understand the way you are describing this. I have read through your description several times and I have not been able to fully comprehend the set of rules that define these patterns. In particular “closes below its predecessor candles”. I am really lost here. What constitutes “it’s predecessor candles”. When I go to your screenshot it appears you are talking about the first bar to close below the low of any previous candle. But when I check all of the signals you have marked I find exceptions to that.
I’m not sure we can bridge this gap.