To complete a screener for one of my strategies I need the code for a (trigger)candle which is closed in the upper third of the candle. This is what I got so far.
Close in upper third of the candle
1
2
Trigger=high-low/3
Condition=Close>Trigger*2
I don’t know if I am on the right track, because the code seems not to work.
Maybe the ‘old friends’ #robertogozzi #GraHal or #Nicolas, who helped me out before, will take a look at this?
Marcel – Please try to use topic titles that describe your topic. I have changed the title from ‘Help to complete a screener’ to something more meaningful. 🙂
It’s line 1, which I did not check, doing the wrong math, becuse it first divides LOW by 3, then subtracts the result from high, which is wrong. replace it with one of these:
1
2
Trigger=(high-low)/3
Trigger=range/3
You can also add this indicator to easily spot candles that meet your criteria:
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.