fxDreema

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

    Standard deviation of the variable

    Questions & Answers
    2
    2
    669
    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.
    • J
      john 5 last edited by

      Is there any function that would allow to do some math operations on the variable so that the result would be return as another variable ? For example we have variable x, then we calculate standard deviation of x and we create new variable called 'STD_of_x' that reflects the value of standard deviation of x.

      Would you guys know how to do that with custom script ? (I mean more like a framework for those type of calculations whether it's standard deviation, variance or any other math function). Thanks a lot !

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Well, you can always create global variables from Variables panel. Then there is a block for custom MQL code (the last one in the list). To use the variables, simply write their name where it's needed. Or, some calculations can be made directly in the input fields of all blocks... depending on how simple the calculation is. In all input fields you can write MQL code. Well, it's a little bit different for "string" inputs, but still MQL is possible.

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

        Online Users

        M
        M
        R

        11
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors