fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Eric 0
    3. Topics
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 17
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Eric 0

    • E

      MT5 EA not working on Daily timeframe
      Bug Reports • • Eric 0

      2
      0
      Votes
      2
      Posts
      163
      Views

      l'andorrà

      Did you try to remove that block and using a new one? Some times blocks code is corrupt and changing it is enough.

    • E

      Delay funtcion needed
      Questions & Answers • • Eric 0

      4
      0
      Votes
      4
      Posts
      1310
      Views

      fxDreema

      I would ask for the age of the last trade, something like that:
      0_1550686893968_36a18fb6-d239-4299-9d52-f1289c8640d7-image.png

      This will also work if you restart MetaTrader, because no temporary variables are used.

      Also this block "Check profit (period of time)" can be used I think. The idea is that you can define certain period of time and ask for the profit... to be 0 I guess.

    • E

      Bollinger band EA not firing all signals
      Bug Reports • • Eric 0

      25
      0
      Votes
      25
      Posts
      5675
      Views

      fxDreema

      Yes, it is important where Once per bar is. I think it is also very logical that when this block is somewhere on the top, everything below it would run only 1 time per bar - on the 1st tick of every new bar. At that time the bar looks like a dot, because O, H, L and C are the same. And after that time the bar will change its appearance on every tick until it closes, but nothing will happen below Once per bar, because it already passed for that bar.

      If Once per bar is below the condition, then you can got a signal in the middle of the bar.

    • 1 / 1