fxDreema

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

    Adding custom Currency Strength Meter indicator

    Questions & Answers
    3
    54
    11853
    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.
    • Sauce
      Sauce last edited by Sauce

      Re: [Creating EA Help!: Trend Continuation with Currency strength](moving avg)

      Hi everyone,
      Checking the forums, I saw this Currency Strength Meter mentioned from ForexFactory here before in a thread, but not much came of it. Likewise, I posted this EA almost a year ago and trying to add this custom mql4 indicator CSM got me discouraged. I've done my due diligence and educated myself for the most part with FxDreema basics, but as a newbie still cannot figure out this custom code so I'm reaching out for help.

      I've completed most of my project which is a lower timeframe pullback to an EMA for continuation of the higher timeframe trend. Here's what I'm looking to get help with:

      Add the custom Currency Strength Meter as a trade parameter where if multiple pairs are signaling/triggering, the currency strength meter condition decides the "best" pair to trade at that time by looking at the higher timeframe's numbers for currency strength. (i.e. JPY is weak across the board on M15, GBP is quite strong across the board on M15, so this condition would compare all JPY pairs and have the H1 numerical value for csm be strongest for GBPJPY even though other pairs are triggering too.) It should work that M15 setups check the H1 csm, H1 setups check the H4 csm, and H4 setups check the Daily csm.

      Again, I've tried to do as much as possible for this project and hate asking for an expert to ultimately do this for me, but this code (6,000 lines) is daunting and is wayyyyyy above my basic FxDreema 101 knowledge. It seems like the best way would be to compare the objects/numbers but I'm really not sure.

      Thank you in advance for any input, it is greatly appreciated.

      Here is my project: https://fxdreema.com/shared/n748n0EXd (updated)

      Currency Strength Meter Download: 0_1607670959191_CSM original.mq4
      Currency Strength Meter FF thread: https://www.forexfactory.com/thread/852082-csm-indicator-hanover
      Instructions to get CSM to work properly on your MT4: https://www.forexfactory.com/thread/post/10041710#post10041710
      Or else you'll get a ton of errors.

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

        Here's a basic picture from today of the trade setup I'm looking for with M15 entry setup continuing the H1 overall trend
        (which is also seen on H4 too).
        0_1607671546294_h4,h1,m15 TCE 18EMA Sell Setups.png

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

          @sauce An impressive work for a newbie. Congratulations! I have some previous questions.

          1. I see sell pe4nding orders only. No buys?
          2. Why are all your sell pending order blocks disconnected from all blocks except each ones' 'once per bar'?
          3. What are those EMA checking blocks supposed to do? Ther are not connected to any other structure. What are they supposed to check?

          (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
          • Sauce
            Sauce last edited by Sauce

            @l-andorrà Thanks for the kind words!

            1. Well, that's embarrassing... haha. I totally forgot to change them to the appropriate pending buy orders. I will update now!

            2. I'm going to stick the Currency Strength Meter condition in that space to connect ZZ to CSM to Once Per Bar.
              Since these are separate trading setups, I think I will need to group them by a separate group number for each one, right? I don't know how to do that so it includes the conditions though. (That way I'm not closing orders above the 30EMA when they are looking for a pullback to 50EMA.)

            3. The gray EMA checking blocks were just to label everything and keep me organized. I will delete them. Is there a way to make a comment or phrase to put a title above each one?

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

              @sauce Ok. Please incoroprate all those changes and try your EA again. If it doesn't work, just let me know.

              On question 3, you can always create areas and then edit them to include any explanatory text required:

              0_1607788654298_01.png

              (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
              • Sauce
                Sauce last edited by

                @l-andorrà Changes updated. I updated the link as well in the initial post. Looking to add that currency strength meter custom indicator but not sure how to do that. Thanks!

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

                  @sauce Well, let me insist, please. What are these blocks supposed to do?:

                  0_1607875298682_01.png

                  Ther are NOT connected to any buy/sell pending order block. Why are there used then?

                  (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
                  • Sauce
                    Sauce last edited by Sauce

                    @l-andorrà They are waiting to be connected to a custom MQL4 indicator for currency strength condition which I’m stuck on creating, once that is completed, that will attach to the once per bar which connects to the buy/sell orders. Basically just waiting for the missing link!
                    0_1607897696236_FEA06FCD-E089-4732-B446-26FD7EE497BB.jpeg

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

                      @sauce Ok. Now it makes sense. Well. I can nit be very helpful until that block is available, I'm afraid. I'm not a programmer, so I cannot help you, sorry. What is That block supposed to do exactly?

                      (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.

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

                        Not easy,this indicator doesn't have an output buffer but write a .csv file. In fxdreema there isn't a block to read file (i can be wrong) , function must be write using custom mql code block and what data to read, only you, can know.

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

                          @l-andorrà @miki Gotcha, yeah I was fearful of that because that was my main issue. Trying to take what I see from the indicator to put it into a condition block. Not sure if this is remotely correct to do, but I did try to add it under "My Indicators" (see below). Also, can you guys help me figure out how to group these individual trade strategies separately? (i.e. I don't want my pending orders deleted for a 50EMA pullback because of a block that say close pending orders for 18EMA pullback trades). I get how to group ID the "No trade/order" block, but what about the condition blocks?
                          0_1607967752159_Untitled.png

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            miki @Sauce last edited by

                            @sauce 0_1607969619390_Immagine.png
                            This is a sample of the output file of the indicator,which data to take/read?

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

                              @miki thank you for taking a deeper look into this can of worms, haha. I'm not sure exactly what to look at in the output file, instead I can show you what I see on my chart from the indicator and tell you what I'm reading from it. Hopefully you can take my explanation and see it in the code/output file? (Sorry, I just don't want to say "that one!" and be wrong).

                              Here's a screenshot of 4 instances with different variables. I'm looking to trade the strong(>60) and weak(<40) pairs across multiple timeframes. In this screenshot, it's telling me that CHF is strong and JPY is weak. So if I can find an EMA pullback in CHFJPY with my other conditions met = great trade setup. Vice versa, a trade setup in EURCHF is most likely a false signal since that will not make a move either way. Again, not sure exactly how those numbers are from the output, sorry I couldn't be more direct, I just don't understand that actual code and how it makes these numbers if that makes sense, ugh. Sorry!!

                              0_1607970777791_82bb5399-d199-41a0-af12-e2926e48da3f-image.png

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                miki @Sauce last edited by miki

                                @sauce To see it seems easy 😅. I'm understand but what you need is out of my knowledge.

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

                                  @miki thanks for trying!! How about this: I want a condition where this (screenshot) has all happened previously. Basically, I want to see if this setup has happened since the 18EMA has last crossed the 50EMA on the M15 timeframe.0_1608009177226_1271108b-b30b-4c5d-90a8-9ff9d254de1d-image.png
                                  Also, how can I make it that it sends a mobile alert to my phone instead of entering an order?

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

                                    @sauce To do that just substitute your buy/sell pending order block with this one:

                                    0_1608050008558_01.png

                                    (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.

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

                                      @l-andorrà okay great, thanks. How about if I want to keep the buy/sell order block there and be notified when trades are occurring via that phone notification?

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

                                        @sauce Easy. Just connect both blocks ('Phone Notification' and 'buy/sell pending order') immediately below that 'once per bar' block.

                                        (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
                                        • Sauce
                                          Sauce last edited by Sauce

                                          @l-andorrà @miki using FxDreema has been going along well, I'm into manually optimizing now... looking to add some other complex conditions and have no clue where to start! Here's what I'm looking for:

                                          1. A correlation condition: trade setup valid only if three similar-pairs* are moving in the same direction as the trade setup on this particular pair. (I have found that if I take a trade, it works best if majority of this pair are moving in the same direction, if it's the only pair moving that way it usually is a false signal). Example: A buy trade setup has appeared on NZDJPY. This condition should look to see if three other pairs containing NZD or JPY are moving with NZDJPY. Basically are any of the other NZD pairs moving up and are any of the other JPY pairs moving down? If there are at least 3 pairs that are moving with NZDJPY than the condition is valid. *similar-pair = pairs with the same pair family

                                          2. A "deja vu" trade setup condition: basically this trade setup has happened before -- trade setup only valid if these conditions (see image) have previously occurred since the last time the 18EMA and 50EMA crossed. (aka start of the downward trend)

                                          3. Condition: 6EMA < 18EMA within the last 10 candles (during the last 10 candles, the 6EMA was below the 18EMA) and vice versa for buy setup.

                                          4. Condition: High < 6EMA within the last 10 candles (during the last 10 candles, an m15 candle high was below the 6EMA and vice versa for buy setup using low/above).

                                          I try not to post until I'm really stuck and this is what I've got, any help is extremely appreciated as always! Thanks to you guys and this awesome forum I decided to bite the bullet and buy a 3month subscription for FxDreema.

                                          Sauce 1 Reply Last reply Reply Quote 0
                                          • Sauce
                                            Sauce @Sauce last edited by

                                            @sauce #2 image 0_1608178974248_b800b95c-dda4-4435-a693-858f48fbd8dc-image.png

                                            l'andorrà 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            Online Users

                                            A
                                            L
                                            S

                                            9
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors