Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 5/15/2006(UTC) Views messages in topic : 3 Location: Melbourne
|
I am trying to create an expert that will give me the value of the stochastic indicator when the "trough" condition was met ( it could be any other condition). I have looked at the forumdll manual and tried to download the file but it does not seem to be available. I thus cannot see wether this would help.
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 4/30/2006(UTC) Posts: 15 Location: North Carolina
|
From the sounds of what you are trying to do this should be the format:
Trough(nth, Stoch(%k Periods, %k Slowing) , %Minimum Change)
Kirk
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 5/15/2006(UTC) Views messages in topic : 3 Location: Melbourne
|
Thanks for trying to help, Kirk. It is my fault that I was not specific enough.
I am trying to find the value of the stochastic when the trough is in the price and not the stochastic itself. Your formula gives the stochastic when the trough is in the stochastic.
Peter
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 4/30/2006(UTC) Posts: 15 Location: North Carolina
|
Ok. Well then I suppose it would be this:
ValueWhen(Nth, Trough(nth, C , %Minimum Change), Stoch(%k Periods, %k Slowing) )
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 5/15/2006(UTC) Views messages in topic : 3 Location: Melbourne
|
That does not work presumably because there are too many "nths". What does work is this
ExtFml( "Forum20.Ref", Sto(5,3) , TroughBars(1,L,5))
or what ever numbers you wish to choose.
I was looking for "forum.VarREF" but it was not in the mannual under "files". I did find something that is probably the same under "files" DLL_200.
Thanks for trying to help.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Variable references
(MetaStock)
by Flexi
6/15/2009 9:53:49 AM(UTC)
|
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.