fxDreema

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

    Thank You...

    Questions & Answers
    3
    14
    1315
    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.
    • S
      shg last edited by

      Hi there,

      excellent tool. thank you for creating this tool and giving me opportunity to use it...

      But i think it need good knowledge as well to use it...i am creating ea using my strategy but no success. Problem is my strategy checking 2 higher time frame to match the signal at lower tf. I have created EA but what it does is when the trend changes in higher tf it is opening the trade so i need help...

      if you can help me then i will explain my strategy here...

      let me know

      thanks

      1 Reply Last reply Reply Quote 0
      • E
        emilio last edited by

        If you attach the MQL4 source file it is more easy to help for more people , and if you describe the strategy that you are interested on , all of us can help you till it works.

        Bye.

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

          What I can see now is that you are working under "on Timer", while normally you should work under "on Tick"

          1 Reply Last reply Reply Quote 0
          • S
            shg last edited by

            __What I can see now is that you are working under "on Timer", while normally you should work under "on Tick"[/quote:21agrvma]

            hhmmm...

            i am attaching the mql file to see...

            strategy is...very profitable at long run and it is very interesting...

            Let me explain my strategy:

            it based on osma and simple moving average...

            1. OsMA(12,26,9)
            2. MA Period - 3, close price, sma,
            3. MA Period - 5, close price, sma

            Strategy:

            it checks the H4 for osma either below zero or above
            it checkes the H1 for osma either below zero or above
            and once if both are above or below confirm...
            it take the signal in M15 osma above or below zero. If it confirms above zero then 3 should be crossed 5 from below and it enter the buy trade

            Imp Note: it only take trade when there is every fresh cross in m15 and if conditions match in H4 and H1(H1 and H4 is like trend continuation. It only required fresh cross in M15 and not in other both tfs)...

            so for buy trades:

            osma in H4 is above zero
            osma in h1 is above zero
            osma in m15 is crossed above zero at previous candle
            sma 3 crossed sma 5 from below

            close buy trade

            sma 3 crossed sma 5 from top

            for sell trades

            osma in H4 is below zero
            osma in h1 is below zero
            osma in m15 is crossed below zero at previous candle
            sma 3 crossed sma 5 from top

            close buy trade

            sma 3 crossed sma 5 from bottom

            all condition should match at closing candle...

            thanks

            ......
            osma(2).mq4

            1 Reply Last reply Reply Quote 0
            • S
              shg last edited by

              the current problem is, it opens the trade when there is a fresh cross in h1 or h4 and by that time in m15 it has finished its trade and entering in to opposite direction so i want to take the trade only when there is a fresh cross in m15 and not in h1 or h4...

              thanks...

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

                When you are in the current candle, which is still unfinished and everything moves up and down, you can have multiple fresh crossovers. So it depends.

                You can put "Once per bar" after the condition and you will get only 1 signal for this particular candle. You can also try those "Price x> Indicator" blocks. They are a little bit different, because they are detecting the moment when a crossover happens, not the state that is for the current candle. But they have their unique issues as well.

                1 Reply Last reply Reply Quote 0
                • S
                  shg last edited by

                  well signal will be taken once the current candle close so multiple fresh cross is not the isue...

                  1 Reply Last reply Reply Quote 0
                  • S
                    shg last edited by

                    so i dont know how to set the ea blocks so that it do not take the trade when there is fresh cross in h1 or h4. I hope i have explained properly

                    thanks

                    1 Reply Last reply Reply Quote 0
                    • S
                      shg last edited by

                      check attached image...

                      http://s14.postimg.org/3wvgnw8q9/Untitled.png

                      1 Reply Last reply Reply Quote 0
                      • S
                        shg last edited by

                        how about and block...will that do? i am not sure what to add so just guessing if something can work...

                        thanks

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

                          __well signal will be taken once the current candle close so multiple fresh cross is not the isue...[/quote:28y6txsm]
                          When you work under "on Tick", blocks will run on every tick. "Condition" block is a simple "IF", it compares two values and goes to one of it's outputs. In case of crossover, there are two IF, but again, it goes to one of it's outputs while the crossover is true. And the crossover can be true for the whole candle, which is multiple pips.

                          1 Reply Last reply Reply Quote 0
                          • S
                            shg last edited by

                            ____well signal will be taken once the current candle close so multiple fresh cross is not the isue...[/quote:1f4bm2on]
                            When you work under "on Tick", blocks will run on every tick. "Condition" block is a simple "IF", it compares two values and goes to one of it's outputs. In case of crossover, there are two IF, but again, it goes to one of it's outputs while the crossover is true. And the crossover can be true for the whole candle, which is multiple pips.[/quote:1f4bm2on]

                            hhmmm...well it seems that its bit technical stuff and i am not able to understand it...

                            but any way..thanks for yur help

                            1 Reply Last reply Reply Quote 0
                            • S
                              shg last edited by

                              ____well signal will be taken once the current candle close so multiple fresh cross is not the isue...[/quote:12xpj1qi]
                              When you work under "on Tick", blocks will run on every tick. "Condition" block is a simple "IF", it compares two values and goes to one of it's outputs. In case of crossover, there are two IF, but again, it goes to one of it's outputs while the crossover is true. And the crossover can be true for the whole candle, which is multiple pips.[/quote:12xpj1qi]

                              so which one is then block because that can help me to make it work...thanks for your help...

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

                                Your blocks (on the previous page) looks fine. When 2 ot more Condition blocks are connected and one of them fails, the next one is not checked and everything stops at that point. On the next tick - the same story. No "AND" is needed, because when blocks are connected like this (one after another) this is already AND.

                                If something is not working, then I think that something in the blocks is not set as it should be. In the top 2 conditions you work with the Current timeframe and if your chart is at H4, then they work on H4, the same as the bottom two contidions.

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

                                Online Users

                                A
                                K
                                H
                                N
                                T
                                K
                                F
                                E

                                25
                                Online

                                146.7k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors