ProBack test – Exit Trade during bar

Forums ProRealTime English forum ProBuilder support ProBack test – Exit Trade during bar

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

    Hi,

    Is it possible to exit a trade when the ask price crosses a level rather than having to wait fore the closed price?

    If this is possible how do i modify this?

     

     

     

    #186826

    You can achieve that by using multiple time frames, so you can access, say 1-hour candle, every minute or every second.

    Searching this forum for MTF will return you many useful articles, examples and code snippets.

    1 user thanked author for this post.
    #186841

    My coding is in its infancy along with my knowledge of Probacktest. I can’t seem to find what I’m looking for.

    Can you do this in the simplified or must you do it in creation by programming?

    Based on PRT attachement above my default timeframe is 2m.

    I want to exit the trade when price crosses the 20ema or a.s.a.p

    Am I write in thinking that I need to select a lower T/F (lets say 1 second) & we can use 1s closed bars to trigger the exit.

    How would this code be written?

    #186979

    There you go:

    append it to your code and run it on a TF lower than 2 minutes (and of which 2 minutes is a multiple, say 10 secondfs or 1 second).

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