fxDreema

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

    Best posts made by jstap

    • RE: Help - Custom MQL Code

      I have worked out why it did not work as expected, was to do with, on FX sometimes if you save something wrong, it then won't work when correct, so I closed/deleted, and started from fresh. This time all worked, I then recreated and changed a few words to be able to switch Algo Trading back on, I will add this code below.

      1 = SetAlgoTradingFo(true);

      2=#include <WinUser32.mqh>
      #import "user32.dll"
      int GetAncestor(int, int);
      #define MT4_WMCMD_EXPERTS 33020
      #import

      (this is the same deactivate)

      3= void SetAlgoTradingFo(bool falseTrue) {
      //--- getting the current status
      bool currentStatus = IsTradeAllowed();
      //--- if the current status is equal to input falseTrue then, no need to toggle auto-trading
      if(currentStatus != falseTrue) {
      //--- Toggle Auto-Trading
      int main = GetAncestor(WindowHandle(Symbol(), Period()), 2/GA_ROOT/);
      PostMessageA(main, WM_COMMAND, MT4_WMCMD_EXPERTS, 0 );//Toggle Expert Advisor button
      }
      }

      (is slightly different to disable and I called this block a different name)

      posted in Questions & Answers
      jstap
      jstap
    • RE: Quicker way to edit and preview

      ctrl x in your download folder, ctrl v in your MT4/MT5 folder, this will move the file to where you want it.

      posted in Questions & Answers
      jstap
      jstap
    • RE: ADD CUSTOM MT5 INDICATOR

      If you search indicators you will find the info needed, but basically add the indicator on FX (MQ is easier but you can use EX), get the buffer value and test, using blocks on the on tick tab.

      posted in Questions & Answers
      jstap
      jstap
    • RE: ADD CUSTOM MT5 INDICATOR

      MT5 is the same, try and take pictures of what is happening, past here and we'll see what is happening.

      posted in Questions & Answers
      jstap
      jstap
    • RE: EA with a sweep of a inside bar

      That tutorial can definitely help, Miro has lots of very good help on here, bear in mind though this uses candle ID's, so every new candle, it goes out of sink by one.

      posted in Questions & Answers
      jstap
      jstap
    • RE: When we process the EA's we make, do they immediately process according to the last direction?

      Need more information, an EA will do whatever you have instructed it to do

      posted in Questions & Answers
      jstap
      jstap
    • For anyone that's interested

      I have added a tutorial on how to add a countdown timer: https://fxdreema.com/forum/topic/19107/this-is-how-to-create-and-display-a-candle-countdown-timer

      posted in Questions & Answers
      jstap
      jstap
    • RE: Project to create Mql5 Expert advisor using Orderblock and Fair value gaps around specific times

      You will need to take each section separately, ORDERBLOCK, FAIRVALUE GAP, and TIMEFILTER, create separate projects, and then once working add them all together, as @l-andorrà has said this is ambitious so bight size is the way to approach. (The time filter is easy there is a block that will do this)

      posted in Questions & Answers
      jstap
      jstap
    • RE: Comment color

      @laudemir Good question but I assume you would have to redraw the whole block every time the colour needs to change. You could also draw the text individually with a draw block.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Struggling to make and EA, Please help.

      Start your project and add a shared link here, say what isn't working and people will help you create.

      posted in Questions & Answers
      jstap
      jstap
    • RE: no position block

      Add a shared link to look at, if not working though try and recreate from scratch.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Forum update

      Make a start on your project, add a shared link here and say what you are trying to do...

      posted in Questions & Answers
      jstap
      jstap
    • RE: Current price crosses below lower bollinger band - current candle

      candle 0 x< lower band, place buy. This is in standard condition blocks

      posted in Questions & Answers
      jstap
      jstap
    • RE: Hello. Please help me with my order issue

      Place a shared link to look at, the on trade tab will only place a trade when something happens, you likely are using a block that constantly passes when a trade is created.

      posted in Questions & Answers
      jstap
      jstap
    • RE: step by step EA

      Just looking at this 1 block, you have a variable trying to save into a constant, this will never work. Strip this back to 1 thing, and then when working you can add other conditions, and keep doing this until all is working.

      posted in Questions & Answers
      jstap
      jstap
    • RE: loop

      In market properties you have the option to find the highest price in 7 candles.

      posted in Questions & Answers
      jstap
      jstap
    • RE: Large Number

      Try long, have never struggled with double though.

      https://docs.mql4.com/basis/types/integer/integertypes

      posted in Questions & Answers
      jstap
      jstap
    • RE: Using trailing stop picking

      At the top of most blocks, you have this option. If it doesn't work as expected, add a shared link and say why.

      posted in Questions & Answers
      jstap
      jstap
    • 1
    • 2
    • 27
    • 28
    • 29
    • 30
    • 31
    • 54
    • 55
    • 29 / 55