Yes.
Forum on trading, automated trading systems and testing trading strategies
Adding Indicators to the mini charts in MT5
Alain Verleyen, 2013.12.01 17:41
I made an example to demonstrate this, see this chart :
I added a chart object named "MiniChart", then I run the following code :
//--- Get mini chart ID long miniChartID=ObjectGetInteger(0,"MiniChart",OBJPROP_CHART_ID); //--- Get inficator handle int maHandle=iMA("EURCHF",PERIOD_H1,12,0,MODE_SMA,PRICE_CLOSE); //--- Add indicator ro mini chart if(miniChartID>0 && maHandle!=INVALID_HANDLE) ChartIndicatorAdd(miniChartID,0,maHandle);
Cool I will try it.
Yeey, it worked.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all,
Can we apply template to Added Chart Object (OBJ_CHART)