I’ve created a screener, which first looks for matches on the daily chart, and then works with a minute timeframe data.
The trouble is, I can’t make ‘daily’ chart limitations to work properly. For example, I’ve a simple rule, which looks like this:
Candle Gap Up with current day Open above MA(20)
1
2
3
(Timeframe(1Day)
MA20=Average[20](close)
GapUp=open>close[1]andopen>open[1]andopen>MA20)
And I am expecting, that just this simple rule will match stocks like ALEC today and then my screener will conduct further 1 minute checks.
Yet it didn’t work as expected, and when I checked the code against ALEC, I can see that 1 minute rules works just fine, but once I reinstate daily condition – the screener stops working, stops showing matching 1 minute results.
Can someone suggest, what’s wrong with my code? And how should I edit the code, to be able to both check for stocks with GapUp while current open is above MA(20) and then check for conditions on 1 minute timeframe?
Thanks, Roberto! Turns out there were another glitch (I couldn’t get screener/indicator to work if my formulas operate with previous days Close no matter how I try) but we got around that limitation also.
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