fxDreema

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

    Simplifying Task

    Questions & Answers
    2
    4
    484
    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.
    • E
      edwardseer last edited by

      http://snag.gy/j9z84.jpg

      i got this and it looks like repetive.
      i know there is the repeat with different tf in the timeframe block but how do i set that it changes the variable modified with each change in timeframe

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

        What should be the end result of this?

        1 Reply Last reply Reply Quote 0
        • E
          edwardseer last edited by

          i got 1 variables for each timeframe.
          so for each timeframe it go through the condition and save the result to the variable assigned to it either as up or down like Stoch_M5=Up.
          it then repeats the same steps for different timeframe and store them to different variable e.g Stoch_M15=Up, Stoch_M30=Up all using the same set of condition.

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

            Ok, but do you really need all those variables? Maybe there is a simpler way to do the thing that you want to do.

            Otherwise for what you have now, I imagine using arrays. But using arrays is easier in plain code and hardly possible with using blocks 🙂

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

            Online Users

            A
            H
            H
            O
            R
            S
            Z
            M
            J
            M
            H
            S
            C
            T

            25
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors