fxDreema

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

    Buy and Sell Pending orders in grid

    Questions & Answers
    2
    2
    1034
    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.
    • D
      dbadri54 last edited by

      Hi There,

      Can anybody help me to accomplish my simple EA. It trades using buy pending orders in grid for 5 levels with TP (take profit) and SL (stop loss). Each cycle will end when TP is hit and new cycle should start all over again. If all that 5 levels of buy pending orders were realized and the last SL was hit, reverse orders will be executed i.e. sell pending orders will be initiated for another 5 levels with TP and SL as well. Again, cycle will end when TP is hit and new cycle should start all over again. I have tried this idea using following blocks : https://fxdreema.com/shared/2vdd8vcA. But so far it does not work well. Thanks.

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

        http://prntscr.com/brpb6d - this should be only used under "on Trade".

        I think you need to understand this concept, because the way you connected this condition does not look right: https://fxdreema.com/demo/mt4-wrong-closing-rule

        I would try to do everything under "on Tick" and only if needed I would use "on Trade" for something. Because "on Tick" is more... reliable, let's say. So, under "on Tick" you can for example detect if there are no trades at all at any moment, which could be the moment to create new orders. You can also check the exact amount of trades, orders or both. There are also blocks like "Close trades" and "Delete pending orders"

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

        Online Users

        A
        F

        15
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors