fxDreema

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

    please help me to create EA as per my strategy

    Questions & Answers
    2
    5
    862
    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
      vasu dav naidu last edited by

      i have tried to create this EA over fxdreama but not success. unable to understand how to create it properly. please anyone help me to make it as below strategy. THANK YOU.

      policy :

      1. i will set the open order price both buy and sell and take profit price too. (market price open also ok)

      2. if buy order open then sell order price will be it's stop loss point vise versa for sell order too.

      3. i will set the lot size of every order after hitting s/l.

      4. next order should open pending order.(please ask me if not understand)

      5. EA should work continue with previous running open order in case of chart time change, ea apply on another chart and MT4 terminal close and open.

      6. example :

        • cmp : eur/usd 1.3000

        • if i set sell order should open at 1.3020 and buy order at 1.3050.

        • also i will set take profit price for sell order 1.2920 and for buy 1.3150.

        • sell order s/l will be buy order price and buy order s/l will be sell order price.(next order should be pending order open)

        • sell at 1.3020 s/l 1.3050 and buy at 1.3050 s/l 1.3020

        • now here ea has to open order continuesly one by one each time s/l will hit.

        • lot size and how many trades of same lot size will be decided in every order and order list should be there... like 1st order 2nd order 3rd order 4th order......till 20 order.

        • suppos 1st order : 0.10, 2nd order : 0.20, 3rd order : 0.40, 4th order 1.0 (2 trades) 5th order : 1.0 (3 trades) like that i will set lot size till 20 order.

        • now ea has to open order line wise if 1st s/l hit then 2nd order if 2nd order hit s/l then it has to open 3rd order like that it should continue....till 20 order.

        • remember there should be option to open decided trades of same lot size too. suppose if want to open 2 trades of same lot size or 1.0 lot size of 2 trades in 4th order there should be possible.

      summery Ea should be like.......

      *sell order price option and it's take profit option /and buy order price option and take profit price option.

      *buy order s/l will be sell order price and sell order s/l will be buy order price.

       *lot size option / how many trades
      

      1st 0.01 / 1

      2nd 0.02 / 1

      3rd 0.04 / 1

      4th 0.10 / 2

      5th 0.10 / 3 till 20 orders.....
      .
      .
      .
      .
      .

      • if frst sell open at 1.3020 with 0.01(1st order) and if hits s/l at 1.3050, then buy at 1.3050 0.02 lot size(2nd order), if 2nd order also hit s/l then sell again with 0.04(3rd order)

      • if 3rd order also hit s/l then again buy with 0.10 with 2 trades (4th order) like that ea has to open order untill it hit it's TAKE PROFIT and after hiting TAKE PROFIT again start with first lot size continue.

              thank you.......
        
      V 1 Reply Last reply Reply Quote 0
      • V
        vasu dav naidu @vasu dav naidu last edited by

        @vasu-dav-naidu for clear understanding refer the attachment.0_1569394840333_strategy screenshot.jpg

        1 Reply Last reply Reply Quote 0
        • l'andorrà
          l'andorrà last edited by

          Apparently you already have an initial project to begin with. Can you please share it?

          (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

          (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

          (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

          1 Reply Last reply Reply Quote 0
          • V
            vasu dav naidu last edited by

            Thank you l'andorrà for replying.

            i have source code .mq4 not fxdreama project. if needed .mq4 source code i can share you
            i want below correction on my current EA :-

            Problem 1 : once applying the EA on chart it's marking one red line that is bid rate and it's not opening any order until ask price reached to bid rate.
            Resolution Need : Excute the order at market price once applied it on chart instantly no need to wait to reach Bid rate

            Problem 2 : while change chart time frame or applying EA on different chart and if MT4 terminal get close open or restart. EA start the working with starting and does not care of previous running
            open trades.
            Resolution Need : EA should work continue with previous running open order in case of chart time change, ea apply on another chart and MT4 terminal close and open or restart, any condition.

            Problem 3 : At the time of high volatility on market or price moved quickly from take profit in this case EA not opening order untill price back to near the take profit price of previous order.
            Resoution Need : if first sell open at 1.3020 with 0.01(1st order) and if hits s/l at 1.3050, then buy at 1.3050 0.02 lot size(2nd order), if 2nd order also hit s/l then sell again with 0.04(3rd order)
            if 3rd order also hit s/l then again buy with 0.10 with 2 trades (4th order) like that ea has to open order untill it hit it's TAKE PROFIT and after hiting TAKE PROFIT again start cycle
            with first lot size continue (if buy order take profit hits than open buy order only if sell order hit take profit than open sell order with first stage).

            please confirm

            1 Reply Last reply Reply Quote 0
            • l'andorrà
              l'andorrà last edited by

              I'm agraid fxDreema cannot import external mq4 files. That means you will have to craete it here from scratch. Certainly it's an ambitious project, but are you sure you want to base it on a martingale?

              Before doing that I recommend you to read the following threads:

              https://fxdreema.com/forum/topic/6624/problem-in-martingale/7
              https://fxdreema.com/forum/topic/5500/reset-martingale/8
              https://fxdreema.com/forum/topic/7108/how-to-use-martingale/7

              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

              Online Users

              N
              K
              I
              H
              T
              P

              14
              Online

              146.9k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors