Forum

MQL5 MTF indicator returns error 4806

Hello developers i am trying to make a multi timeframe fractal indicator that reads fractals from higher timeframe and draws them as support and resistance lines in lower timeframes. but when testing it in strategy tester it returns error 4806, failure in reading data from indicator handle, very

Trouble with OnTradeTransaction function in MQL5

Dear developers, i am trying to write a hedging expert advisor and i have some strange issues with making it work properly, first let me explain the whole idea and then mention the issue: suppose LotMax = 1.0 (input box variable) it is p etty much a bot that when it hits its TP it applies some of

Need help with drawing objects with pixel coordinates

hi every one, i am trying to write a code to draw some graphical objects on chart, because one of the objects is circle, i have fixed the chart scale to 1:1 if (! ChartSetInteger ( 0 , CHART_SCALEFIX_11 , 0 , true )) { //--- display the error message in Experts journal

having problem with ChartTimePriceToXY function

hi every one, i am trying to write a code to draw some graphical objects on chart, because one of the objects is circle, i have fixed the chart scale to 1:1 if (! ChartSetInteger ( 0 , CHART_SCALEFIX_11 , 0 , true )) { //--- display the error message in Experts journal