Multi Symbol Chart Indicator For MT5

Multi Symbol Chart Indicator For MT5

Table Of Contents:

  1. Multi Symbol Chart Indicator For MT5
  2. Installing the Multi Symbol Chart Indicator For MT5
  3. Parameters of the Multi Symbol Chart Indicator For MT5
  4. Buffers of the Multi Symbol Chart Indicator For MT5
  5. Main Parts Of The Code

The Multi Symbol Chart Indicator For MT5 is an indicator which brings a comprehensive trading analysis dynamic to the trading environment for technically inclined traders who pay attention to detail - so what this indicator does is that it has the ability to plot the candlestick formations of multiple financial instruments within one trading chart however traders may wonder how can this be of benefit to them, well it is beneficial in many different ways and one of the applications which really sticks out is when the trader wants to look at the visual implications of price correlation whether it is negative or positive correlation. Basically correlation is a statistical method of comparing one asset to another relative to its price action and it is measured between -1 or 100% and positive 1 or positive 100% however it is very rare that analysts will get 100% positive or 100% negative correlation in trading - that is very unlikely. So for instance if a trader chooses to maybe upload EURJPY and AUDJPY symbols then the price action formations of the candlestick formations will be very much similar from a visual perspective and therefore when they have identified strong trading opportunities on one trading pair such as the EURJPY then they may decide to open up the same trade on the AUDJPY pair however for this indicator you may only load up to four symbols. This indicator has one parameter which is called the applied price parameter meaning that in this instance the functionality of the indicator may be applied to the closing price, the opening price, the high price, the low price, the median price, the typical price or the weighted closing price.

FREE Multi Symbol Chart Indicator

Download the FREE Multi Symbol Chart Indicator for MT5.

To receive my email 100% sure: 
Put my email on your whitelist!

 

Partially Automated Trading Besides Your Day Job

Alerts In Real-Time When Divergences Occur

 

Installing the Multi Symbol Chart Indicator For MT5

After you downloaded the indicator via the form above you need to unzip the zip-file. Then you need to copy the file PercentChange.mq5 into the folder MQL5\Indicators of your MT5 installation. After that please restart MT5 and then you will be able to see the indicator in the list of indicators.

Parameters of the Multi Symbol Chart Indicator For MT5

The Multi Symbol Chart Indicator For MT5 has 2 parameters to configure.

input long chartID=0; input ushort eventID=0; 

Buffers of the Multi Symbol Chart Indicator For MT5

The Multi Symbol Chart Indicator For MT5 provides 5 buffers.

SetIndexBuffer(0,OpenBuffer,INDICATOR_DATA); SetIndexBuffer(1,HighBuffer,INDICATOR_DATA); SetIndexBuffer(2,LowBuffer,INDICATOR_DATA); SetIndexBuffer(3,CloseBuffer,INDICATOR_DATA); SetIndexBuffer(4,ColorBuffer,INDICATOR_COLOR_INDEX); 

Main Parts Of The Code

int OnCalculate(const int rates_total,                 const int prev_calculated,                 const datetime &time[],                 const double &open[],                 const double &high[],                 const double &low[],                 const double &close[],                 const long &tick_volume[],                 const long &volume[],                 const int &spread[])   { //---    int begin=prev_calculated-1;    if(!prev_calculated)      {       int barsWindow=MathMin((int)ChartGetInteger(ChartID(),CHART_VISIBLE_BARS)+20,rates_total);       begin=rates_total-barsWindow;       //for(int i=0;i lt indicator_buffers;i++)          //PlotIndexSetInteger(i,PLOT_DRAW_BEGIN,begin);       OpenBuffer[begin]=HighBuffer[begin]=LowBuffer[begin]=CloseBuffer[begin]=0.0;       begin++;      } //--- main loop    static double prevClose,prevCloseBuffer;    for(int i=begin;i lt rates_total && !_StopFlag;i++)      {       if(rates_total!=prev_calculated)         {          prevClose=close[i-1];          prevCloseBuffer=CloseBuffer[i-1];         }  //--- check zero divide calculate percent change       if(prevClose)         {          OpenBuffer[i]=prevCloseBuffer+open[i]/prevClose-1;          HighBuffer[i]=prevCloseBuffer+high[i]/prevClose-1;          LowBuffer[i]=prevCloseBuffer+low[i]/prevClose-1;          CloseBuffer[i]=prevCloseBuffer+close[i]/prevClose-1;         }       else          OpenBuffer[i]=HighBuffer[i]=LowBuffer[i]=CloseBuffer[i]=prevCloseBuffer;  //--- set colour       ColorBuffer[i]=OpenBuffer[i] lt CloseBuffer[i]?0:OpenBuffer[i] gt CloseBuffer[i]?1:2;          }  //--- call custom chart event    if(prev_calculated)       ::EventChartCustom(chartID,eventID,eventID,rates_total-prev_calculated,_Symbol);    //--- return value of prev_calculated for next call    return(rates_total);   } //+------------------------------------------------------------------+ 

 

About Me

I'm Mike Semlitsch the owner of PerfectTrendSystem.com. My trading career started in 2007. Since 2013 I have helped thousands of traders to take their trading to the next level. Many of them are now constantly profitable traders. 

The following performance was achieved by me while trading live in front of hundreds of my clients:

Connect With Me:  

Results From 5 Months!
This service starts soon! Be the first who get's notified when it begins!

This FREE Indicator Can Transform
Your Trading!

FREE Indicator + Telegram Group


Request the Ultimate Double Top/Bottom Indicator which is used by 10,000+ traders.