ProScreener not agreeing with indicator
- This topic has 5 replies, 3 voices, and was last updated 3 years ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
Similar topics:
Forums › ProRealTime English forum › ProScreener support › ProScreener not agreeing with indicator
Good morning guys, i have an issue with my screener. The indicator in pro-builder works fine but then when i call the function in the screener it doesnt pick up some stocks that fit the criteria of the indicator. Below ive posted the code for the indicator and also the pro screener code. The stock im looking at is (GRBK (Green Brick Partners inc) where the stock fits the criteria for the indicator but doesnt get picked up by pro screener. Would appreciate any help you can give to tell me where im going wrong. As always, thanks in advance
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
daystoconfirmuptrend = 50 cPrc1 = (close > Average[daysToConfirmUpTrend](close) AND Close > close [1]) maxDay = 10 maxDownDay = 0 maxdown = 0 FOR d = 1 TO maxDay DO r = Close[d] - close[d+1] IF r <0 and volume[d]> maxDown THEN maxDown = volume[d] maxDownDay = d ENDIF NEXT IF maxDownday = 0 THEN maxDowndayVol=0 ELSE maxDowndayvol = volume[maxdownday] ENDIF cVol2 = (volume > maxDownDayvol) cVol3=(volume > average[50] (volume)) Cprc2 = (close >= Average[20](close)) Cprc3 = (close CROSSES OVER Average[10](close) OR Close CROSSES OVER Average[50](close)) cPrc11 = (close > low + ((high + low)/2)) ind1 = (cPrc1 AND cPrc2 AND (cPrc3 OR 1) AND cVol2 AND cvol3 and (cPrc11 OR 1)) RETURN ind1 COLOURED (0,0,200) AS "Pivot Pocket Vol50" Pro Screener code result=call "Pocket Pivot vol50" Screener[result] |
There was an issue with CALL from inside a screener, but it should have been fixed a few days ago.
Alfy – Please give your topics more meaningful titles. Your title has been edited.
Good morning Vonasi,the reason I didnt do that is that I’m not sure it is a CALL problem. I should have mentioned it in my post that even using the full code in screener comes up with the same problem not just using the call function.
Best regards
OK – so I changed it again to something more descriptive than ‘Pro Screener problem’. We have to avoid this sort of topic title otherwise we end up with forums full of ‘Indicator problem’, ‘Strategy problem’ and ‘Screener problem’ and then searching topics becomes pointless.
Find exclusive trading pro-tools on