OmniTrader Forum - OmniScan
SMA on Indicator CCI

^ Top
gottfried

Posts: 103

Joined: 12/17/2003
Location: Biel/Bienne Switzerland

User Profile
 
Subject : SMA on Indicator CCI
Posted : 2/14/2021 7:26 AM
Post #47905

I made a Moving Average SMA(9) on Indicator CCI(14). This works fine.
But I did not find the formula for make a Filter or Scan in Omniscan with this combination.Has anyone an idea?

Thanks

^ Top
Jim Dean

Posts: 3022

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: SMA on Indicator CCI
Posted : 2/14/2021 11:21 AM
Post #47906 - In reply to #47905

Sma(cci(14),9)

You’ll need to create a true false boolean rule of some sort, to use it in a scan. Here is one that finds upward crossovers:

Cci(14)[1] < Sma(cci(14),9)[1] and Cci(14) >= Sma(cci(14),9)
^ Top
gottfried

Posts: 103

Joined: 12/17/2003
Location: Biel/Bienne Switzerland

User Profile
 
Subject : RE: SMA on Indicator CCI
Posted : 2/14/2021 1:34 PM
Post #47907 - In reply to #47905

Thanks a lot Jim That's the solution.


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