myOpening Range, one for EU and USA

myOpening Range, one for EU and USA

► This Indicator draws a rectangle around the candlesticks formed during the Pre-opening of the European Session, it provides the minimum, maximum values as well as the difference and draws segments from the highest and the lowest until the closing of the American Session…


– “Info” Shows or hides alphanumeric information

– “HighLow” Shows or hides the lines (higher / lower)

– “Box” Shows or hides the rectangle of Pre-opening Range

– “OpenClose” Schows or hides the open and close as line

Two variables used to

– “Alpha” Adjust the transparency of text and lines (0 to 255)

– “Delta” Adjusts the information (above and below) of the rectangle

(to adjust according to the selected asset)

Time variables have to be adjusted in the code, if necessary or desired.

!!!!!!! ONLY TIMEFRAME 1, 5, 10, 15 or 30 minutes !!!!!!

Sometimes there is an error “highest” in the EUR version. I do not find any errors and assume it comes from the data feed.

This is an update from

I trade this in combination with myCandle V 1.4, MyOutsidebar+Stop,  MyThermometer


Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. crolakstrading • 3 days ago #

    HI Thomas,
    error “highest” in both EUR and USA doesn’t seem to be working

    • Thomas • 2 days ago #

      Do you use PRT with IG? Do you have the right time unit (1-5-10-15-30min)? To much time units? DAX or DJ30?

  2. crolakstrading • 1 day ago #

    yes i use PRT on IG? is it not work on dax or dow?

    • Thomas • 6 mins ago #

      It works with DAX and DJ30. But you must use the timeframes 1 or 5 or 10 or 15 or 30 min. i use it with 200 or 400 timeunits.

Register or


avatar avatar
Related users ' posts
Thomas Thanks swapping. That´s Teamwork ;-)
Jesper This looks very interesting. I'm getting an error though when trying to launch it - A positi...
Razz Hello Thomas the indicator is very good! Can you tell me how I can add 2 lines in the distan...
Dari when I put the indicator does not put it on the price, sn in a new box like many indicators....
Nicolas by adding it on price instead. Use the wrench on the left upper side of your price chart.
Vonasi It is a long time since I coded this. You may have found a coding error. At a glance I think...
Vonasi Yes that was the issue. I have posted an updated ITF file here:
crolakstrading @vonasi Thank you for fixing the issue! This is a great indicator.
thierrybl [URL=][IMG]
Vonasi That should be possible - I'll add it to my list to work on!
thierrybl Thanks a lot
Kris75 Hi, This is great !! anyone ever developped a strategy about it ???
swapping hello Kris75, not that I know but it is possible to make a scenario ;)
digitation Hi swapping, Thanks for sharing this useful tool. I was wondering how difficult it would be...
AlexWoe89 Hi, thanks for the code. Do you have an idea, if you can also draw pre-market data on char...
Thomas Hello swapping. Very good idea. Can I use and modify the code? I would like to add a few mor...
Razz Hello swapping the indicator is very good! Can you tell me how I can add 2 lines in the dist...
swapping Hello wanjpt, I do not see how to do it because the calculation is for 12 candles of 5mn onl...
wanjpt Thanks swapping.
Thomas @wanjpt
Mirko Vaglio Interesting idea to bypass the limit of PRT about multiple timeframe, and I am just trying t...
Mirko Vaglio Looking a little bit more, now I understand what had to be absolutely obvious from the first...
Seb nice code! I'm trying to use your method to do a higher timeframe EMA, without success yet. ...