fxDreema

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

    Crossover EA with Stat Arb

    Questions & Answers
    3
    12
    1379
    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.
    • Pan4Pips
      Pan4Pips last edited by

      I have built a crossover which trades correctly 90% of the time. Still working on why erroneous trades are thrown when no rules would suggest they be fired off. Lots of Bugs in this platform!

      But ... How after a TP is hit, do I stop another trade from opening immediately. Seems to be a common problem in FXDreema. I want to collect a profit based upon statistically reliable deviation, then wait for the opposite to trigger a new trade - in opposite direction.

      How can this be done?

      roar T 2 Replies Last reply Reply Quote 0
      • roar
        roar @Pan4Pips last edited by

        @pan4pips If you are trading a crossover, make sure to use Candle ID 1 in the settings. The crossover can happen while the candle is still moving, and its not always visible in the final candle (this is the "bug").

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

          @roar candle ID where? Seems it could be in multiple places0_1582221357550_multitrade_incorrect.JPG

          The circled trades are where it should properly reverse... There are zero rules, no take profit settings or otherwise on the multiple buy/exit/ buyexit trades.. it should be opening a long and closing on opposite.... unless I have identified an exit prior..

          What I'm trying to do is if there's an exit before the cross over signal.. wait for the cross over signal.

          roar 1 Reply Last reply Reply Quote 0
          • roar
            roar @Pan4Pips last edited by

            @pan4pips This is the setting I mean. Put 1 there, its 0 by default.
            0_1582222971023_f376357b-e922-4a5f-a72f-a9999eb350da-image.png

            Need small help? Tag me in your post
            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

              @roar Ahh Thank you! I'm not sure if those are visible for me as I have to loop through chart objects to get the triggers. I'll put some focus to that though! Thank you!

              T 1 Reply Last reply Reply Quote 1
              • T
                TitanGeorge @Pan4Pips last edited by TitanGeorge

                @pan4pips

                Found your other question!

                It looks like Lion has answered the first part of your question. The second part, regarding once per direction (buy/sell) needs answering.

                Your rule though "wait for opposite to trigger a new trade" is vague. Unless your strategy is close to perfect, it could be that once you exit with profit on a buy, you won't get a trigger for a sell until hours later, effectively missing out on a buy opportunity.

                Imagine your rule says BUY. Then it buys, later, you close the trade. Then your rule says BUY again. If you wish to implement that ONLY a sell is valid, you will miss this BUY.

                If this is what you want, then simply use "On" and "Off" blocks.

                Pretend your "Buy Now" is block #10. You connect the off block to this and put "10" in the settings. After this one, you put ON and lets say your "Sell Now" block is #20..so you will turn on block 20. You do the same for the "Sell Now" but its flipped. Off is block 20 and on is block 10.

                This will compliment your Buy/Sell criteria.

                If you wish to know my trading style, look up TRO and visit him on the Kreslik forums. BambinoFlex is my other internet handle as well as my Gamer Tag.

                1 Reply Last reply Reply Quote 0
                • T
                  TitanGeorge @Pan4Pips last edited by

                  @pan4pips

                  I'm really good with Chart Objects. You will be using CTR+B a lot. This is where your Objects are. It tells you the Name, and other information.

                  If you wish to know my trading style, look up TRO and visit him on the Kreslik forums. BambinoFlex is my other internet handle as well as my Gamer Tag.

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

                    @TitanGeorge I'm becoming more efficient with the objects but your first answer I think worked well! Thank you!!!!

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      TitanGeorge @Pan4Pips last edited by

                      @pan4pips

                      I'm glad pan. If you need help with objects, let me know. They're usually straight forward but sometimes manually created objects can cause trouble.

                      Another idea, if you want to MANUALLY control your Buys/Sells. Objects can help with that. For example, if you write "Buys On" Then buys will work and vice versa. Only if you have access to the computer at all times or have remote control access.

                      If you wish to know my trading style, look up TRO and visit him on the Kreslik forums. BambinoFlex is my other internet handle as well as my Gamer Tag.

                      Pan4Pips 1 Reply Last reply Reply Quote 0
                      • Pan4Pips
                        Pan4Pips @TitanGeorge last edited by

                        @titangeorge said in Crossover EA with Stat Arb:

                        @pan4pips

                        I'm glad pan. If you need help with objects, let me know. They're usually straight forward but sometimes manually created objects can cause trouble.

                        Another idea, if you want to MANUALLY control your Buys/Sells. Objects can help with that. For example, if you write "Buys On" Then buys will work and vice versa. Only if you have access to the computer at all times or have remote control access.

                        I've used a one click interface for years. My next attempt is to duplicate it.0_1582334825500_oneclick.JPG

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          TitanGeorge @Pan4Pips last edited by

                          @pan4pips

                          I'm not as familiar with once click interfaces, fxDreema offers the same functionality but the approach would be different:

                          Close when TOTAL specified profit is achieved and Close all Trades and Terminate the EA.

                          Close when specified profit/pips is achieved on the pair and terminate or turn off the trading.

                          If you wish to know my trading style, look up TRO and visit him on the Kreslik forums. BambinoFlex is my other internet handle as well as my Gamer Tag.

                          Pan4Pips 1 Reply Last reply Reply Quote 0
                          • Pan4Pips
                            Pan4Pips @TitanGeorge last edited by

                            @titangeorge said in Crossover EA with Stat Arb:

                            @pan4pips

                            I'm not as familiar with once click interfaces, fxDreema offers the same functionality but the approach would be different:

                            Close when TOTAL specified profit is achieved and Close all Trades and Terminate the EA.

                            Close when specified profit/pips is achieved on the pair and terminate or turn off the trading.

                            Yeah, that's not an effective approach to trading. I'm by far a programmer.. in fact I have cringed for 20 years thinking about it. lol This makes it a good bit easier in some instances.. but from a code students approach it still leaves out the flow of things that no programming book says. I think I've tried to read them all with the same success rate as migraines lol.

                            Now to the number side of things, no problem!

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

                            Online Users

                            J
                            T
                            J
                            B

                            19
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors