I did screener with stochastic criteria and other one with MACD criteria . how i can merge them so that both meet both of he criteria. I tried to merge them and I got a combination filters from both
example
first screener get me
EURUSD
GBPUSD
NZDJPY
Second screener get me
AUDUSD
GBPUSD
EURCAD
NZDUSD
NZDJPY
One i merge them i got all above pairs where as i am expecting to get only GBPUSD and NZDJPY
blow code for merged screener as below
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
rEM The following code is related to this timescale:weekly
TIMEFRAME(weekly)
indicator1=Stochastic[9,3](close)
indicator2=MACD[8,17,9](close)
c1=(indicator1>50)
c2=(indicator2>0)
REM The following code is related to this timescale:daily
TIMEFRAME(daily)
indicator3=Stochastic[9,3](close)
indicator4=MACD[8,17,9](close)
c3=(indicator3>50)
c4=(indicator4>0)
REM The following code is related to this timescale:4 hours
Hi, you can’t write 2 lines starting with keyword “screener”, you have to merge all your screening conditions into a single last line starting with “screener”:
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