Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 1/25/2010(UTC) Posts: 44 Location: Rome, IT
|
Hi guys... i've just write the centered moving average formula. To apply this easier I created with the indicator buider a function Fml("CMA_x_period") that work perfectly.
Now I need to write a formula that apply this centered moving average and then reapply the same over that...how can I write this in an only function without apply two times manually the function Fml("CMA_x_period")?
Tnx everybody!
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
|
You have lost me. Are you talking about doing something like: Mov(Mov(C,5,S),10,S) with your Fml("CMA_x_period") function?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 1/25/2010(UTC) Posts: 44 Location: Rome, IT
|
Exactly johnl! in your example Mov(Mov(C,5,S),5,S)...both moving averages with the same periods...but you've got precisely!
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
|
I don't think you can pass parms like that in a regular indicator that you can make in indicator builder, or at least I have never seen it done. I dup the code twice. I have become an expert in using Ctrl C and Ctrl V to copy and past code.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 12/14/2009(UTC) Posts: 140 Location: Austria
|
You are possible to pass single parameters to implemented indicators (formulas) with the gv.dll but you still have to call one function after the other - maybe it would be possible with +Prev-Prev but this costs a lot of time...
http://forum.equis.com/forums/10750/ShowThread.aspx http://forum.equis.com/forums/thread/24369.aspx
|
|
|
|
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.