Forum

Why Does MT4 Keep Deleting My Custom Indicator?

Hi I wrote a simple indicator to show an alert when price breaks out of either the high or the low of the previous day's candle or the previous H4 candle. It seems to compile Ok but the problem is, every time I close and then restart MT4 the indicator disappears. I've shown the code below (I know

Identifying the Current Timeframe

Hi All Can anyone please tell me how to identify and apply the current time frame showing on my chart to a variable? Basically what I want to do is to only show specified vertical lines on certain time frames. What I was planning on doing (rightly or wrongly) was to say - if the current time frame

Correcting Historical Data

Hi all How can I correct historical data in MT5, for example, when I get a bad tick come down the line? In MT4 there used to be an option under the 'Tools' menu that would take you to the History Centre. But there doesn't seem to be that option in '5'. Thanks for any help. Regards Paul Eamonn

Converting MT4 Indicator to MT5

Oooops, I think I posted this in the wrong forum! Sorry. I've copied it here in the hope that someone may be able to help me. After I got no reply I tried again to sort it out myself but just cannot seem to be able to work it out. Hi All Yesterday I had MT4 and on it I had a simple indicator

Converting MT4 Indicator to MT5

Hi All Yesterday I had MT4 and on it I had a simple indicator that showed me both the 14 day ATR and the current range of today's price action in numbers in a 'Comment' in the top left corner of the chart . The code I used was this- double My_ATR=iATR(NULL,1440,periods,1); double