Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 04:25:15 +0000



Post From: What is the simplest way to plot a box around a time interval?

[2021-03-27 03:49:56]
RoadKill - Posts: 38
I'm trying to find out what is the simplest way to plot a box that:
1. has a time range given by 2 certain hours and minutes, and
2. has the price level determined my the High and Low prices within that range.

For example,
I want to put a box on the chart showing the NY session that take place between 09:30 to 16:00 EST,
whose upper and lower boundaries are given by the High and Low within that time time.

After having looked at the hundreds of various example code, there is not one single example that plots a box of any kind, although there a plenty of weird and poorly documented functions that does all sort of other things... The closes I got was the "Weekly HL" (with no source code, afaict) and the "Daily Range Bands" with a lot of extra/undocumented features and spaghetti code.

Can some one please provide a study code to plot a box as suggested above?