how to "not enter the market" if i just took a trade?

Forums ProRealTime English forum ProOrder support how to "not enter the market" if i just took a trade?

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • #82315

    I want the rule to not enter the market if i have taken a trade within say the last 10 bars.

    By “taken a trade” i mean if i have just finished a trade. If the trade was profitable i  dont want to enter the market within the next 10 bars. If there is no way of seeing whether or not the last trade was a profit or loss  i would still try to backtest the rule.

    possible?

     

    #82316
    1. You have to use a variable to start counting bars when you exit a trade (you have to check you are NOT LONGONMARKET now but were LONGONMARKET the previous bar) and set another variable to disable trading
    2. After 10 bars you have to allow trading again

    you’ll also have to add “AND TradeOn” to your condition to enter a new trade.

     

     

    1 user thanked author for this post.
    #82328

    added as Row 71 to 

    Snippet Link Library

    #82341

    Big thanks

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

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