+91-0000000000

}

Monday – Friday : 9:00 AM – 6:30 PM

MVPT Frame

The MVPT Frame AFL in Amibroker stands for Multiple Volume Profile Types, aiding traders in analyzing volume profiles across various perspectives. Integrated with Amibroker data feed, this AFL offers insights into volume-based analysis, facilitating better understanding of market dynamics. By utilizing Amibroker data feed capabilities, this AFL assists traders in decision-making by evaluating volume profiles within different frames for comprehensive market analysis.

/
Level = Param("Level", 0, -100, 100 ); 
Scale = Param("Scale", 1, 0.1, 10, 0.1 ); 

AutoScale = ParamToggle("AutoScale", "No|Yes", 1 ); 

rV = V/50000; 
AvgFour = ( O + H + L + C )/4; 

MVPT = Cum( rV * (AvgFour - Ref( AvgFour, -1 ) )/Ref( AvgFour, -1 ) ); 

Plot( C, "Price", colorBlack, styleBar ); 

if( AutoScale ) 
{ 
 fvb = Status("firstvisiblebar"); 
 rangePrice = HighestVisibleValue( H ) - LowestVisibleValue( L ); 
 rangeMVPT = HighestVisibleValue( MVPT ) - LowestVisibleValue( MVPT ); 
 Scale = rangePrice / rangeMVPT; 
 MVPT *= Scale; 
 Level = AvgFour[ fvb ] - MVPT[ fvb ]; 
} 
else 
{ 
 MVPT *= Scale; 
} 

MVPT = MVPT + Level; 

Plot( MVPT, "MVPT" + StrFormat("(Scale=%g, Level=%g)", Scale, Level), colorRed, styleThick );

Open chat
1
Hi, how can I help you?