fxDreema

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

    Feature Request:

    Questions & Answers
    2
    2
    574
    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.
    • T
      Trader3487 last edited by

      ability to store set of blocks (a procedure) in 1 block that can be referenced by other blocks. For example, a procedure is created with 20 blocks to check for certain market conditions and perform several calculations involving functions. There are 6 parts of the ea that all need to make reference to this procedure but in order to do so the procedure must be copied 6 times (with all 20 blocks) to each of the 6 areas of the ea that require this procedure - this method involves lots of duplicate blocks - OR each area of the ea must be connected to the procedure - this method is messy as it creates lots of connectors over the screen. Solution: store procedure in single block that can be connected to each of the 6 areas of the ea!

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

        I recommend to use the same group of blocks instead of copy-paste them. I know it feels natural for beginner-programmer to copy-paste things, but this is not a good idea actually. Well, fxDreema is not exactly programming tool and it's not that flexible as the plain code, but the best is if any part of the program exists in one place and if needed it is used multiple times. Using Variables can help with this in general, not in every situation, but if it is possible use the same group of blocks with different parameters 🙂 Even better is to program custom code with all the specific stuff, but this is for someone who knows how to do it 🙂

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

        Online Users

        T
        S
        A
        S
        I
        H
        M
        D
        A
        W

        17
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors