I am attempting to create a strategy similar to one I saw on youtube (open source). It plots the most recent HH (resets after x bars (say 10) to most recent HH and a possible Entry Price (= L (of the candle w/HH) – 2 * ATR20). I also want to add an UpArrow when a candle closes below the plotted Entry Price (a ‘buy’ signal); a DownArrow (‘sell’) when the close of a subsequent (after buy signal) candle closes above the previous x (ex 2) candles. I’m new to this and so far I’ve coded the HH only.
The attached image shows the HH plotted and displays a horizontal yellow line at the Entry Price based on the L of the candle with the HH.
Pete – with all the great script you have archived, I’m thinking something close exists and you can maybe point me in the right direction? Thank you.
Marked as spam
Please log in to post questions.