Adding a countdown timer to pause system

Forums ProRealTime English forum ProOrder support Adding a countdown timer to pause system

Viewing 5 posts - 1 through 5 (of 5 total)
  • #116534

     

    Hi,

     

    Just wondering if they is a way to pause a trading bot for one hour if the trading system has encountered two losses in a row ?

    #116536

    Topic moved to the correct forum. ProBuilder is for indicator topics and PrOrder is for strategy topics. Please try to post in the correct forum with future topics.

    #116540

    Between line 1 and 4 add

    Add AND TradeON to your conditions  to enter a trade.

    If you use a hourly TF then you can set back TradeON = 1 when OpenHour <> OpenHour[1].

    Add ONCE TradeON = 1 at the beginning of your code.

    #116557

    I coded this: (not tested)

    Add TRADEOK to your entry conditions.

     

    #116570

    Above added as Log 195 here …

    Snippet Link Library

    1 user thanked author for this post.
Viewing 5 posts - 1 through 5 (of 5 total)

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