OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


  Current location        Thread information  
OmniTrader Professional Forum
OmniLanguage Discussion
OL indicator Start Time plot help
Last Activity 7/6/2025 3:47 AM
2 replies, 1282 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
ap·pren·ticeGuru

Veteran
100
Posts: 123

Joined: 10/22/2010
Location: Columbia, MD

User Profile
 
Subject : OL indicator Start Time plot help
Posted : 12/5/2018 11:13 AM
Post #30204


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.
^ Top
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: OL indicator Start Time plot help
Posted : 12/5/2018 1:07 PM
Post #30206 - In reply to #30204

Simply wrap the following condition around your plot statements:

If barhour() > 9 or barminute() > 35 then
… plot commands
End if.
^ Top
ap·pren·ticeGuru

Veteran
100
Posts: 123

Joined: 10/22/2010
Location: Columbia, MD

User Profile
 
Subject : RE: OL indicator Start Time plot help
Posted : 12/5/2018 4:49 PM
Post #30207 - In reply to #30204

Thanks Jim ... shall put it to work. Thank You again.
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.