Peter Williams / Profile
Now retired and living in Scotland with great views over the Clyde Estuary.
Like most trying to establish - create or use - profitable EAs
Like most trying to establish - create or use - profitable EAs
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
Peter Williams
Added topic Product
I recently saw references to this product and it looks to be a great collection of tools. I tried to use in MT5 (loaded URL in Options). The product fails to load with an error code 1 also states 2020.04.24 11:52:11.829
Peter Williams
Added topic Finding History Data in MT5
I am trying to migrate to MT5 and really struggling with HISTORY. I tried to adopt some code - then gave up and been trying by trial and error. I have read some of the articles but just somehow don't get it. MT4 seemed so simple. If I download
Peter Williams
Added topic ChartIndicatorAdd doen't show on terminal
I found some code that used the following statements which seemed a great idea. I can see the indicator when a I list the Indicators. I have changed the scales - i.e. untick fixed . I have tried using 10 (just any number) instead of
Peter Williams
Added topic Error Code 5004
I am trying to migrate to MT5 and have had a few struggles. The following I don't quite understand. I get an ERROR 5004 when using the following code:- 2020.03.30 14:04:20.165 Message My_error: 5004 File
Peter Williams
Added topic Using PERIOD (....)
I am trying to migrate some of my work to MT5 (from MT4) and struggling with the 'Period Constant'. I want to pass the current chart information to a routine and return a string containing M1 or M5 or H1 etc to match against other data
Peter Williams
Added topic Rectangle Object
I am trying to change the font size of the description associated with a rectangle in an EA. Changing the COLOR appears to work OK but the FONTSIZE doesn't appear to change ObjectSetInteger (chart_ID,ObjName, OBJPROP_COLOR ,Wheat);
Peter Williams
Added topic Signals - Reliability
How do I understand the Reliability Index for Signal providers . I have seen two recently that give HIGH returns but 1 is High Reliability and the other (better performing) is very Poor. The Poor provider has more followers than the Good
Peter Williams
Added topic How do I resize Navigator Window
For some reason unbeknown to me my Navigator Window now appears as a full width window and I can't find how to restore to original setting. Seems so simple but spent ages trying to find help. Suggestions appreciated Thanks
Peter Williams
Added topic Strategy Tester
I am newish to the Tester (historically never got anything very useful / understandable). I have been trying to use an AI based EA and suggests using the tester. I run from 1-jan-2018 and have no trades but the following messages in the journal
Peter Williams
Added topic Duplicate Orders
Have my own EA which I have running on the Major charts including the USDJPY. My EA creates a log file which writes loads of data but I can't fathom out why every time a USDJPY order is initiated I appear to get 2 orders generated (with same
Peter Williams
Added topic 5008 wrong file handle (handle index is out of handle table)
The code appears to executes OK ( i.e. reads details from file and My_Handle_line seems OK - 2) -but still generates the ERROR code 5008 My_Handle_Line = FileOpen ( "Dashboard\\" +fname, FILE_CSV | FILE_READ , "|"
Peter Williams
Added topic How to use OrdersHistoryTotal
I have seen several references to OrdersTotalHistory but haven't found what is kept in History and - if it can be changed - then how. I currently see that I have OrdersTotalHistory() having a value of 41 but no idea what period this refers to
Peter Williams
Added topic Can I intergoate Indicator Level ?
I am using a custom indicator (supplied by third party) and the indicator sets dynamic levels for the 'indicator levels'. Instead of - say - levels of 20, 0 & 80 the upper & lower levels would be continually changing I'd like to access
Peter Williams
Added topic Error 4051 occurred deleting an object
I use a routine to create an entire table as a summary of all my active trades and each object has a name created by using its x and y positions. The table maybe 10 columns by 10 lines - i.e. 100 objects created in the same routine -- but all very
Peter Williams
Added topic The time at which an indicator recalculates
The following data is part of my 'log' file and represents data from a custom indicator . In this case the variable is on the 1 minute chart, last value (i.e. 0 )and 5 periods At 1 second past 15 minutes the variable changes (as expected) and remains
Peter Williams
Added topic Weird Ticket #
I have a demo account and have been doing extensive testing of an EA. Earlier today I was baffled to see the same ticket number occurring in my test data files for different currency pairs . I wrote a separate EA to search for the specific ticket #
Peter Williams
Added topic How to locate my indicators
I am using MT4 v4 Build 765 and I wanted to create a new version of an existing custom indicator - which I have done. I created the files 'as indicators' in the MT4 developer window and can see both the old and new indicators in the Navigation pane
Peter Williams
Added topic Market Info Function not working
I thought I'd try a new broker and wanted to check out spreads using the code below. Running the EA showed figures (screenshot below) which don't seem realistic and they don't change (as on another broker where the spreads are always changing)
Peter Williams
Added topic Accessing Files
Good morning I want to try and access the LOG files and have read about using routines in KERNEL132.dll (https://www.mql5.com/en/articles/1540) and this looks useful but I am trying to figure how to retrieve the path to the file In Older builds
Peter Williams
Added topic What Symbols are available
I recently changed to a different broker and found the available currency airs (or symbols) were different. Is there any easy way to :- 1. Access all Symbols from an EA 2. Check the availability of a Symbol from an EA
: