fxDreema

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

    allprado

    @allprado

    0
    Reputation
    166
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    allprado Unfollow Follow

    Latest posts made by allprado

    • Invalid Expiration

      Whenever using pending orders I get this error when backtesting (MT5):

      2018.05.09 17:13:16.364 Core 1 2018.05.07 17:54:00 OrderCheck() failed: Invalid expiration (10022)

      I´ve found out that the symbol I´m using won´t accept "NO EXPIRATION" orders (brazilian futures - WINM18), but I´ve tried TODAY or SPECIFIED TIME, and it keeps showing the error.

      Any help?

      posted in Questions & Answers
      A
      allprado
    • RE: On every new position, place pending order in opposite direction with double volume

      @miro1360 Great! Thanks a lot! Just one more issue: The block keeps increasing lots every new tick (instead of just one time per trade). I tried "once per positions" block, but it in fact prevented the block to run. Also tried pasting into "on trade" tab, but it crashes like this:

      "2018.03.31 12:44:33.412 Core 1 2018.01.02 09:30:40 array out of range in '11323-21957.mq5' (6999,10)
      2018.03.31 12:44:33.412 Core 1 OnTrade critical error"

      Any last clue to get the block to run just once for every new trade?

      posted in Questions & Answers
      A
      allprado
    • RE: On every new position, place pending order in opposite direction with double volume

      @miro1360 Thanks Miro, but how to get previous trade volume into a variable? Sorry if it´s obvious, but I didn´t figure out.

      posted in Questions & Answers
      A
      allprado
    • On every new position, place pending order in opposite direction with double volume

      Can anyone help on how to, as soon as a new position is open, place a pending order, at a certain distance, in opposite direction, with double volume? I managed to work around all steps, excep how to double the volume!

      posted in Questions & Answers
      A
      allprado
    • Constant Error

      I´m getting a compilation error "constant expected" whenever I try to use a constant, although I´ve correctly added it, used the correct type and assigned a default value (Web App, MQ5). I´ve tried the desktop version, and it works just fine! Is that a bug??

      posted in Bug Reports
      A
      allprado