How to create a breakout box between 2 hours

New short training video to programming for prorealtime: how to determine the highest and lowest between 2 schedules in an intraday chart.

This is one of the most frequently asked questions on the forums of the site, very useful to create either strategies of automatic trading breakout on markets of type indexes in the first minutes / hours of quotations.

This type of code can be re-used for any intraday trading strategy to create either 1 or more breakout boxes.

In the example of the video, the values to be tested are “high value” and “low value”, in order to observe a breakout of these 2 terminals, we could for example use crossing instructions such as “crosses over”  or “crosses under“, for which you will find complete examples in the online prorealtime documentation of the site.

For any questions or explanations, do not hesitate to use the comments below or one of the forums of the site.

Share this

  1. Sofitech • 12/02/2016 #

    Nicolas. J’ai une erreur de syntaxe dans mon code… mais je ne vois pas d’ou vient le problème. Voir image jointe
     

  2. kajsy88 • 12/02/2016 #

    intradaybarindex            it doesn’t like when I’ve copied this code ?

  3. kajsy88 • 12/02/2016 #

    I’ve got this working thanks 

avatar
Register or

Top