Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

OBV - with Buy and Sell Signals for Amibroker (AFL)

Rating:
3 / 5 (Votes 3)
Tags:
oscillator, amibroker

The OBV with a Smoothed OBV of MA 10 to indicate buy and sell signals.

Regards,

Prasad Rao.

Screenshots

Similar Indicators / Formulas

3 Days Track
Submitted by janet0211 over 9 years ago
Trading Volume Statistic
Submitted by tuanstock1 over 5 years ago
Ergodic Oscillator
Submitted by dljtrader almost 9 years ago
BoH Risk Aversion Indicator
Submitted by genkumag almost 8 years ago
Chande Momentum Oscillator
Submitted by klimpek almost 9 years ago
%R ++
Submitted by reb over 9 years ago

Indicator / Formula

Copy & Paste Friendly
/// PROGRAMME MODIFIED BY PRASAD RAO FOR MASTER PLOTTER ///

_SECTION_BEGIN("BACK COLR");
_SECTION_BEGIN("PRASAD SYSTEMS");
Param("DEDICATED TO MY FATHER",5);
_SECTION_END();
GfxSetOverlayMode(1); 


SetChartBkColor( ParamColor("Chart Color", colorBlack));
SetChartOptions(0,chartShowArrows|chartShowDates);
GfxSetOverlayMode(1);
GfxSelectFont("Tahoma", Status("pxheight")/8 ); /* Up down name*/
GfxSetTextAlign( 6 );// center alignment
GfxSetTextColor( ParamColor("Text Color", ColorHSB( 42, 42, 42 ) ));
GfxSetBkMode(0); // transparent
GfxTextOut( Name(), Status("pxwidth")/2, Status("pxheight")/5);

GfxSelectFont("Tahoma", Status("pxheight")/17 );
GfxTextOut( IndustryID(1), Status("pxwidth")/2, Status("pxheight")/2.6 );  /* Up Down SectBALKRISHNA MACD CHARTSor*/

GfxSelectFont("Tahoma", Status("pxheight")/30 );
GfxTextOut( "Feedback prasad9rao@gmail.com", Status("pxwidth")/2, Status("pxheight")/2.1);

GfxSelectFont("Tahoma", Status("pxheight")/10 );
GfxTextOut( "BALKRISHNA OBV CHARTS", Status("pxwidth")/2, Status("pxheight")/15 );

k = (GetPerformanceCounter()/100)%256; 
printf("GetPerformance Counter %g",k);

GfxSelectFont("Arial Narrow", 10,700 ); 
GfxSetBkMode(1); 
GfxSetTextColor(colorYellow); 
//GfxTextOut("Dedicated to the loving memory of MY FATHER on his 75th Birth  Anniversay - LATE BALKRISHNA RAMCHANDRA RAO 13.10.1935",100+k ,15); 
GfxSelectFont("Century Goliath",10,500); 
GfxSetBkMode(1); 
GfxSetTextColor(colorAqua); 
GfxTextOut("Prasad Inspirations",60 ,28); 
RequestTimedRefresh(1); 
_SECTION_END();

MA_OBV_Period = Param("OBV_MA Period",10,10,21,1);

Plot(OBV(),"",colorYellow);
Plot(MA(OBV(),MA_OBV_Period),_DEFAULT_NAME(),colorAqua);

/***********OBV CROSS MA************/
OBV_BUY = Cross(OBV(),MA(OBV(),MA_OBV_Period));
OBV_SELL = Cross(MA(OBV(),MA_OBV_Period),OBV());

PlotShapes(IIf(OBV_BUY ,shapeUpArrow ,Null),colorOrange);
PlotShapes(IIf(OBV_SELL ,shapeDownArrow ,Null),colorSkyblue);
/****************************************************
                   CHART TITLES
****************************************************/



Title = EncodeColor(colorYellow)+  "Company :: " +Title = Name() + "    " + EncodeColor(colorLightOrange)  + "Date :: " + Date()  + "    "


/********************OBV*********************/

+EncodeColor(colorWhite)+"OBV = "+EncodeColor(colorYellow)+ "["+OBV()+"]" 
+EncodeColor(colorWhite)+"         MA "+EncodeColor(colorWhite)+ "["+ EncodeColor(colorAqua)+ MA_OBV_Period+EncodeColor(colorWhite)+"]" 

+EncodeColor(colorWhite)+"     OBV = "+
WriteIf(OBV_BUY,EncodeColor(colorBrightGreen)+"BUY(1)",WriteIf(OBV_SELL,EncodeColor(colorRed)+"SELL(1)",""))+
WriteIf(NOT OBV_BUY AND NOT OBV_SELL,"No Cross","");




1 comments

1. niklravi

DEAR PRASD SIR
THE ABOVE FORMULA IN COMBINATION WITH THE TOP GRAPH FORMULA SEEMS OKAY. AS TOO MANY BUYS AND SELLS AND AFTER ALL WHICH TIME FRAME TO USE?IS IT WORK ON NIFTY?
CAN U SEND THE TOP CHART AFL WITH NUMBER OF BUYS AND SELLS PROMPTED TO MY MAIL ravinikl@yahoo.com

with regards
ravi
qatar

Leave Comment

Please login here to leave a comment.

Back