Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 6/2/2010(UTC) Posts: 18
|
Hi, Can anyone guide me writing exploration of stochastic. My requirement-
Stochastic-
Time period-13
Slowing - 8
%D Parameters.
Time period -5
Method-Simple.
It's Buy and Sell signal.
Please guide how to paste in exploration.
Your guidence will be appriciated.
Regards.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 12/14/2009(UTC) Posts: 140 Location: Austria
|
Hi Joy,
I haven't worked with explorations until now, but there is already an explorer "Equis - Stochastic Osc - Expert System" in metastock. Maybe you can copy this Explorer and change it for your needs. There is also a search function in this forum - where you can find a lot of threads about different stochastic explorers. Additional the help function in metastocks gives you more information about the parameter-settings for different functions like Stoch(5,3)
best regards ts
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 6/2/2010(UTC) Posts: 18
|
Thanks Vienna I tried in Explorer but I get erros An '(' must immediately follow a function name. BTW my requirement is when Stoch cross it's mov avg from above a sell signal and vice vera. Regards.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 12/14/2009(UTC) Posts: 140 Location: Austria
|
This error often comes if a space-character is between a function name and the "(" Maybe you can post your code here to see what the error in the formula is..?
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 6/2/2010(UTC) Posts: 18
|
After reading some materials about Stochastic I tried following cod- Col A BUY Cross(Stoch(%K,%D),(13-8,)5,S)20 Col B SELL Cross(80,Stoch(%K,%D),(13-8,)5,S) Filter Col A OR Col B. I am getting result as- This Constant is being used incorrectly. Regards.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Hi Joy55
This might work a little better. Refer to the User Manual for the correct syntax of each function. MetaStock was telling you that you'd placed a constant inappropriately. If you compare the corrected lines of code with your own attempt you'll see that there are several differences. MetaStock will keep reporting an error until all syntax problems are corrected.
{ColA: BUY} Cross(Mov( Stoch(13,8),5,S),20);
{ColB: SELL} Cross(80,Mov( Stoch(13,8),5,S));
{Filter} ColA OR ColB
Roy
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 6/2/2010(UTC) Posts: 18
|
Thanks mstt, I copied and paste to my explorer and it works perfectly. Thank you for your valued help. Regards.
|
|
|
|
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.