Make program take a pause after win

Forums ProRealTime English forum ProOrder support Make program take a pause after win

Viewing 7 posts - 1 through 7 (of 7 total)
  • #197630

    Hi all

    Been playing around with ProRealtime for like 10w now and I have made some profits so far, but I have one problem that maybe someone can help me with.

    If this is met

    The following trade is 90% a loss. Is there a way to make the program to take a pause/break for some time for ex 12/24/36h after it has hit the target profit?

    Best wishes

    Daniel

     

    #197631

    Yes, the best is pausing the strategy for N bars (you know how many bars it takes to pause 1, 4 or 48 hours).

    Add the variable TradeON to your conditions to trade:

     

    1 user thanked author for this post.
    #197632

    Hi Roberto and tank you for your fast reply

    I have sofar just used the simplyfied creation, so all this is new to me. I post the full code and mb you can tell me where and how to make your code fit?

     

    #197641

    There you go:

    1 user thanked author for this post.
    #197645

    Tank you so much, I got it working and is now trying out different values and backtesting. But now it makes a pause after every winning trade, so both when “Condition to exit long position” makes a profit and “stops and targets” are met. Is there a way to make it only pause after the “Stops and target(set target pProfit(325))” is met?

    #197707

    There you go:

     

    2 users thanked author for this post.
    #197712

    Tank you so very much Roberto, you truly are a king among men!

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

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