Friends

Add friends via their profile or user search and you will be able to see if they are online

Tony
Added topic Calling an overridden function from the overriding function?
Hi Is is possible to call a function in an inherited class from the function that overrides it? This is useful to avoid duplicating code when several classes inherit from one base class. A simple example is below. Thanks, Jellybean
Tony
Added topic Live Update to 251 didn't work
After the live update just released (build 251), running the terminal caused 100% CPU usage and required 'End Process' terminal.exe to recover. Uninstalling MT5, downloading from the web site and re-installing allowed it to run once. After closing
Tony
Added topic Maximum number of indicator buffers?
Hi I thought I had read that the maximum umber of indicator buffers had changed in MQL5, but I can't find what I thought I read. Would someone please clarify what the maximum number of indicator buffers is? Thanks Jellybean
Tony
Added topic Correct usage of SERIES_SYNCRONIZED?
Hi In trying to prevent a divide by zero error, I realised that the indicator was calculating before the data was loaded or updated. I think I need to return without calculation if the data is not ready. I saw someone else use SeriesInfoInteger(
Tony
Added topic How to find height of window in pixels?
Hi all Does anyone know of a way of finding out how many pixels there are between the maximum and minimum prices on the chart window? All I can find is WindowPriceMax() & WindowPriceMin(), which return price units. Cheers Jellybean
Tony
Added topic Bug or me?
Hi I have a problem where the spread data in the OnCalculate() parameters sometimes is equal to -bid. It behaves as though the ask value is zero. When I calculate the spread using the MqlTick values I have no error. I will attach my test indicator
Tony
Added topic Strange results from iLowest()??
Hi I trying to use the lowest low over the previous 10 bars, but I am getting strange results from iLowest(). Do others have this problem? Am I doing something wrong? It appears to mix up the type constants. I've tested it on M1 & M5 because they
Tony
Registered at MQL5.community
Tony
Added topic Can trailing stop in the client terminal be set from in an EA?
Hi I'm trying to write a simple EA to manage an entry. When the entry order is placed I would like to add a trailing stop in the same way that you can by right-clicking on the order in the client terminal. (I understand that the Client Terminal
Tony
Added topic What's the difference between MODE_TICKSIZE & MODE_POINT?
Hi I was fascinated by the discussion provoked by phy on "What is a tick?" Basically, if a tick is an event, how can it have a size? What is the difference between MODE_TICKSIZE and MODE_POINT? I use this to calculate postiion/order size
Tony
Added topic Avoiding excessive queries to the server?
Hi Does the function MarketInfo ( Symbol(), MODE_SPREAD ) query the server or client terminal? When working with a very volatile spread (e.g. AUDNZD) I find I want to average the spread tick by tick, but does that mean I'm making server requests
Tony
Added topic Indicators Bollinger Bands and iBands() accept only integer deviation?
Hi Is it true that the indicators Bollinger Bands and the equivalent iBands accept only integer standard deviation values? I find that the custom indicator, Bands, makes a Bollinger band of any number of standard deviation (e.g. 2.5). For my EA, I
Tony
Added topic Stop - Start Drawing of Custom Indicator Line?
Hi In a custom indicator, I'd like to turn the line drawing off and on within the line, but I can't figure out how to do it. I have a pivot point custom indicator and I would really like to not draw the transitions between the levels when they