logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
nishant  
#1 Posted : Monday, November 17, 2014 5:04:35 AM(UTC)
nishant

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 3/9/2007(UTC)
Posts: 35

Thanks: 1 times

Hello everyone,

Yes, Stochastic Indicator is inbuilt with Metastock but i require the formula with some tweak. Anyone who has used or have knowledge of MT4 will notice that that there is an option namely "Price Field" which can be either set to Close/Close or Low/High. As i could interpret Metastock uses Low/High settings. Can someone please replace Low/High with Close/Close.

mstt  
#2 Posted : Monday, November 17, 2014 7:58:07 PM(UTC)
mstt

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 Nishant I copied the following text formula from the MS 11 EOD PDF User Manual. I trust this helps. Stochastic Oscillator The following formula calculates a 5-period %K Stochastic Oscillator with 3-period slowing: (sum( c - llv(l,5), 3 ) / sum(hhv(h,5) - llv(l,5), 3) ) * 100 After creating a new indicator for this code and then closing the indicator you can extract the code (as saved) and get a more easily read version (same code but with capital letters in the appropriate places). I'm always suspicious of MS code that has lowercase letters - it suggests that the code has been typed and may therefore contain syntax errors. Hopefully that's not true of the PDF user manual. (Sum( C - LLV(L,5), 3 ) / Sum(HHV(H,5) - LLV(L,5), 3) ) * 100 Roy
thanks 1 user thanked mstt for this useful post.
nishant on 11/18/2014(UTC)
nishant  
#3 Posted : Tuesday, November 18, 2014 8:25:12 AM(UTC)
nishant

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 3/9/2007(UTC)
Posts: 35

Thanks: 1 times
Thank you so much Roy!.. that did help immensely..
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.