Forum

MQL5 Wizard

Hi In MQL5 wizard there is longCondition() and shortCondition() methods for entering a trade and closing trades are by stoploss and takeprofit. Is there any way to close a trade by checking some condition? how can i define a method for closing trades? if there is ant article or example please tell

:: operator

Hi i have a question about space resolution operator: :: in this line if(! symbol!=::Symbol() ) why it used :: operator. it means if symbol is different from current symbol on chart do something. but why puts :: over there? thanks for your help

problem to work with PlotIndexSetInteger function (MQL5)

if (temp3 > 0 ) { PlotIndexSetInteger ( 0 , PLOT_LINE_COLOR ,plot_color[ 0 ]); Histogram_Buffer[i] = temp3; } else if (temp3 < 0 ) { PlotIndexSetInteger ( 0 , PLOT_LINE_COLOR ,plot_color[1 ]); Histogram_Buffer[i] =

Using iRSI in other timeframes than current one

Hi i have problem to use iRSI in timeframe other than current timeframe it only works on current timeframe how can i use iRSI in other timeframes than current one. other technical indicators also doesn't work in other timeframe than current timeframe. thanks