Basic breakout

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

    Hi can anyone help me with some basic coding?

    Need to enter long at 0800 when price moves above high of last 3 hours or short position if price goes below last 3 hours.

    Mid there anyway to increase your pip size automatically when your account reaches certain amounts?

    Many Thanks

    TC

    #11941

    This  should work:

     

    #11963

    Thanks Roberto,

     

     

    #22748

    Hello,

    Today was my first day trying to understand the prt platform for back testing and auto trading….I’ve never coded anything before so please be gentle.

    In regards to the above breakout is it possible to set orders one or two pips above the high? From what I have read so far I can only see orders placed AT a above the high price.

    I hope that makes sense.

    Many thanks for any help.

    #22841

    MaxPrice and MinPrice variables in the example above are already made of recent highest/lowest price. If you want to add/subtract points to their values, you can add them as follows:

    Hope it helps.

    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