If I run a screener based on a stochastic[3,1] against any timeframe other than weekly I get the correct values. Running this against Weekly though is giving invalid results, so I broke it down and it seems teh value we output when we call stochastic[3,1] as a function is different in the indicator and the screener for a weekly timeframe.
I then coded the stochastic manually to check it wasn’t a bug in the stochastic function and got the same result – so I tested the (high) and (low) price values I get and there seems to be a difference between what we return on the indicator and the screener (and also for low).
Can someone help me out ? I am using PRT 10.2 with real time data, issue only seems to be for currencies (that I’ve noticed – indices that I checked eg DOW seemed ok).
Let me know if you need any clarification
Simplest check is to run this in screener :
1
2
3
vH=high[1]
test=1
SCREENER[test](vHAS"High")
I compared to a simple indicator on weekly chart:
1
2
vh=high
return(vh)
Also I noticed the screener value for high[1] is updating pretty frequently when the previous candle high shouldn’t change that much on Weekly timeframe…
I’m using PRT through IG, so have their live data feed. I have only seen the issue when looking at currency pairs – it seems to return the correct data for indices, I haven’t checked shares.
I have checked this morning and the data seems correct now. So it was either a temporary issue last night, or there is a problem around weekly candle open on Sunday evenings.
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