fxDreema

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

    Problem with multiplication of lots and repeated trades.

    Questions & Answers
    2
    3
    766
    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.
    • V
      Varuk last edited by

      Hello guys,

      I'm new to fxdreema and I'm trying to create an EA.

      Let me explain what I'm trying to do, to have a better understanding.

      When the candle is over MA20 then buy, else sell.

      0_1594937389881_b1192f46-e696-4dc7-8888-5691a6efd848-image.png

      In both cases, the lots are 0.01, SL is at 200 pips and the TP at 30 pips.

      I'm currently working on the buy scenario and if/when I get it right, I'll move to sell.

      When a buy trade opens, and the price gets +10 pips from the open price, then I want to modify the SL of the trade from 200 pips to "open price+1 pip". Below you can see my implementation. I hope it's not too wrong..

      0_1594937805399_f2a0670f-d10e-43bc-9eac-1974dd7d49fb-image.png

      For the case that the price goes against me and the price goes to -25 pips from open price, I want to open a new buy with SL=200pips and TP=30 pips and lots=0.01x1.2. I want to be able to do the same for 6 more times if the price keeps falling.
      Below you can see my implementation. I think it is correct, but I really don't know how to multiply the lots so I can have 0.01x1.2 and I don't know how to do it multiple times.

      0_1594938767775_98575b1b-b0e6-4096-bef7-94278fb8397e-image.png

      Please, if any of the experienced users of fxdreema can give me a hint, I would be grateful.

      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @Varuk last edited by

        @varuk easiest way to get this lot sequence is to use matringale settings in the buy now block. Change the default 2 multiplier to 1.12 and reset after 6.

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        V 1 Reply Last reply Reply Quote 0
        • V
          Varuk @roar last edited by

          @roar Thanks a lot. I will test it and will let you know..

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

          Online Users

          O
          O
          L
          W
          X
          S
          X

          14
          Online

          146.9k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors