Forum

Purchased two MTF indicators, get "version of {indicator} is obsolete; please recompile it", why?

I've purchased two MTF indicators from two different developers. Any time I toggle the timeframe to something other than "current" I get the error in Experts tab "version of {indicator} is obsolete; please recompile it". What is going on? Is it that difficult to create MTF indicators in MQL5

How to get iMA( buffer to plot when referencing iMA( on a higher TF?

Hi, I was able to get the iMA( to successfully plot a moving average . Suppose I wanted to plot a higher timeframe MA? In the code below, there's an input of choosing a higher timeframe with the variable "TF". For example, if I wanted to plot the M30 moving average when the indicator is on a M15

How to create a moving average function and plot it?

Hi, My skills in MQL5 are quite weak compared to MQL4 and I've never been able to truly carry over referencing indicators in MQL5. In the example below, the high/low channels plot just fine; however, the moving average does not plot, at least not correctly. I'm attempting to re-write the iMA(

ChartRedraw, best way to use?

Hi, I know MQL5 demands ChartRedraw to update GUI on a chart. However, I'm probably not using it optimally. Consider the following scenario... I have 5 indicators each which must update the properties of 100 objects each, or any one object at a time, either from a new tick, on a timer, or an

Selecting Market tab in Terminal Window freezes the platform

Clicking on the Market tab in The Terminal Window causes the entire platform to freeze. I know I'm registered and logged in because the header flickers with "Register a MQL5 account" and my balance. The Market tab page comes up blank and freezes my entire MT4 platform. What gives? I've already tried

Bug with build 2301

The input parameters of a string value are empty upon reloading an indicator a second or subsequent time onto a chart. To reproduce... 1) take an indicator with an input parameter of string type, (should be filled with its default), then place onto the chart 2) toggle any input and save 3) remove

Username/Password from/to MT4 to MySQL database

Hi, I'm looking for a way to lock my MT4/MT5 such that my subscribed members only have access so long as they are subscribed. My website has a MySQL database. Therefore, I need a mechanism where a user enters a username and password to access the .ex4/.ex5 file where the said username and password

MT5 convert from MT4 Indicator not plotting properly

Hi, I am close to converting an indicator from MT4 to MT5; however, the converted indicator is not plotting properly. In addition, there is a "divide by zero" error on line 73/column 18. Somewhere, there is a mistranslation. What am I missing in the MT5 conversion, relative to the MT4 code? What am

MT4/MT5 conversion, what is wrong with the code?

I'm attempting to convert the indicator below from MT4/MT5. Most of the MT5 I'm sure is correct, but something is wrong. The MT4 file below is how the MT5 should work; why does the MT5 file plot incorrectly and generate a zero divide error? Thanks

Histogram won't plot?

Hi, Attached is my code for plotting a basic histogram of the candle body ranges and their averages. However, the histogram itself (nor the average line) will not plot at all. What is wrong in the code? Thanks, renner1984