Forum

turning mql4 indicator to mql5 version

hello, i want to make a mql5 version of this indicator but i can, i think candlecheck functions not working but i don't know why, they work in mql4. #property strict #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue #property indicator_color2 Red input

automatic validation no trade operation nightmare

I'm done, I have spent three days on this error and at this point I'm pretty sure that my robot doesn't have any problem it prints massages about: Insufficient funds to perform trade operation Invalid volumes in trade operations(min and max volume for each symbol and volume step) no history bars on

can't access previous candles rsi data in my indicator

Hello, Please take a look at this code and tell me why I can't access to previous candle's rsi RSIBuf[i+1] , I tried this AAA[] Array but still not working when I try to comment (AAA[i+1]) in the strategy tester I get array out of range error please help me how can i use previous candle's data

EA buy at ibands mode-lower and sell at ibands mode upper

hello, I'm trying to write an expert that buys at lower band of the Bollinger bands and sell at upper bands and this is my code \ Ask<=(iBands(Symbol(),PERIOD_CURRENT,0,20,2,0,MODE_LOWER,1) Bid>=iBands(Symbol(),PERIOD_CURRENT,0,20,2,0,MODE_UPPER,1) but the EA only opens sell positions and not any

I need an indicator

Hello everyone in need an indicator which calculates 3 different period WPR(William's percent range) based on an EMA in one window would you help me please