fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. jstap
    3. Posts
    • Profile
    • Following 2
    • Followers 222
    • Topics 37
    • Posts 9382
    • Best 1086
    • Controversial 23
    • Groups 0

    Posts made by jstap

    • RE: CLOSE TERMINAL

      As this is what's placing the trade? it should not be able to place a trade until it's started, explain a little more about what you mean...

      posted in Questions & Answers
      jstap
      jstap
    • RE: Need Help With Custom Indicator Input Parameter

      I don't know if done correctly it works for me

      posted in Questions & Answers
      jstap
      jstap
    • RE: Need Help With Custom Indicator Input Parameter

      these are enum
      Follow the picture I sent like this
      enum Time frame
      {
      Current time frame,
      1 minute,
      2 minute,
      continue this until you have covered all
      };

      If you have the MQ file this will be added automatically

      posted in Questions & Answers
      jstap
      jstap
    • RE: Need Help With Custom Indicator Input Parameter

      looks like it but maybe an enum, if enum you will need to add information at the top, with the same words from your inputs, looking like this picture:
      image.png

      posted in Questions & Answers
      jstap
      jstap
    • RE: Need Help With Custom Indicator Input Parameter

      your list is
      int
      string
      int
      int
      int
      bool
      double
      int

      posted in Questions & Answers
      jstap
      jstap
    • RE: Need Help With Custom Indicator Input Parameter

      By looking at your picture they are in as an int, this can and will be a number 1-2-3-4-5-6-7-8-9-10-11 etc

      posted in Questions & Answers
      jstap
      jstap
    • RE: Need Help With Custom Indicator Input Parameter

      Yes and it is not written as a number, may need to be as it is in the indicator input, or possibly how it is on the MQ forum

      posted in Questions & Answers
      jstap
      jstap
    • RE: Need Help With Custom Indicator Input Parameter

      You have a picture with 1/2 of what you need: your

      1st input is int Time frame Current time frame
      2nd input is string Button unique ID averageb1

      complete all like this

      posted in Questions & Answers
      jstap
      jstap
    • RE: Need Help With Custom Indicator Input Parameter

      That list needs to be identical to the indicator inputs, spelt the same in the same order

      posted in Questions & Answers
      jstap
      jstap
    • RE: Need Help With Custom Indicator Input Parameter

      Not exactly, but if that is set in the EA inputs, then the EA can use this value to know what the EA is using, MT5 has other timeframes to MT4, but both can only use the pre set values

      posted in Questions & Answers
      jstap
      jstap
    • RE: CLOSE TERMINAL

      I will add this, every red block in the picture is pointless or used incorrectly:
      image.png

      posted in Questions & Answers
      jstap
      jstap
    • RE: Buy 10 pipes

      I don't know...test...remove global variables, add a new shared link if still now working

      posted in Questions & Answers
      jstap
      jstap
    • RE: Close orders using Multiple Close by

      Not possible through MQ code

      posted in Questions & Answers
      jstap
      jstap
    • RE: Need Help With Custom Indicator Input Parameter

      The period is likely simple, create an int constant insert into the indicator block by right-clicking, then while optimising loop through the numbers.

      The principle is likely the same for Ma method but, you will need to use the MQ lines:
      https://docs.mql4.com/constants/chartconstants/enum_timeframes
      type = ENUM_TIMEFRAMES
      name = anything you want
      value = PERIOD_CURRENT (you can choose this and it will create a drop-down in your inputs)
      I don't know if you can optimize through this dropdown

      posted in Questions & Answers
      jstap
      jstap
    • RE: Buy 10 pipes

      Are you setting the global variables before trying to use them? Generally, as global variables are a more advanced concept, you are better at getting things working before switching to a global variable.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Bucket of trades to loop TP?

      Above the buy/sell block, something like this: if trade - orange dot - pink for each trade - buy/sell with SL/TP in a loop - yellow dot - buy/sell

      This is rough if you struggle add to a project and add the shared link

      posted in Questions & Answers
      jstap
      jstap
    • RE: Bucket of trades to loop TP?

      No, the easiest way is to take the running trade value in the buy/sell block and use this while placing new

      posted in Questions & Answers
      jstap
      jstap
    • RE: CUSTOM MAX

      This does sound good, but I doubt MQL code could activate these options...

      posted in Questions & Answers
      jstap
      jstap
    • RE: when a position is closed to close and a pending order

      If closed by you you can just push the x in your terminal. On the on trade tab, trade closed (purple block) - close/delete will delete if trade action has happened

      posted in Questions & Answers
      jstap
      jstap
    • 1
    • 2
    • 103
    • 104
    • 105
    • 106
    • 107
    • 469
    • 470
    • 105 / 470