OmniTrader Professional Forum - OmniTrader Pro Technical Support
SmoothD Trigger Line

^ Top
ZMTLock

Posts: 16

Joined: 1/31/2016

User Profile
 
Subject : SmoothD Trigger Line
Posted : 5/19/2017 12:10 PM
Post #28559

I'm programming a system and I would like to be able to use the SmoothD Trigger in OmniLanguage. Does anyone know a way that I could do that?
^ Top
Mel

Posts: 179

Joined: 3/18/2006

User Profile
 
Subject : RE: SmoothD Trigger Line
Posted : 5/20/2017 8:56 AM
Post #28562 - In reply to #28559

Assuming you do not want to use the SmoothD system itself, which I believe is a MACD based on the OptiSmooth filter, you could simply take the 9 period ema of the smoothD. You would rather take the OptSmooyh of it, but it won't accept any arguments except period. So:

m = smoothD(12,26,9)
t = ema(m,9)

t is your trigger line

Mel
^ Top
ZMTLock

Posts: 16

Joined: 1/31/2016

User Profile
 
Subject : RE: SmoothD Trigger Line
Posted : 5/20/2017 1:49 PM
Post #29561 - In reply to #28559

Thanks! I really appreciate the help!


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