Limiting trades after close of previous trade

Forums ProRealTime English forum ProOrder support Limiting trades after close of previous trade

Viewing 2 posts - 1 through 2 (of 2 total)
  • #153905
    IRP

    In automated trading, is it possible to instruct the PRT system not to enter a trade after a certain time has elapsed counting from the time the last trade was closed?

    Also, is there any link to help in setting up a trailing stop?

    Many thanks,

    I. Petrie

    #153906

    You can search the forum for TRAILING STOP and you’ll be returned many links to code and posts. Nicolas’code is at https://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/ (lines 17-56 are ready to be added to your code as is).

    This code will allow you to stop trading for MaxBars bars (not tested):

    TradeON must be added to your conditions to enter a trade.

     

Viewing 2 posts - 1 through 2 (of 2 total)

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