OmniTrader Professional Forum - OmniLanguage Discussion
Accessing time frames in OL

^ Top
JB

Posts: 434

Joined: 6/6/2006

User Profile
 
Subject : Accessing time frames in OL
Posted : 10/18/2023 4:45 PM
Post #32331

Hi all I seem to recall that it is possible to set a specific time frame for an omnilangauge indicator to use within the script any pointers would be welcome Thanks
^ Top
Bekaert

Posts: 52

Joined: 2/1/2008
Location: Oostkamp, Belgium, Europe

User Profile
 
Subject : RE: Accessing time frames in OL
Posted : 10/22/2023 5:26 AM
Post #32334 - In reply to #32331

in Omnitrader, press F1 for help.
in the search window type "multiple timeframe"
then select "Parameters"
and you wil get the whole explanation how to use other timeframes in formulas scripts

Regards
Marc
^ Top
JB

Posts: 434

Joined: 6/6/2006

User Profile
 
Subject : RE: Accessing time frames in OL
Posted : 10/23/2023 7:31 AM
Post #32335 - In reply to #32331

Hi Marc Thanks for the reply. My question was intendned to be aimed at Omni Langauge where home made indicators are compiled in the omnilanguage window not the formula buidler. So I dont think this fully covers that unless I have finger trouble.
^ Top
Frank Birch

Posts: 174

Joined: 3/25/2006
Location: UK

User Profile
 
Subject : RE: Accessing time frames in OL
Posted : 10/29/2023 4:33 AM
Post #32340 - In reply to #32335

Hi Jb & all,

I don't know if this Formula helps but this is what I use inside the filter block to access time frames and to select individual time frames.

Periodicity = 1 and Compression = 60

This is set to 60 minute change to what ever suites.

Regards

Frank Birch


https://www.omnitrader.com/currentclients/proforum/thread-view.asp?threadid=8140&posts=4