Basket Viewer-View Statistics on groups of Long and Short Pairs - indicator for MetaTrader 4




Basket Viewer-View Statistics on groups of Long and Short Pairs - indicator for MetaTrader 4


This utility allows monitoring of multiple symbols and positions on one chart, with one group for long (buy) symbols, and another group for short (sell) symbols.  There are 7 default symbol pairs in each of the groups.  The user may change these and enter up to 50 symbols from their market watch in either of the long or short basket for viewing.

The current display chart can be changed to any of the symbols symbols in the indicator display with a click on the symbol. Statistics including ATR for the chart period, points gained or lost from a weeks start and position gains or losses and lots exposure are displayed. The statistics week may be changed with simple clicks on the display, and the display may be dragged and dropped to a different location. The load on quote processing is kept low by simply posting an event that starts the processing for a display update instead of running the update inline with the quote processing.

Here are descriptions of the main controls and features of the display - The first two lines have the control objects ( full picture below):

Basket Viewer Control Lines

"Basket Viewer (wk 0): 2019.05.19 - 2019.05.26"

Click "Basket Viewer" to select the object and drag and drop the panel to a different location on the chart.

Click the first date (2019.05.19) to increment the week being displayed.

Click the 2nd date (2019.05.26) to decrement the week being displayed.

"BUY BASKET   Points   Bskt_ATR   Pos_Prft    Pos_lots"

Click this line to highlight the currently selected week on the chart (draws a rectangle over the week).  Click a 2nd time to remove the rectangle.

"BUY BASKET" is the list of pairs extracted from the User controllable "Buy Pairs String".  Click the individual pairs strings to change the chart to that symbol.

"Points" is the Open of the week subtracted from the close of the week (close - open).  This is based on the week selected, (default is week 0, the current week).

"Bskt_ATR" is the atr for the symbol for the week in the charts time frame.  This is based on the week selected, (default is week 0, the current week).

"Pos_Prft"  is the profit or loss from any active trades on the symbol.  In the picture, there is a $150.07 profit on GBPJPY.  This does not change based on week selected.

"Pos_Lots" is the exposure to the indicated symbol.  In the picture, there is a 1 lot exposure shown on GBPJPY. This does not change based on week selected.

As can by seen in the below display, this header is followed by the buy pairs statistics, including a total for the Points, ATR, Prft and Lots columns.

"SELL_BASLET   Points   Bskt_ATR   Pos_Prft   Pos_Lots"

This is a repeat of the "BUY Basket" header for the "Sell Pairs String".  There are no event actions for clicking this display line. As can by seen in the below display, this header is followed by the sell pairs statistics, including a total for the Points, ATR, Prft and Lots columns.  The totals are opposite from the Buy Basket - for example, profit points are (open - current/close) price for the week, versus (current/close - open) for the Buy Basket.

Clicking on any of the "Symbol Pairs" changes the chart to that symbol pair.

Basket Viewer Display Panel


Download Basket Viewer-View Statistics on groups of Long and Short Pairs - indicator for MetaTrader 4




Related News




Latest News
Stocks: Home Depot, Kohls, Energy Shares Weigh on Market
19.11.2019 22:24
Investing.com – Stocks struggled to keep the big rally moving Tuesday, but weakness in retail stocks pulled the Dow lower and kept the S&P 500 in check. The S&P 500 hit a new intraday high but just missed a new record close and sixth straight gain. The NASDAQ Composite and Nasdaq 100 indexes did close at record levels and hit new
Read more
Day Ahead: Top 3 Things to Watch
19.11.2019 22:21
Investing.com - Here's a preview of the top 3 things that could rock markets tomorrow. 1. Fed's Minutes in Focus The Federal Reserve on Wednesday at 2 pm ET (19:00 GMT) will release the minutes of its October 29-30 Federal Open Market Committee (FOMC) meeting. At its October meeting, the FOMC cut interest rates, but expectations for
Read more
OxyContin maker Purdue Pharma to pay states' lawyers, urged to help victims
19.11.2019 22:18
By Tom Hals (Reuters) - OxyContin maker Purdue Pharma LP got court approval on Tuesday to reimburse millions of dollars in legal fees for states that back its proposed $10 billion settlement of opioid lawsuits, but with a condition meant to help victims of the addiction crisis. Purdue had told Bankruptcy Judge Robert Drain at Tuesday's
Read more
Australia to fast-track $2.6 billion worth of infrastructure spending in bid to revive economy
19.11.2019 22:15
By Colin Packham SYDNEY (Reuters) - Australia's conservative government will fast-track A$3.8 billion ($2.59 billion) in infrastructure spending, Prime Minister Scott Morrison said on Wednesday - a fillip to a stalling economy. Australia's economic growth has slumped to its lowest in a decade, led by weakness in consumer spending and
Read more
Conoco Plans Share Buyback That’s Almost 50% of Market Value
19.11.2019 22:12
(Bloomberg) -- ConocoPhillips (NYSE:COP) announced a 10-year plan to buy back $30 billion of shares, equivalent to about half of its current market capitalization, as the oil producer attempts to distance itself from the troubled U.S. shale industry. The company also said it will pay dividends of about $20 billion over the period and limit average
Read more