In my EA below, I have programmatically drawn the default ZigZag indicator. I would like to access the last two fixed values of the ZigZag. How can I achieve this? I saw this post ( https://www.mql5.com/en/forum/131897 )but I'm not certain how to
Is it possible to write an EA that will copy trade details from WhatsApp message and open trade in mt4/mt5? Or are there restrictions within WhatsApp that prevents this?
Below is code for a news EA. Buy and sell stops are placed at a given time before news release manually. When one in entered the other is closed. I am trying to add functionality to allow the stop loss to follow the take profit by X pips. Say, if
I am trying to search figure out how to search for a pattern within a range of timeframes in MQL5. Obviously, it is likely that the pattern would occur several times based on the timeframes, that’s why I’m particularly interested in the largest
I thought that defining candles that had bodies 80% bigger than the wicks would result in momentum candles. I found out that this analysis was seriously flawed. Mainly because even in consolidation you can get candles that satisfy my above condition
I converted the following code that I was using in mql4 to mql5 but it doesn't show the rectangles on the chart. The mql4 code is working perfectly. I get a warning " possible loss of data due to type conversion" on the set integer/double lines
I want to find the pinbars circled in the attached image below. For the one on the right, the body is about 1/5th of the candle size and for the one on the left, let's say the body is 1/7th the size candle size and it also has a wick of 1/7th the
I've realized when drawing a rectangle manually that times, it doesn't expand to the precise mouse point dimensions and either reduces or increases in size. Is there a way I can get the rectangle to remain the size I specified always?
I am writing an EA and need to be able to check the maximum lot size for a broker's account type in code, so I can place an alert or something if the size is ecxeeded. How can this be done
I know how to set the colour of a rectangle object programmatically, as below. I want to set a default colour that every manually created rectangle is set to in such a way that I can change the colour after creating it. For example, every rectangle
My code below places sell pending orders when certain candle pattern conditions are met on the H_1 chart. At certain points the condition is met but the pending orders are not placed, as in the encircled portions in https://imgur.com/a/3pNC7M3