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



New Topic Post Reply
Go to last post Go to first unread
MS Support  
#1 Posted : Friday, July 28, 2017 10:01:50 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,372

Thanks: 28 times
Was thanked: 104 time(s) in 101 post(s)

Vitali Apirine's article, “The Middle-High-Low Moving Average”, introduced an indicator of the same name. The MetaStock formula included in the article is written to always return the average for the Dow Jones Industrial Average.   Below is a version that will calculate on the base instrument of a chart:

Middle-High-Low Simple Moving Average:

tp1:= Input("High-Low range periods", 3, 15, 3);
tp2:= Input("Moving average Length", 3, 200, 10);
r:= (HHV(H, tp1) + LLV(L, tp1))/2;
Mov( r, tp2, S)

Quick Reply Show Quick Reply
Users browsing this topic
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.