No results proscreener
Forums › ProRealTime English forum › ProScreener support › No results proscreener
- This topic has 11 replies, 4 voices, and was last updated 4 years ago by robertogozzi.
-
-
02/19/2019 at 1:43 PM #91748
Hello guys, I’m having problems with this proscreener and I don’t know the reason why.
Here’s the code:
12345678910timeframe (daily)indicator=((close-close[252])/(highest[252](high)-lowest[252](low)))*100smooth=average[5](indicator)signal=average[5](smooth)c1=smooth>signalc2=smooth>50 and smooth>80SCREENER [C1 and c2]As you see I’ve put an operation in the condition “indicator”, then i apply a smoothing to it with the condition “smooth”, and then a further smoothing of “smooth” that gives me the “signal” line.
This indicator sets possible results that runs from -100 to +100.
In this screener for example i want to research stocks with results from 50 to 80, and with the smooth> of the signal line (c1 and c2).
The fact is that it gives me no results, while if I just search for “indicator”, proscreener works.
I don’t know why it doesn’t work with the averages applied to indicator.
I have also tried with the instruction “call” but it doesnt’ work the same.
Does anyone know the reason why or can suggests me how can I make it work?
Thanks in advance
Max
02/19/2019 at 3:54 PM #9175402/19/2019 at 5:50 PM #9176702/19/2019 at 6:07 PM #91771Are you sure that any of the instruments that you screen actual meet the criteria?
Convert the screener to an indicator like this and find an instrument that meets the conditions today to test it on. I tested it on the DJI and it last met both conditions in September 2018.
1234567891011121314indicator=((close-close[252])/(highest[252](high)-lowest[252](low)))*100smooth=average[5](indicator)signal=average[5](smooth)c1=smooth>signalc2=smooth>50 and smooth<80flag = 0if c1 and c2 thenflag = 1endifreturn flag coloured(0,0,255) style(histogram,2)02/19/2019 at 6:27 PM #91773Yes Vonasi, I did, I’ve also used your indicator now, I found there’s stocks that right now meets the criteria as you see in the pic.
Actually as i wrote proscreener seems to not be able to find results of the condition “smooth” and “signal”,
so the moving averages applied, because if I only use “indicator”, it works.
That may be a bug of proscreener?
02/19/2019 at 6:48 PM #9177602/19/2019 at 8:19 PM #9178102/19/2019 at 8:41 PM #9178204/03/2020 at 11:32 AM #124463I also have an issue regarding “no results” when exercising proscreener. In the following examples nothing happens:
12345678REM Calculate the RSI indicator on 14 day barsmyRSI = RSI[14]REM Our filter condition: RSI < 30Filter = myRSI < 50REM Sorting criteria: myRSISCREENER [ Filter ] (myRSI AS "RSI")Same if I simplify the code to this:
simple code1234Filter = (close[0]/close[1])<0.9REM We keep the most serious advancesSCREENER [ Filter ]All boxes of shares and indices are checked.
Thanks for your help!
04/03/2020 at 11:52 AM #1244650.9 is way too much!
It’s a huge difference (10% in just one candle!). In DAX it would be almost 1K pips!!!
04/03/2020 at 2:53 PM #12449504/03/2020 at 3:15 PM #124498With your first screener (MyRsi) I am reported so many results!
The second screener returns less than 50 items on NASDAQ using <0.95, while it still returms nothing on italian shares and forex.
The screeners are correct. It’s just a question of settings.
-
AuthorPosts
Find exclusive trading pro-tools on