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:
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue