Simple Time Scan?

Viewing 5 posts - 1 through 5 (of 5 total)
  • #9681

    Hey Guys.

    Could  someone please tell me what the code is for the (daily) 50EMA to have been above the 200EMA for the last 3 months?

    Thank you.

    Stephen

    #9786

    Can anybody help me with this?

    #9797

    Do you got coding knowledge already? If yes, please look at how to make loop in the past to test if your MA50 is above the MA200, if yes do a variable incrementation and if this variable >= 3Months*20Days, you got what you were looking for.

     

    #9862

    Thank you for your reply Nicholas. I do not have much coding experience. What would be the code for what you say?

    #9868

    Here is the code you need to test if the MA50 was above the MA200 in the last 60 bars :

     

    1 user thanked author for this post.
Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login