I'm new to MQL5 with some experience in MQL4. In MQL4 the indicator value is directly called by double value = iSomeIndicator(symbol, period, parameters..., shift); While MQL5 we use a handle to initialize first, use CopyBuffer() to map it to a
I want to read, for eg. the live RSI of EURUSD, AUDUSD, CADJPY when I'm running EA on NZDUSD chart every several ticks passed on NZDUSD, however, I don't want to open the EURUSD/AUDUSD/CADJPY chart all the time. I remember in such case the EURUSD
Don't want rent a VPS, use local machine to run EA. However the local network is not stable and might get disconnected (sometimes it lasts forever until take human action). I want to ensure that when network is disconnected and lasts for given
I have an EA that works good in some charts (which means profit is greater than zero), but is not working good in other ones. I know the profit is negative, but I still want to use optimization to see the exact negative value, drawdown etc. to
My task is, for eg, when executing EA on EURUSD chart H1, calculate RSI on H1, RVI on M15 and MACD on M5 simutanously to get my result. double myValue = iRSI ( NULL , PERIOD_H1 , 14 , PRICE_CLOSE , 0 )
My requirement is to calculate value across indicator of multiple symbols and get back result in whole, but looks like something got wrong that I can never guarentee all of the symbols outside of the current chart window is right. Brief code is as
I have a request, that to use the indicator functions in the reverse direction of what it should be. For eg. 'I want to place a buy limit order where iRSI(14) = 20. Currently, the RSI is above 20. What is the price I should place it on?' 'I want to