Skip to main content

OBV with MA for Amibroker (AFL)

lilmanlsk almost 16 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    amibroker

Here OBV and MA are plotted together and when OBV is above MA go long and OBV belo MA go short. Wait for confirmation and the angle in which the cross is taking place

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("OBV");

Plot( OBV(), _DEFAULT_NAME(), ParamColor("Color", colorCycle ), ParamStyle("Style")  );

if( Status("action") == actionCommentary )
{
printf("Interpretation is NOT available yet)");
printf("On Balance Volume is a running total of volume. It shows if volume is flowing into or out of a security.");
}

_SECTION_END();

Plot( MA( OBV(), 21 ), "MA21OBV", colorBlack, styleLine );
//--Indicator-End-- -- do not remove this line
Plot( OBV(), "OBV", -8 );

0 comments

Leave Comment

Please login here to leave a comment.