Hi guys. when we change timeframe or close metatrader paltform, OnDeinit() function is called. I need to code whether timeframe is changed or Meta Trader is closed. Is there any way to check and distinguish this difference
Hi guys, I need to show many symbols in my Dialog box which I create it by using CDialog.mqh. (located in : Include/Controls/CDialog.mqh) Is there any way to loop on objects of a class? need to have many labels on my dialogBox. Just give me tips
Hi guys, need to get x and y coordinates of the chart in visual mode. Is there any way to do this? I use ChartXYToTimePrice() in real mode and I call this function in OnChartEvent to get X and Y coordinates by click on chart. But OnChartEvent() is
Hi friends, I need to know how to get angle of a moving average. after I get the angles, then I want to calculate tangent of the angle and compare the value with a specific number. I want to implement these method with mql4 to predict an
I need to use my own Close button in my panel. Then I tried to override CreateButtonClose(void) in Dialog.mqh file but I got this error: private member access error How can I fixed it and use my own Close.bmp instead of the default bmp file ?
Hi guys. I am trying to make a dynamic trailing stop. Instead of moving the stoploss every point in profit, it only moves the stop loss after X amount in profit. And amount of stoploss must be equal to distance between Takeprofit and bid. For example