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

Notification

Icon
Error

Options
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,420

Thanks: 35 times
Was thanked: 110 time(s) in 106 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:

Code:
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)

Users browsing this topic
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.