fxDreema

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

    Random outputs

    Questions & Answers
    2
    2
    710
    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.
    • A
      akulus last edited by

      Hello friends,

      I have a question please. I know this question, probably, hasn't been asked before but how can i have a block or group of blocks that gives random signals? The 'Random outputs' block seems to give only alternating signals, at least in back testing.

      The reason i need this, I want to experiment with different risk management ideas and to know they work and improve on them i need the most gambling-ish entry signals possible.

      Thank you,
      A

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

        @akulus You can generate random numbers with MathRand mql4 function. Here's an example that buys 20% of the time and sells 20% of the time:
        https://fxdreema.com/shared/zqkptwoqb

        If you use MathRand, remember to first set up the pseudorandom generator with function MathSrand.

        https://docs.mql4.com/math/mathrand
        https://docs.mql4.com/math/mathsrand

        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

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

        Online Users

        T
        J
        G
        C
        N
        A
        T
        T

        17
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors