fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    My MA Cross Strategy won't work in the mt5 tester...please help. :(

    Questions & Answers
    2
    2
    441
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fxbam
      fxbam last edited by fxbam

      I'm not sure why it won't work in the strategy tester. I must be missing something but I'm not sure what? It waits for one moving average to cross the other then waits for a candle to close in the opposite direction before entering a trade. Does anyone know what I'm missing? https://fxdreema.com/shared/SdaB6yVCc

      New link below

      I've modified the construction numerous times but can't get it to work in the mt5 tester. New construction here...https://fxdreema.com/shared/JEFQsV7jc
      2022.03.28 16:14:22.291 Core 1 Trade_lower_than=2
      2022.03.28 16:14:22.291 Core 1 Min_Bear_Candle_Size=2
      2022.03.28 16:14:22.291 Core 1 Max_Bear_Candle_Size=15
      2022.03.28 16:14:22.291 Core 1 Min_Bull_Candle_Size=2
      2022.03.28 16:14:22.291 Core 1 Max_Bull_Candle_Size=15
      2022.03.28 16:14:22.291 Core 1 MagicStart=7715
      2022.03.28 16:14:22.291 Core 1 final balance 100.00 USD
      2022.03.28 16:14:22.291 Core 1 2022.03.25 22:59:59 Backtested in 1.69 seconds
      2022.03.28 16:14:22.291 Core 1 2022.03.25 22:59:59 Average ticks per second: 256
      2022.03.28 16:14:22.291 Core 1 2022.03.25 22:59:59 Expert Advisor self terminated
      2022.03.28 16:14:22.291 Core 1 GBPJPY,M5: 431717 ticks, 1704 bars generated. Environment synchronized in 0:00:04.679. Test passed in 0:00:01.863 (including ticks preprocessing 0:00:00.047).
      2022.03.28 16:14:22.291 Core 1 GBPJPY,M5: total time from login to stop testing 0:00:06.542 (including 0:00:04.679 for history data synchronization)

      I'm not sure what I am missing? I've changed it several times hoping to solve the issue but haven't had any success. I know I'm probably overlooking something very simple but I don't know what it is. Any suggestions would be greatly appreciated and help me climb out of this confusing mess.

      jstap 1 Reply Last reply Reply Quote 0
      • jstap
        jstap @fxbam last edited by

        @fxbam the cross only works on a particular candle, you could set this a earlier candle ID to closing in another direction, you don't need a once per bar if you have a no trade block as only 1 is allowed, maybe use if no trade is not, time/day filters are better at the top if not activated it stops all below blocks working, you cannot compare body size to a MA, use open, close, high, low only use close if ID1 or greater, I use a if trade block rather than the yellow dot, this stops the filters from deactivating trail when in use

        0_1648576462296_69caab62-e607-453f-acff-7ee1ee5b1e8f-image.png

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        M
        J
        B
        A
        E
        R
        S

        18
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors