| 
Rank: Advanced Member
 Groups: Moderators, Registered, Registered Users, SubscribersJoined: 10/8/2010(UTC)
 Posts: 1,999
 
 Thanks: 96 timesWas thanked: 159 time(s) in 154 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 | 
| 
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.