Forum

How to get the EMA value of price’s stored in array using mql5

Good day codders, I want to get the ema value of the price I stored in an array, please what is the best way to do it in mql5? this is my code below //copy price to an array using copybuffer MqlRates barsPrice[]; //ArraySetAsSeries(barsPrice,true); int copied= CopyRates ( Symbol (), NULL , 0

how to read MACD indicator data when applied to renko chart

hello coder's. please am following a strategy that applied the Macd indicator on 10pips renko chart on tradingview. So now am trying to build an MT5 EA for the strategy, but unfortunately there's no Renko chart on MT5, However, I downloaded a Renko indicator from

How To make an EA only open order 10 minute after market opens for the day, and close all order 10 minutes before market close for the day

Hello trader, i have already build the function that will send the market and pending order , i just need someone to write a conditional statement for me that will check if the market has open for the day 10 minute ago, the the function will run and placed the order. and once it is remaining 10

How can i get/select the last placed order either pending or market of a specific currency pair in MQL4

Hello traders, am building an EA that place a market order and also a pending order at the same time, once the pending order got activated and become a market order, The ea will place an opposite pending order. But Now i want to Attach the Ea to more than one currency pair, How do i know when the

how possible is it to get the price of a 20 ema placed on the same rsi windows when it get to rsi 80 or any other value

hello traders and coders, pls i want to build an ea that place a sell order when ema 20 gets to rsi level 80 and also a buy order when ema 20 get to rsi level 20 vice versal, I don't think there is anyway to place 20 ema on the same rsi window on pc, i have only seeing this happening on mobile. even

Is it possible to place two indicator on the same indicator window on mt4 pc platform, just like the mobile version

hello people please how possible Is it possible to place two indicator on the same indicator window on mt4 pc platform, just like the mobile version . i want to place a 20 ema on the same rsi window, this is possible on mobile pls how can i do the same on pc

Please i need a perfectly working renko bar indicator for mt4, on the same price window/tab and the renko bar should display wicks

hello people, pls i need a perfectly working renko bar indicator on my mt4, the one I downloaded from Luckscout is not working well. for example, if you set it to 10pip, if price move up ten pip above the last close renko bar it will paint another bullish block. but if price move down 10pip after

How to make an EA place a single order per signal, and keep placing another order once there is a new signal even if the previous orders are still in the market

Hello my people. I am currently building an EA that place order once 5 & 20 exponential moving averages crosses each other, the issue is once the fast moving average crosses the slow moving avearge to the upside, the bot will immediately place multiple buy order and stop out will occur. So i managed

My MQL4 expert can't detect 5 EMA and 20 EMA crossover in strategy tester

Hello people, I am a newbie in coding bot for meta trader platform , but I have decent experience coding JavaScript for the web, I just build a simple mql4 bot using 5 and 20 ema to place order, but when I try to test it via strategy tester it keep showing both condition not met, please what am I

How to know what is the current market price when RSI get to level 70, the iRSI() function only return level not price

Hello fellow trader and programmer, please I wan to know how possible is it to get the price of currency pair when RSI is at level 70, 80, or 90 and also get the price value when rsi is below 30 vice versal. The iRSI() function only return the RSI level not the price