How do you write code to draw a line at 50% or half the distance of the open to close of the 9:30 bar.
Example: 9:30-9:40 bar
open $20.00
close $21.00
A line is then draw across chart at 20.50 half the distance of the open to close of 9:30 bar
Example: 9:30-9:40 bar
open $20.00
close $21.00
A line is then draw across chart at 20.50 half the distance of the open to close of 9:30 bar
Comment