fxDreema

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

    Semi Martingale with pending orders

    Questions & Answers
    2
    3
    1154
    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
      DarK last edited by

      Hello.

      Could someone give me some pointers regarding fxdrema app. It is great designer but I am new to forex and to this app so any help is appreciated.

      I want to make semi martingale but with pending orders.

      So something like if there is no pending orders, set buy and sell (lot 0.01) pending order 50 pips from curent price. When buy or sell order start, on stop loss of either, new buy and sell pending order is created but with lot 0.02 and on the same price level like the first buy and sell pending order. If stop loss is hit, repeat but with lot 0.03 (or some other lot depending on strategy) and so on...

      On take profit start from begining but with different magic number.

      Is this possible to create this with fxdreema?

      Thnx

      BR
      DarK

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

        Something like this, I hope: http://fxdreema.com/shared/c4T7fw43d
        This can be made using "on Trade" event as well, but this should work.
        The Pass once block is because in backtester there is no last closed trade in the beginning.
        "Check last closed trade profit" is ugly inside, sorry for that, I have to beautify it one day.
        This is probably not very well done as I created it fast, but it shows some basics and I normally prefer to show how things work instead of creating full EAs. 1 Constant and 1 Variable are used.

        1 Reply Last reply Reply Quote 0
        • D
          DarK last edited by

          __Something like this, I hope: http://fxdreema.com/shared/c4T7fw43d
          This can be made using "on Trade" event as well, but this should work.
          The Pass once block is because in backtester there is no last closed trade in the beginning.
          "Check last closed trade profit" is ugly inside, sorry for that, I have to beautify it one day.
          This is probably not very well done as I created it fast, but it shows some basics and I normally prefer to show how things work instead of creating full EAs. 1 Constant and 1 Variable are used.[/quote:352vftkm]

          Thank you very much. This works and i learned alot.

          BR
          Dark

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

          Online Users

          M
          J
          M
          H
          S
          C
          T
          G
          T
          J
          G
          C

          17
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors