fxDreema

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

    I am struggle to find the flow of this EA.Please help

    Questions & Answers
    2
    10
    1069
    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.
    • B
      bliinkboy last edited by bliinkboy

      I want to create the ea that open position (BUY or SELL) when the total pips reached from the candlestick that i showed in the picture.I am really hope someone could help me for a newbie project..thanks a lot
      0_1580100949382_help me.png

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @bliinkboy last edited by

        @bliinkboy So you want to take the average candle size of the last 4 candles and if the 5th candle average exceeds that size you want to open a trade . Is hat right? How do you calculate the entry? Is it open price +/- average of last 4?

        I like to share my knowledge, but expect the others to contribute as well.

        1 Reply Last reply Reply Quote 0
        • B
          bliinkboy last edited by

          as you can see on the picture..i only calculate average at one candlestick only which located on yellow line.This is the example. lets said the average candlestick on yellow line is 0.66300.then the market keep going down 300 pips.The EA will start open position buy.it doesn't matter it reach at 4th,5th or 10th as long as it reach to 300pips.Hope you understand my explanation.

          T 1 Reply Last reply Reply Quote 0
          • T
            trader.philipps @bliinkboy last edited by

            @bliinkboy said in I am struggle to find the flow of this EA.Please help:

            0.66300.

            And how do you identify that special yellow marked candle?? However, somehow you found one candle you like and want to set a pending order (?) in n (in this cas 300 pips away) in the opposite direction. So the direction you decide by some logic (eg. yellow marked is a bear candle), right?

            I'd start like this for the given example.

            0_1580120256659_53cf8fa4-b160-4cca-b8dc-b78d35d3adbb-image.png

            Of course this block needs some connections to work, but you may start here. Create a double variable (here: dEntryPrice) taking the Median Prince and adjust it by -300 Pips. You may also use an integer variable representing the -300 instead of the static number.

            I like to share my knowledge, but expect the others to contribute as well.

            1 Reply Last reply Reply Quote 0
            • B
              bliinkboy last edited by

              And how do you identify that special yellow marked candle??
              Ans: I will set specific time

              your idea was really helpful.here i show you the flow,am i correct?how do i post the link..i dont know how to do it,so i just snap a picture.0_1580122244247_flowchart.JPG

              T 2 Replies Last reply Reply Quote 0
              • T
                trader.philipps @bliinkboy last edited by

                @bliinkboy https://fxdreema.com/forum/topic/7657/how-can-i-save-my-project-in-a-link-and-share-it

                I like to share my knowledge, but expect the others to contribute as well.

                1 Reply Last reply Reply Quote 0
                • T
                  trader.philipps @bliinkboy last edited by

                  @bliinkboy Well, those blocks would only be executed if there is a trade (block 12)! If that is part of your strategy it's fine. Otherwise maybe use the No trade block.

                  I like to share my knowledge, but expect the others to contribute as well.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bliinkboy last edited by

                    this is the link...
                    https://fxdreema.com/shared/vvULL3U7c

                    those blocks would only be executed if there is a trade (block 12)!..could you please explain what that block 12 mean?im still confusing about the block as well.yes you true,when i attached at the platform,it doesn't work at all

                    T 2 Replies Last reply Reply Quote 0
                    • T
                      trader.philipps @bliinkboy last edited by trader.philipps

                      @bliinkboy If trade block mean, that orange dot is executed if there's a trade open for the pair on the chart (opened by your EA), yellow dot means the condition is false, hence there is no trade. Bare in mind that trade is an opened position where order is If trade/order checks for existence of both, a pending order or an open trade.
                      That blocks also allow to limit the condition to Buys or Sells just in case sometimes it matters.

                      Btw. will there be only 1 order executed and the other one deleted? In that case you might use the oco (one cancels other) order type.

                      0_1580126050646_5f3adb0e-2150-41ba-a4ab-eee9ddb28ba6-image.png

                      I like to share my knowledge, but expect the others to contribute as well.

                      1 Reply Last reply Reply Quote 0
                      • T
                        trader.philipps @bliinkboy last edited by

                        @bliinkboy said in I am struggle to find the flow of this EA.Please help:

                        this is the link...
                        https://fxdreema.com/shared/vvULL3U7c

                        those blocks would only be executed if there is a trade (block 12)!..could you please explain what that block 12 mean?im still confusing about the block as well.yes you true,when i attached at the platform,it doesn't work at all

                        Block 10 in the adjust field should be +300 Pips rather than 300 Pips

                        I like to share my knowledge, but expect the others to contribute as well.

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

                        Online Users

                        N
                        S
                        E
                        H
                        E
                        S
                        A
                        T
                        A
                        A
                        M
                        A
                        M

                        26
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors