1. X

    How to set a limit gain for a day in a setup?

    Hi folks, I'm trying to code a scalp method that's a quite simple, buy when price's cross up the EMA of 23 periods, the sell signal is given on profit target or stop loss by ApplyStop, but i don't want to trade all day, just to get a static amount and then stop the method until next day...
  2. E


    I am working on backtesting a strategy. I would like to Buy at Open in the begining of the week and sell it off at Close at the end of the week. It should not matter how many days are in between the beginging of the week and the end of the week. Could anyone of you help me write an...