OmniTrader Forum - OmniTrader General Discussion
Higher Timeframe filters

^ Top
Rean

Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : Higher Timeframe filters
Posted : 4/13/2022 9:30 AM
Post #48611

Hi all

I'm running OT RT 2022. I want to apply filters which test criteria in multiple timeframes. For example, only fire signals on my 15m timeframe if price is below the Coral trend on the 1hr timeframe.

Can this be done?
^ Top
Barry Cohen

Posts: 6338

Joined: 1/19/2004

User Profile
 
Subject : RE: Higher Timeframe filters
Posted : 4/13/2022 10:13 AM
Post #48615 - In reply to #48611

Yes, try this filter & just set the parameters to what you want to use...

C < MT("CoralTrend(21,0.4)","60M",1)

^ Top
Rean

Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : RE: Higher Timeframe filters
Posted : 4/13/2022 2:06 PM
Post #48618 - In reply to #48611

Thanks Barry. What is the meaning of the ",1" at the end?
^ Top
Barry Cohen

Posts: 6338

Joined: 1/19/2004

User Profile
 
Subject : RE: Higher Timeframe filters
Posted : 4/13/2022 5:06 PM
Post #48619 - In reply to #48618

1 = dynamic, 2 = previous bar with built data, 3 = previous bar with actual data.


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