fxDreema

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

    Automatically open a chart

    Questions & Answers
    3
    4
    1296
    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.
    • N
      nickmccomb last edited by

      Can't you make a block "Create Array", with string, int, decimal as a drop down for the array item type, then in the same category "Add Array Item" block, and "Print array" to print on chart, "For X Item" with dropdown as 0, 1, 2 to select array item, "For each Array Item" block, Etc etc

      1 Reply Last reply Reply Quote 0
      • S
        stakemaster last edited by

        Is it possible to generate an EA that, running in a control chart, checks a list of symbols and timeframes for a certain condition and opens a chart for each symbol/timeframe where the condition has been found to be true? I don't see an 'open chart' function in the block panel.

        How can the Current Market and Current Timeframe values be accessed for use in prints and alerts?

        Also, I have one particular condition title that refuses to be changed. I can edit the title, but whenever I reload the project, after having saved it, the title has reverted to its default 'Condition'. Is this a bug? ---Forget this, it doesn't like chevrons in the title, probably to do with XML misinterpreting them.

        Cheers.

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

          I'm not sure if other charts can be opened from an EAs anyway. At least I don't know for a MQL function to do that, and I don't know for something else as well. And the list of... anything... means that arrays will be used, but in fxDreema the work with arrays is hardly possible. Even the work with variables is too much. There are some things that are easier to do in code generator like this, and other things that are easier to do in plain code, I think that arrays are more suitable for plain code 🙂

          CurrentSymbol() and CurrentTimeframe() - these are custom functions that I use for the "Current..." blocks. You can use them, but if some day I decide to remove them or change their names, they will stop to work 🙂

          1 Reply Last reply Reply Quote 0
          • N
            nickmccomb last edited by

            open chart function: https://docs.mql4.com/chart_operations/chartopen

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

            Online Users

            F
            A
            H
            A

            11
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors