Advice on a prorealtime pro screener request

ptbhacker

Newbie
Messages
2
Likes
0
Hello
I'm trying to create a price/MACD divergence screener but the code has me stumped . Would anyone have some insight they could offer? Thanks.
I have the price section relatively sorted but I cant see how to apply this to MACD:

High10 = Highest[10](High)
Low10 = Lowest[10](Low)


C1 = (High10 < High10[21])
C2 = (Low10 > Low10[11])
C3 = (High10 > High10[11])



SCREENER[c1 AND c2 AND c3]

Any advice appreciated

Regards
Pete
 
Top