Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Real-Time Bid vs Ask Dashboard w/ Price and Volume for Amibroker (AFL)
This made by me based on existence Bid Ask Dashboard. This need real-time data.
Screenshots
Indicator / Formula
_SECTION_BEGIN( "Bid Vs Ask Dashboard" ); messageboard = ParamToggle( "Message Board", "Show|Hide", 1 ); if( messageboard == 1 ) { Bid = GetRTData( "BidSize" ); //IIf((H==L),0,V*(C-L)/(H-L)); BidPrice = GetRTData( "Bid" ); Ask = GetRTData( "AskSize" ); //IIf((H==L),0,V*(H-C)/(H-L)); AskPrice = GetRTData( "Ask" ); LastPrice = GetRTData( "Last" ); LastTradeVolume = GetRTData( "TradeVolume" ); GfxSelectFont( "Tahoma", 13, 100 ); GfxSetBkMode( 1 ); GfxSetTextColor( colorWhite ); pxHeight = Status( "pxchartheight" ) ; xx = Status( "pxchartwidth" ); x = Param( "x", 500, 1, 1200, 1 ); x2 = x + 90; y = Param( "y", 120, 50, 2000, 1 ); GfxSelectSolidBrush( colorBlue ); // this is the box background color GfxSelectPen( colorBlue, 1 ); // broader color GfxRoundRect( x, y - 98, x2, y - 50 , 7, 7 ) ; GfxTextOut( ( "Bid " + BidPrice ), x + 13, y - 95 ); GfxTextOut( ( " " ), x + 27, y - 95 ); GfxTextOut( ( "" + Bid ), x + 13, y - 75 ) ; // The text format location GfxSelectSolidBrush( colorGrey40 ); GfxSelectPen( colorGrey40, 1 ); // broader color GfxRoundRect( x + 92, y - 98, x2 + 90, y - 50 , 7, 7 ) ; GfxTextOut( ( "Price" ), x + 13 + 90, y - 95 ); GfxTextOut( ( " " ), x + 27 + 90, y - 95 ); GfxTextOut( ( "" + LastPrice ), x + 13 + 90, y - 75 ) ; // The text format location GfxSelectSolidBrush( colorGrey40 ); GfxSelectPen( colorGrey40, 1 ); // broader color GfxRoundRect( x + 90 + 92, y - 98, x2 + 90 + 90, y - 50 , 7, 7 ) ; GfxTextOut( ( "Volume" ), x + 13 + 90 + 90, y - 95 ); GfxTextOut( ( " " ), x + 27 + 90 + 90, y - 95 ); GfxTextOut( ( "" + LastTradeVolume ), x + 13 + 90 + 90, y - 75 ) ; // The text format location GfxSelectSolidBrush( colorOrange ); GfxSelectPen( colorOrange, 1 ); // broader color GfxRoundRect( x + 90 + 90 + 92, y - 98, x2 + 90 + 90 + 90, y - 50 , 7, 7 ) ; GfxTextOut( ( "Ask " + AskPrice ), x + 13 + 90 + 90 + 90, y - 95 ); GfxTextOut( ( " " ), x + 27 + 90 + 90 + 90, y - 95 ); GfxTextOut( ( "" + Ask ), x + 13 + 90 + 90 + 90, y - 75 ) ; // The text format location } _SECTION_END();
5 comments
Leave Comment
Please login here to leave a comment.
Back
dear brother
how can we use this in trading?
ravi
It just support the current real-time bid/ask which more visual, not for trading
How to get Historical tick of Bid/Ask data ?
Hi,
Thanks for providing the code for Bid and Ask price and its size.
I am looking for small enhancement to this, how do I get Total Bid quantity size and Total Ask Quantity size.
Appreciate your anticipation.
Thanks,
Kiran
nhandled exception
Type: CAmiException
Description: Structured exception within AFL engine
Address: 00000000
if( messageboard == 1 )
{
Bid = GetRTData(
-————————-^File: ‘Formulas\Drag-drop\RealTime Bid vs Ask Dashboard wPrice and Volume 7.afl’, Ln: 8, Col: 21
Error 47.
plis someone help…send me back ariesbuwono@gmail.com..thank you