I am new to the Prorealtime programming. I am a programmer by professional. But I am not sure how to translate trading in to coding. If you can help me to learn, I would like to contribute here as well (Have few sparetime) 🙂
My question:
How to find my exponential moving average 8, 21, 50 are in numerical order or not?
Hi Delta, sorry for not answering earlier. You made a wrong typo at line 15 and 16 (conditions c3 and c4 : same MA but different order).
It is not necessary to indicate a timeframe, unless you want to make a multitimeframe screener.
If c1 and c2 are not true at the same time, you are “down”, so your “down” boolean variable is not necessary, just check if up is true or not and you’ll the bullish and bearish momentum in your screener.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok