fxDreema

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

    Make EA record past losses and try to recover it all back.

    Questions & Answers
    2
    2
    406
    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.
    • lanrayy
      lanrayy last edited by

      Hello everyone,

      Please I really need help on this issue.
      I want my EA to be able to have memory/record for all losses and try to recover them in subsequent trades without resetting the martingale until all losses are recovered.

      The asset (Boom and Crash) I trade has a lot of spikes and its very difficult to calculate the expected number of pips for each spike because their lengths vary. Also it is not possible to set stop loss because the spikes does not respect stop loss.
      So what I am trying to achieve is this, I want a situation whereby if for example the EA takes 8 win trades (total profit $40) with 0.2 lot and a spike occurs and took away $33 from the profit.
      I want the EA/martingale settings to able to record this loss and try to make the profit back in the next 3 trades or there about by using higher lot sizes. And if in the process of trying to recover the loss another spike occurs. Then the EA should be able to add the current loss with the balance from the previous loss it was try to recover and make them back together by continuing to use a given higher lot size untill the whole loss is fully recovered then the lot will be reset back to initial lot size.
      Let me try to explain better for more clarifications.
      This is the exact thing i want the EA to do.
      The ea starts trading now using its initial lot size 0.2 and it has made $40 after taking 8 trades. Then a spike occurs and it took about $33 away from the profit. Then the EA should have it on record that it has $33 loss to recover. Then the EA will use either 0.6 or more to open the next couple of trades untill the whole $33 is recovered then it will reset back to 0.2 lot and continue trading.
      But if during the process of trying to recover the $33 another loss occurs. For example, if the ea has recovered $22 from the first $33 loss and another loss of $12 occurs then the ea should be able to add current loss of $12 with $11 balance from the previous loss which means the ea will be able to know that it now has $22 loss to recover and should continue to use 0.6 or higher lot until the total $22 loss is fully recovered. Then the lotsize will reset back to 0.2.

      I hope this is understood,
      Any suggestions will be highly appreciated.

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

        @lanrayy That's a huge EA to implement. Searching for info that happened in the past requires complex loops that are executed over and over. Certainly not a trivial project. In order to simplufy it, I would recommend to hire a programmer to create an indicator searching for that past info and then we can embed it into an fxDreema EA. Otherwise this would become a colosal task to do.

        (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
        • 1 / 1
        • First post
          Last post

        Online Users

        M
        C
        K
        T
        K
        D

        25
        Online

        146.6k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors