Simon Gniadkowski / Profile
- Information
11+ years
experience
|
0
products
|
0
demo versions
|
0
jobs
|
0
signals
|
0
subscribers
|
Simon Gniadkowski
Added topic How to handle trading errors - mql4
I noticed that this is no longer present in the current mql4 documentation so I though I would add the "old" documentation here for future reference . . . Constant Value Description ERR_NO_ERROR 0 Trade operation succeeded. ERR_NO_RESULT 1
Share on social networks · 2
13
Simon Gniadkowski
Added topic .hst file format . . . Old and New (Jan 2014)
For clarity for myself, at least, and anyone else that has an interest . . . .hst file format valid as of MT4 Build 509 The database header first . . . total 148 bytes int version; // database version - 400 4 bytes string copyright[64]; // copyright
Share on social networks · 1
26
Simon Gniadkowski
Added topic Help with Indicator . . .
Comments that do not relate to the " Using Technical indicator in an EA ", have been moved into this topic
Share on social networks · 2
2
Simon Gniadkowski
Added poll Do you think Smilies would be a helpful addition to this Forum ?
-
49% (31)
-
33% (21)
-
19% (12)
Total voters: 63
Share on social networks · 1
26
Simon Gniadkowski
Added poll IYO, what risk per trade, as a percentage of Account Balance, indicates that a signal provider has confidence in his/her signal ?
-
14% (3)
-
32% (7)
-
5% (1)
-
14% (3)
-
5% (1)
-
5% (1)
-
27% (6)
Total voters: 22
Simon Gniadkowski
Added poll Should MetaQuotes limit the number of Polls that a user can post per day/per week ?
-
21% (9)
-
14% (6)
-
2% (1)
-
17% (7)
-
29% (12)
-
17% (7)
Total voters: 42
Simon Gniadkowski
Added topic Is it possible to disable the Parameters tab ?
I'm currently working on a few non- technical indicators and don't need some of the tabs that pop up when I select the properties of my Indicators, for example, I don't need the Parameters, Colors or Visualization tabs, is
Simon Gniadkowski
Added topic How to test if Color == CLR_NONE ?
I have been coding a function to display previous trades on a chart, in the same way that dragging a previous trade to a chart does. I want to keep my function versatile so I am making it configurable while at the same time making the defaults
Simon Gniadkowski
Added topic Alternative to iHigh(), iLow(), etc
In the EAs I Have been working on recently I have been working witht several timeframes, using iHigh(), iLow(), etc, extensively throughout my code. I noticed that my EAs were running slowly in the Strategy Tester compared to the first EAs I wrote
Simon Gniadkowski
Added topic Loops and Closing or Deleting Orders
This is one of the most common errors I see, probably due in part to the likes of garbage such as Expert Advisor Builder. So I thought it was time for a thread dedicated to the subject so that it can be linked to for future reference. The Problem
Simon Gniadkowski
Added topic What are Function return values ? How do I use them ?
I see many, many people posting code and asking questions which can usually be answered by simply checking the return values from a few Functions and printing out any relevant errors. So I thought I would make a post specifically about this subject
Simon Gniadkowski
Added topic WindowPriceMax() & WindowPriceMin() don't change if MT4 is minimized
I had a problem with WindowPriceMax() & WindowPriceMin() not giving correct values but thought it was something I was doing wrong . . . . I never took the issue any further. Then yesterday I noticed an interesting phenomenon, I was grabbing
Simon Gniadkowski
Added topic I think I found a bug in the ST
I ran an Optimization a couple of days ago, it had 385 runs, when it had finished I ran the best result on visual mode to see what the trades looked like. The end result was very much different to that given in the Optimization . . so I ran the
Simon Gniadkowski
Added topic Can price != price ?
I'm trying to understand something strange that I am seeing so I can better code round it in the future . . . I noticed something strange happening with one of my Indicators, it wasn't doing what it should have been so I checked the code and it
Simon Gniadkowski
Added topic Is my VPS/Sever alive ?
Re: https://www.mql5.com/en/forum/136275/page3#532562 I got my php working as a Cron job. I created a simple EA to send the file via FTP and set the Cron job (I use cPanel based hosting) to run every 2 mins. The php . . . <?php $to =
Simon Gniadkowski
Added topic Indicator buffer behaving strangely
I have an Indicator that I created, it's main purpose is to show the output from a function that I have created to form part of my EA. In effect the Indicator bit is just a tool for testing the function . . . It all works as expected when I open a
Simon Gniadkowski
Added topic iBarShift returns -1 . . but it shouldn't !
OK, before you all jump in . . . I know iBarShift CAN return -1 if I set exact to true and there is not an exact match . . but I didn't . . . here is my code. OpenBar = iBarShift ( NULL , PERIOD_M1 , OrderOpenTime ()); if (D3) Print ( "OpenBar = "
: