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

Real-Time Bid vs Ask Dashboard w/ Price and Volume for Amibroker (AFL)

Rating:
4 / 5 (Votes 3)
Tags:
amibroker, bid, ask, realtime

This made by me based on existence Bid Ask Dashboard. This need real-time data.

Screenshots

Indicator / Formula

Copy & Paste Friendly
_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();

2 comments

1. niklravi

dear brother
how can we use this in trading?

ravi

2. khanh.toquoc

It just support the current real-time bid/ask which more visual, not for trading

Leave Comment

Please login here to leave a comment.

Back