|
ap·pren·ticeGuru
 Veteran
 Posts: 123
Joined: 10/22/2010
Location: Columbia, MD
User Profile |
Hello,
I need help to add OL code in an indicator to start plotting at 9:35a.m. (or whatever), instead of 9:30a.m. ... messes up the chart with huge bars, I'd like to disregard at market open.
Or possibly disregard bars that plot between 9:30 to 9:35a.m.
An simple example from another working test code could be helpful too.
Thanks for your help.
|
|
Jim Dean
 Sage
       Posts: 3433
Joined: 3/13/2006
Location: L'ville, GA
User Profile |
Simply wrap the following condition around your plot statements:
If barhour() > 9 or barminute() > 35 then
… plot commands
End if.
|
|
ap·pren·ticeGuru
 Veteran
 Posts: 123
Joined: 10/22/2010
Location: Columbia, MD
User Profile |
Thanks Jim ... shall put it to work. Thank You again.
|