Robert Northen
Robert Northen
  • Information
no
experience
0
products
0
demo versions
0
jobs
0
signals
0
subscribers
Robert Northen
Added topic How to Extract those Symbols Without Any Open Trades ?
Hi coders, good day to you. Let's say :- I've 4 Symbols with Open Trades now :-    string opSym[]={ "AUDCHF" , "CADCHF" , "EURUSD" , "GBPJPY" }; My EA has a total of 12 trading symbols readily for trading (set up in user input variable) :-
Robert Northen
Added topic Detect Method of Loading an Indicator Onto a Chart?
Hello - I have written an indicator that uses the OnChartEvent event that draws lines onto the chart. When this indicator is loaded by an EA using IndicatorCreate, drawing the indicator on the chart is not required. Although not drawn on the chart
Robert Northen
Added topic Suggestions For MQL5's Lack Of Support for Array Pointers?
Hi If an indicator uses multiple classes and functions, as one might have if writing a non-simplistic indicator, then the lack of support for array pointers makes it necessary to pass references to data arrays from class to class and function to
Robert Northen
Added topic Tester Takes Too Long During Publish Validation
Hi I have an indicator that processes a lot of data. It published successfully around a year to 18 months ago. Now I get Tester Takes Too Long during publish validation. The code is already highly optimised. Is there anything I can do to get it
Robert Northen
Added topic Detecting method used to load an indicator onto a chart?
Hi In an indicator's OnInit() how can I detect if the indicator has been loaded as a result of IndicatorCreate()? Rob
Robert Northen
Added topic How to detect Timeframe change/Program close if Indicator Handle is not closed?
Hi It appears that a program's OnInit() and OnDeinit() do not get called if there is an indicator handle opened with ChartIndicatorGet() and not yet released with IndicatorRelease(). My indicators and EAs need to retrieve indicators' buffer data
Robert Northen
Added topic Including Indicators with a published EA
I'm writing an EA that I plan to publish. This EA includes my own versions with modifications of some indicators in the Indicators\Examples folder, including three that are not in this folder - SuperTrend, TSI and Keltner Channels. All the code is my
Robert Northen
Added topic Prevent Chart Receiving Events when a Dialog is Open
How do I stop the main chart from receiving events when a dialog window is open? When a user click/drags over the dialog window, as they would to interact with controls on the panel the event gets passed to the chart behind. Obviously this is
Robert Northen
Added topic Grouping Controls on a CAppDialog
Hello I would like to have a group of controls on a CAppDialog that I can make visible/invisible and replace with another group of controls on the same CAppDialog. So, the main AppDialog would have a group of buttons below the caption that control
Robert Northen
Added topic CComboBox List Element Index
How do I retrieve the index of the currently selected list element? Thank you
Robert Northen
Added topic DLL Library Dependencies File Location?
Hi I have written a .dll library for my EA, using Visual Studio 2019 that has a dependency on another dll,  System.Text.Json.dll. Where should I place this dependency dll? I have tried copying it to MT5\Libraries, but get a File Not Found
Robert Northen
Added topic CopyTicks unexpected results
Hello Why does CopyTicks return ticks that are older than the [in] date parameter? From the documentation: [in]   The date from which you want to request ticks. In milliseconds since 1970.01.01. If   from =0, the last   count  
Robert Northen
Added topic Drawn Chart Objects Flickering When Chart Scrolled Since Build 2485 Update
Hello I have an indicator that draws several rectangle objects across the chart as part of support/resistance lines. These objects are drawn in the OnChartEvent when id = CHARTEVENT_CHART_CHANGE. The indicator has been recompiled for the latest
Robert Northen
Added topic How to Add Text to a Graphic on a Chart Sub Window?
I have a chart sub window that draws a curve using the CurveAdd function of the CGraphic class in the Graphics Library. I would like to add some text to this curve, such as a label in the top left of the window. I have tried using AddLabelObject but
Robert Northen
Added topic Is this a bug in Series.mqh?
I believe this to be a bug in Include\Indicators\Series.mqh method CheckLoadHistory currently: if ( MQL5InfoInteger ( MQL5_PROGRAM_TYPE )== PROGRAM_INDICATOR && Period ()==m_period && Symbol ()==m_symbol)
Robert Northen
Added topic When CopyBuffer returns -1 and market is closed at end of day or weekend
I have an indicator that uses iCustom and CopyBuffer to load the data from another indicator (same symbol, different timeframe). CopyBuffer will usually return -1 on the first call of OnCalculate(), meaning data is not yet available. This is not
Robert Northen
Added topic How does one contact Service Desk?
I have discovered a bug in one of the Standard Libraries: \Include\Indicators\Series.mqh in function CheckLoadHistory. How do I contact Service Desk? There is no link for Service Desk on my profile menu as some pages indicate. Other pages tell me to
Robert Northen
Added topic Recommended Articles for writing an EA for Strategy Testing and Automated Trading
Hi, I'm a veteran programmer but relative newbie to MQL5. I have written my indicators and now need some documentation, help, guidance etc on writing an EA for strategy testing and automated trading. Please can someone provide some links for articles
Robert Northen
Added topic Buffer Number and Plot Index. What's the connection?
For example, the following code works as expected. The first plot, with plot index 0 uses data from buffer 0 and the second plot with index 1 uses data from buffer 1. Does this mean that the plot is associated with it's buffer by it's index number
Robert Northen
Added topic Is it possible to Load or Save a Template without chart objects, or remove them after it loads?
I have an indicator that creates several chart objects as part of the indicator, OBJ_TREND, OBJ_HLINE, etc. I then create a template of a chart using this indicator. I then open a new chart on the same or different timeframe and load this template
12