Hi all I am developing an EA in MQL5. I am having issue in removing TakeProfit of open position. I am using following method.
trade.PositionModify(symbol, 0.0, 0.0);
I am getting [invalid stop] error.
Hi all, I am developing multi currency EA and trying to implement trailing stop functionality in EA.
I need to check pip difference between current price and position opening price and if the difference is more then N number of...
Hi all, I am using MACD indicator in MQL5. The problem I am facing is MACD is giving different values in code then front-end.
But the value I received in code is as follows:
Hi all I am using ZigZag cator in MQL 5 EA. I have experience that some time CoppyBuffer is giving values and suddenly starts giving 0.00 and again started giving some value and keep on doing this..
Can some body explains why it is happening. and...
I am using Stochastic indicator in MQL5 EA. I want to use moving average along with please refer following screen shot.
Following is the moving average settings.
With the above setting I want to determine when moving average get in/out...
I am using BollingerBand in MQL5. When I copy values in buffer using CopyBuffer function, I got Un-Normalized values, which contains more then five decimal places. Moreover I explicitly tried to normalized them using NormalizeDouble...
I am using BilingerBands in my EA but it is returning very big value as follows which is definitely not correct.
Following is the code of OnTick method:
//-Sorting array from...
Hi all,I am using MACD indicator in MQL4. The issue I am facing is macd showing different value on mouseover but in code it is giving different value. Please refer to the blow snapshot for value of histogram and highlighted value printed...
Hi all I am using CCI indicator in MQL4 expert advisor. u want to set its fixed minimum and fixed maximum properties via MQL4 code. please refer to the below screen shot.please tell me how to get it done.