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.
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