Forums Development Trading made REALLY Simple

This topic has been reported for inappropriate content

Tagged: 

Viewing 25 posts - 326 through 350 (of 456 total)
  • Author
    Posts
  • #11140
    gg53
    Participant

      fuzzy,

      Thanks for your helping hands !

       

      G.

      #11141
      simplex
      Moderator

        Sounds great:

        I’ll put my hand up for the news filter

        Welcome to the team!

        s.

        A good trader is a realist who wants to grab a chunk from the body of a trend, leaving top- and bottom-fishing to people on an ego trip. (Dr. Alexander Elder)

        #11142
        simplex
        Moderator

          By the way:

          partial orders closing management function (this is keeping us from using simplex’s DynTP)

          I’ll post a bugfixed version of DynTP later this evening. Will be no difference at the interface side, just forgot to implement one filter.

          s.

          A good trader is a realist who wants to grab a chunk from the body of a trend, leaving top- and bottom-fishing to people on an ego trip. (Dr. Alexander Elder)

          #11154
          smallcat
          Participant

            smallcat, Your Health first, pips later… G.

            Thanks G, simplex, vlanFx, Tankhang, and all of you for the support.   :good:

            I hope i can work again as usual soon … still trying to catch the train …  :-)

            #11175
            simplex
            Moderator

              I continued tweaking the Clear Indicator. Embedding it in an asymmetric ATR based channel seems to provide some nice entry triggers.

              What do you think?

              s.

              Attachments:
              You must be logged in to view attached files.

              A good trader is a realist who wants to grab a chunk from the body of a trend, leaving top- and bottom-fishing to people on an ego trip. (Dr. Alexander Elder)

              #11177
              Bartleby
              Participant

                I continued tweaking the Clear Indicator. Embedding it in an asymmetric ATR based channel seems to provide some nice entry triggers. What do you think? s.

                looks nice on this small chart example. Does it look similar in other situations?  Do you think that with the addition of VZO , entries would be even more precise?

                I´ve played around the various Clear Indicators and VZO inside a simple, noobish EA . WIth my limited coding “skill” i can´t do anything more than that. No really spectacular successes so far.

                 

                 

                "A dream you dream alone is only a dream. A dream you dream together is a reality." (John Lennon)

                #11178
                fuzzy
                Participant

                  or moving stops

                  #11182
                  limprobable
                  Participant

                    I continued tweaking the Clear Indicator. Embedding it in an asymmetric ATR based channel seems to provide some nice entry triggers. What do you think? s.

                    Hello. Could you share this one please.

                    Green pips to you,

                     

                    #11233
                    fuzzy
                    Participant

                      I continued tweaking the Clear Indicator. Embedding it in an asymmetric ATR based channel seems to provide some nice entry triggers. What do you think? s.

                       

                      I’m mesmerised by this chart.  I keep looking at it.  Can’t wait to see more of it  :yes:

                      #11239
                      simplex
                      Moderator

                        @Bartleby:

                        Does it look similar in other situations?

                        That’s a good question, and the answer obviously is no. If price is trending strongly, counter-trend price action will hardly ever hit the boundary for an entry signal. If this happens, it might be more interesting to look for confirmation of a reversal.

                        That simple asymmetric feature only makes sense during very weak trends, or ‘drifts’, allowing price action to trigger the counter trend channel boundary more easily.

                        Do you think that with the addition of VZO , entries would be even more precise?

                        Yes, I’m pretty sure about that.

                        Ok guys, here’s the indicator now (sorry: I didn’t make it yesterday – thanks for your patience!) Have fun testing it, and any feedback welcome!

                        On the pic, I placed an M30 and an H4 instance over M5 chart to visualize price action during HTF candles forming.

                        Please note that (typical for HTF indicators!) your only stable reference point is HTF previous bar, while current bar is still floating!

                        s.

                        Attachments:
                        You must be logged in to view attached files.

                        A good trader is a realist who wants to grab a chunk from the body of a trend, leaving top- and bottom-fishing to people on an ego trip. (Dr. Alexander Elder)

                        #11271
                        fuzzy
                        Participant

                          Thanks Simplex.

                          I’m giving the sxClearChannel a workout today.  So far I like it :yes:

                           

                           

                          #11274
                          fuzzy
                          Participant

                            Clear on Clear

                            Still like it  :-)

                            Attachments:
                            You must be logged in to view attached files.
                            #11309
                            limprobable
                            Participant

                              Hello Guys,

                              Dont want to be rude, and with all respect, but the title of thsi thread is : trading made REALLY simple…

                              But the thing is thaht i understand nothing :cry:

                              Is it really SIMPLE ?

                               

                              #11310
                              gg53
                              Participant

                                Hello Guys, Dont want to be rude, and with all respect, but the title of thsi thread is : trading made REALLY simple… But the thing is thaht i understand nothing :cry: Is it really SIMPLE ?

                                It will be, I promise, when the EA will be finished.

                                It will incluse robust understanding of: Trend, Sentiment, Currency-Strength, Volume and Price-Action – along with an EA skeleton + trading pre-conditions.

                                If you don’t understand the CONCEPT of each, you shouldn’t be trading the FOREX market. BUT: there is no need to go into the DETAILS of each one, that’s what we are discussing here and in the “chat” thread related to this – that is unless you are interested in those details.

                                If you are in a hurry, sorry…

                                 

                                G.

                                 

                                 

                                #11311
                                gg53
                                Participant

                                  I continued tweaking the Clear Indicator. Embedding it in an asymmetric ATR based channel seems to provide some nice entry triggers. What do you think? s.

                                  looks nice on this small chart example. Does it look similar in other situations? Do you think that with the addition of VZO , entries would be even more precise? I´ve played around the various Clear Indicators and VZO inside a simple, noobish EA . WIth my limited coding “skill” i can´t do anything more than that. No really spectacular successes so far.

                                  I already posted that combination of ClearMethod & VZO (my ForexGT_VolumeOSC version), but it’s only part of that community EA.

                                   

                                  G.

                                  #11421
                                  gg53
                                  Participant

                                    About User Market Sentiment:
                                    Sometimes a user have his own idea about market direction or some fundemental knowledge or preference.
                                    In order to cater for that we need another User Parameter which can handle 3 states: Long only, Short Only, Both (LSB or 1,-1, 0).
                                    The EA logic should take that parameter into consideration and trade only in the prefered direction, if not equal “Both” (or “0”).
                                    Example: My current preferences are: short EURUSD, Long USDJPY, Long AUDUSD & NZDUSD (because of swap).

                                    EA’s Market sentiment Logic:
                                    The EA should contribute it’s own market sentiment by position and direction of Currency-Strength.
                                    Currency A should be above “0” and currency B should be below “0”.
                                    Another parameter to consider is Currency A pointing UP & Currency B is pointing down.

                                    So calling CS function should return “1” for BUY and “-1” for short.

                                    But that’s not all…
                                    Using ClearMethod (simplex method of Multi TF) we look for at least 2 TF’s, current & one or two higher ones.
                                    For LONG trade entry we are looking for LONG in higher TF and Trough in current TF.

                                    Even that is not all…
                                    The exact bar to enter, when both above conditions are met, is determined by the VolumeOsc (or VZO indicator).

                                    The above takes into consideration: Price Action (clearMethod), Currency Strength (CS), and Volume (VZO).

                                    Fine tuning guidelines will follow later on.

                                     

                                    G.

                                    #11422
                                    simplex
                                    Moderator

                                      Nice post, G. – thanks a lot for that!

                                      Looks like additional homework for the coders, so it’s about time I post my EA v 1.4. Will do so later this evening.

                                      s.

                                      A good trader is a realist who wants to grab a chunk from the body of a trend, leaving top- and bottom-fishing to people on an ego trip. (Dr. Alexander Elder)

                                      #11423
                                      simplex
                                      Moderator

                                        Ok, this is version 1.4 of our Community EA. It took me a little longer than announced to put it together, because I’m not so accustomed to implementing class based libraries. But fuzzy was a great support, and most of all he did a wonderful job coding that lib based on the old sources of Derk Wehler and others. Great job!

                                        A brief list of changes and new features:

                                        • Event handler OnInit() replaces init() and has got a slightly different layout
                                        • Event handler OnDeinit() added
                                        • symb, digits, and point are set in OnInit() now for debugging
                                        • all indicators are placed in subfolder ‘__EA’
                                        • all required ATR lines are combined in one indicator – feel free to ignore!
                                        • under many conditions, moving SL to break even is still too aggressive for current dynamic TP to start working
                                        • the function calculating risk percentage of a trade has been modified (bugfix)
                                        • Partial closing and moving SL to BE are independent of each other now.
                                        • partial closing functions:
                                          checkPartialClose
                                          getLatestTicketNumber
                                          savePartialClose
                                          isTicketPartiallyClosed
                                        • move SL to BE function: checkBreakEven
                                        • several utility functions to reduce code redundancy:
                                          orderProfitSelected
                                          orderStoplossInProfit
                                          orderColour
                                          waitForTradeContext
                                          eaLog
                                          price2String
                                          ticket2String
                                          StringLeftTrim
                                          StringRightTrim
                                        • new function DeletePendingOrdersByAge
                                        • log file lines are being formatted in a simple global style
                                        • fuzzy’s news calendar lib implemented (last but not least!)

                                        Let’s have a short look at the open issues from my point of view:

                                        • Please consider the entry strategy as strictly experimental (I choose to modify the existing strategy to get more entries at different points just to test Dynamic SL and TP)
                                        • At the moment, there is still a much too heavy use of global variables all over the EA code. If we don’t reduce this, we will pay in future when it becomes harder and harder to enhance the EA logic. My personal suggestion as a first step towards an OOP based architecture would be to declare static structures for each topic (one struct for DynTP, one for TS, one for trading hours, and so on), initialize these structures on the first run of OnTick(), and then hand them over to the receiving functions as only one parameter per topic.
                                        • My Dynamic TP function was coded according to the requested ADX logic. This is working too optimistic at the moment, shifting TP to unreachable highs or lows. It is required to modify this logic to become effective.
                                        • At the moment, TP factor is calculated as a multiplier of SL factor. I think we should resolve that logic interdependance and calculate TP as a simple ATR multiple, just like SL.
                                        • My attempt to define different trailing intervals (tight and normal) is still experimental. The idea is to tighten trailing when a movement is about to subside.
                                        • For convenience, I combined both ATR lines in one indicator. If you prefer to use the original, just uncomment the iATR code lines.

                                        Remarks about the installation:

                                        • EA file in the EA folder
                                        • all indicators in subfolder __EA of the indicator folder (otherwise change macros in the EA!)
                                        • all libs *.mqh in the include folder
                                        • for forward test and indicator use: FFCal*.xml files in the files folder
                                        • additionally for backtest use: FFCal*.xml files in the \tester\files folder

                                        I hope that’s all, and I hope the attached ZIP is complete. In case of problems, just drop me a line!

                                        Have fun testing, and many thanks to all contributors!

                                        simplex

                                        EDIT: Thanks fuzzy for pointing out that my vzo mqh file was missing in the zip. I uploaded a corrected version now! Please repeat your download!

                                        2nd EDIT: There were private questions relating our Penguin EA v. 1.4. I just forgot to mention that: you have to permit DLL calls when launching the EA, if you haven’t activated DLL use permanently. The event calendar functions require that. If you do not permit DLL, the EA cannot run.

                                        • This reply was modified 10 years, 4 months ago by simplex.
                                        • This reply was modified 10 years, 4 months ago by simplex. Reason: see 2nd edit
                                        Attachments:
                                        You must be logged in to view attached files.

                                        A good trader is a realist who wants to grab a chunk from the body of a trend, leaving top- and bottom-fishing to people on an ego trip. (Dr. Alexander Elder)

                                        #11440
                                        simplex
                                        Moderator

                                          @gg53 pointed out that my MTF Clear Method Candle Indicator behaves strange on timeframe and / or symbol change – thanks for that!

                                          Indeed there was a bug in the timeframe management section ( OnInit() ).

                                          Please find a bugfixed version attached.

                                          Note to the coders: there was no change in the mqh library.

                                          s.

                                          EDIT: replaced the indicator file with the correct one in the ZIP. Please download again!

                                          • This reply was modified 10 years, 4 months ago by simplex. Reason: correct zip contents
                                          Attachments:
                                          You must be logged in to view attached files.

                                          A good trader is a realist who wants to grab a chunk from the body of a trend, leaving top- and bottom-fishing to people on an ego trip. (Dr. Alexander Elder)

                                          #11445
                                          BalrogTrader
                                          Participant

                                            @gg53 pointed out that my MTF Clear Method Candle Indicator behaves strange on timeframe and / or symbol change – thanks for that! Indeed there was a bug in the timeframe management section ( OnInit() ). Please find a bugfixed version attached. Note to the coders: there was no change in the mqh library. s.

                                            Hi @Simplex,

                                            I got the following error when compiling your latest indicator.

                                            Thanks for your effort.

                                            Best regards. :good:

                                             

                                            Attachments:
                                            You must be logged in to view attached files.

                                            Nothing has ever motivated me more than this...

                                            #11450
                                            simplex
                                            Moderator

                                              Hi Balrog!

                                              I got the following error when compiling your latest indicator.

                                              Welcome to the Penguin Quality Assurance Department!

                                              Well sorry, I think I should take more time to get rid of outdated code, too many different sub-projects on my disk lately. I just packed an outdated mq4 file in the zip. I deleted the old zip and uploaded a correct one – please download here.

                                              Thanks for pointing out the error!

                                              s.

                                              A good trader is a realist who wants to grab a chunk from the body of a trend, leaving top- and bottom-fishing to people on an ego trip. (Dr. Alexander Elder)

                                              #11455
                                              BalrogTrader
                                              Participant

                                                Hi Balrog!

                                                Welcome to the Penguin Quality Assurance Department! Well sorry, I think I should take more time to get rid of outdated code, too many different sub-projects on my disk lately. I just packed an outdated mq4 file in the zip. I deleted the old zip and uploaded a correct one – please download here. Thanks for pointing out the error! s.

                                                Hello again,

                                                Sorry to be silent long time and step up only in such situations. Perhaps I’m one of those silent 900+ members who keep reading -over and over again some threads-, search for intriguing ideas, try to evaluate and use it once convinced. I think this is a rather small but still valid contribution to this community. This is at least what we can do, the ones that cannot code, cannot trade properly etc. :-)

                                                Again thanks a lot for your and other fellows’ contributions and efforts. :good:

                                                Nothing has ever motivated me more than this...

                                                #11459
                                                mast83
                                                Participant

                                                  I also compiled file, but didn’t receive an error…

                                                  It seem to work and has in it’s own indicator-view better results than version before

                                                  #11460
                                                  mast83
                                                  Participant

                                                    oh, now I receive error messages when compiling this version in my other metaeditor (but both versions are build 5 – 1241).

                                                    • This reply was modified 10 years, 4 months ago by mast83.
                                                    #11462
                                                    mast83
                                                    Participant

                                                      found mistake….missing “;”

                                                    Viewing 25 posts - 326 through 350 (of 456 total)
                                                    • You must be logged in to reply to this topic.
                                                    Scroll to Top