Drawdowns safety

Viewing 15 posts - 16 through 30 (of 32 total)
  • #149195

    I’m not worth Grahal.
    The bot is to be fully autonomous

    #149206

    Sounds like you seek the holy grail  … nobody has found it yet!? 🙂

    #149211

    Yes, i work in Santo Grial.

    #149213

    You could try this MM by Vonasi. You can set it to go back to the starting positionsize after a certain % drawdown.

     

    #149297
    The bot must remember at what price it entered the last trade.
    And if this operation is negative, operate in the following operations with half until it exceeds the drawdown.

    Once the drawdown has been overcome, return to operating with what it operated before the drawdown occurred.

    Example:
    The bot is trading with € 3.5 and earning in the historical € 20,000.
    The bot loses a trade and starts a drawdown.
    The bot is still operating, but at € 1.75.
    Time passes, the bot once again exceeds the historical € 20,000.
    The bot operates again at € 3.5.

    This is what I would like to do, I don’t know if it’s possible.

    #149298

    That’s exactly what my code does https://www.prorealcode.com/topic/drawdowns-safety/#post-148910.

    Why don’t you use it?

    #149357
    Okay, another problem Roberto.

    Your code works.
    The Minsize = € 0.5, but if in the first operations of the strategy there are losses, for example when it operates at € 0.75, the half is € 0.37, and since the minimum of IG to operate dax is € 0.5 the strategy stops.

    Solution???

    #149363

    Solution???

    Start off at $1 then it will go to $0.5 after a loss … not hard is it?

    You will be testing in Demo anyway so starting at $1 is not a problem?

    #149371

    It’s like trying to spare on car wheels, you buy 3 instead of 4, but it’s impossible to make it move…. buy 4 or use a bike!

     

    1 user thanked author for this post.
    #149380

    True!

    Im an idiot.

     

    🙁

    #149409

    Ok, new problem.

    I thought that was the problem, but no, the system stops the same.

    #149474

    Joking apart, you can use this snippet, modified to make the number of contracts not to drop below the minimum od 0.5:

     

    #149586
    We get closer …

    But for some reason, it goes from operating from € 6.83 to € 2.83 … when it should go from operating from € 6.83 to € 3,415.

    Maybe the “Round” command is missing ???

    #149589

    You can try using ROUND(), but this will remove decimals.

    To be able to tell exactly you should post your code.

     

    #149773

    Problema resolved.

     

    🙂

Viewing 15 posts - 16 through 30 (of 32 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login