fxDreema

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

    How to replace Variables (auto set/replace Variable) to compare (Condition block) ?

    Questions & Answers
    2
    3
    751
    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.
    • M
      migen last edited by migen

      I see there are - Set "current market" for next blocks / Set "current timeline" for next blocks - to auto replace symbol and timeline in next blocks for comparing values with less codes.

      My question : is there anyway to "Set Variable for next blocks" ?
      Because I have 15 Variables (different values), it needs 15 group of blocks to compare them. While it just need 1 group of blocks with "auto set/replace Variable" to complete coding.

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

        @migen there's many ways to set variables. You gotta give some example project so I can see what you mean 😄

        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
        • M
          migen last edited by migen

          0_1588785763606_Untitled.jpg
          here is example project.
          I have some EUR Conditions (day 1) then get result - Variable "EUR_1"
          Same with day 2 ... day 15.

          then, if
          Variable EUR_1>0
          ...
          Variable EUR_15>0

          get result with Variable EUR.

          My question : how to replace Variable EUR_1 with EUR_2... EUR_15 in Condition block EUR_1>0 ? So I just need 1 block without 15 blocks (for 15 days)

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

          Online Users

          C
          E
          S
          D
          C

          14
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors