Rank: Newbie
Groups: Registered, Registered Users Joined: 12/9/2009(UTC) Posts: 1
|
Hi everyone, I just joined the Metastock user ranks and I'm wondering if anyone can help with my indicator problem. I couldn't figure how I can code a MACD indicator which I can change EMA settings and have both histogram and EMAs. I also need a pivot point indicator with mid level pivots for both daily and weekly charts. I'd be more than glad if anyone can show me the way.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
|
This might work for the MACD: Create a new function with this:
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)
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.