Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
MACD DEMA Smoothed
shortperiods:=Input("Enter the shorter DEMA periods: ",3,20,12);
longperiods:=Input("Enter the longer DEMA periods: ",21,50,26);
signal:=Input("Enter the number of signal line periods: ",3,50,9);
Dema(C,shortperiods)-Dema(C,longperiods);
Mov(Dema(C,shortperiods)-Dema(C,longperiods),signal,E)
MACD TEMA Smoothed
shortperiods:=Input("Enter the shorter TEMA periods: ",3,20,12);
longperiods:=Input("Enter the longer TEMA periods: ",21,50,26);
signal:=Input("Enter the number of signal line periods: ",3,50,9);
Tema(C,shortperiods)-Tema(C,longperiods);
Mov(Tema(C,shortperiods) - Tema(C,longperiods),signal,E)
|