fxDreema

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

    Create a Custom Max Formula

    Questions & Answers
    4
    6
    1050
    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.
    • S
      sm24 last edited by

      Hey Traders, so i've been messing around with the OnTester function and I've come up with a formula that is okay when using the custom max input.

      double OnTester(void)
      {
      return ((TesterStatistics(STAT_PROFIT)+TesterStatistics(STAT_INITIAL_DEPOSIT))*TesterStatistics((STAT_RECOVERY_FACTOR));
      }

      Here's the code here. I was wondering if anyone else had something interesting that they might be able to share. Always interested to see if someone might have a better formula.

      l'andorrà 1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà @sm24 last edited by

        @sm24 This is for real programmers. Did you try it?

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        S 1 Reply Last reply Reply Quote 0
        • S
          sm24 @l'andorrà last edited by

          @l-andorrà yes my code works I was just wondering if anyone else might have something a bit better. Maybe incorporating Sharpe ratio?

          roar 1 Reply Last reply Reply Quote 0
          • roar
            roar @sm24 last edited by

            @sm24 many times the tester finds just 1 or 2 really good trades with no drawdown and gets stuck with those. I think a good score would be recovery factor * trades, or sharpe * trades

            Need small help? Tag me in your post
            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

            S 1 Reply Last reply Reply Quote 0
            • S
              sm24 @roar last edited by

              @roar okay I'll try the Sharpe * trades. I'm really interested in the complex criterion formula in mt5 but it doesn't produce enough results. I would love to know how that formula is written.

              1 Reply Last reply Reply Quote 0
              • I
                Ipod last edited by

                How are you implementing this code, it does not work for me. Then again I am using mt5. Manage to get the link below work but if I can do this all without using the custom block feature that would be better.

                https://fxdreema.com/forum/topic/13058/custom-max-formula

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

                Online Users

                E
                A
                G
                Q
                C
                T

                20
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors