Rank: Advanced Member
Groups: Registered, Registered Users Joined: 10/6/2005(UTC) Posts: 51
|
I am trying to write translate a formula from another program which is Divergence(WilliamsR(23 periods), mov(close,3,simple),4%,13 days)
The other program specifies that the divergence remains true for 13 days. Metastock doesnt seem to have the same format, specifying only the percent divergence after the 2 diverging factors, and not specifying the number of days the divergence lasts.
How would i write the MS formula to specify the 13 day period in which the divergence remains tru? Many thanks
|
|
|
|
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)
|
Kidap
Alert("divergence formula",13); is the quick way to do it, assuming you have a divergence formula already. Other methods might be more appropriate, depending on how you construct the rest of your formula. The Alert() function extends a TRUE signal by "periods - 1" bars.
Roy
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 10/6/2005(UTC) Posts: 51
|
Thanks for the ideas- appreciate it
|
|
|
|
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.