Tom Clayson
Tom Clayson
Tom Clayson
Added topic Indicator to plot gradient MA - A little help...
I am trying to create an indicator to plot the change in gradient of the NonLagMA indicator as a Histogram. What I have done works fine when you first place it on a chart but gets messed up as soon as a new bar appears. Could someone please take a
Tom Clayson
Added topic Initializing function parameters
I am writing some utility functions that I can add to any experts/indicators I create via an include file. For example: //-------------------------------------------------------------------------------- //Function: CreateVlineObject
Tom Clayson
Added topic Accessing indicators values NOT using iCustom?
I use a lot of fairly processor intensive indicators in my manual trading, at the moment I am thinking about how I would implement my strategy in an EA, the primary problem I am having is that using iCustom to get the indicator values for even just a
Tom Clayson
Added topic DeleteObjectsByPrefix() - Please tell me what I am doing wrong.
Whenever my indicators create objects I prefix their names with the short name of the indicator so that upon deinitialisation they remove only 'their' objects. To remove them I want to use the function below. For some reason though it doesn't seem to
Tom Clayson
Added topic Automatic changing of indicator line lengths to match dominant market cycle.
Recently I have been studying about cycles within markets. I came across a set of indicators developed by John Ehlers (rather, the original algorithms were Ehlers, the MT4 indicator was developed elsewhere) called coronas. These indicators work by
Tom Clayson
Added topic NonLagMA Crossover EA Help
I am trying to write an EA to place orders on the crosssing of two MAs. The MAs I am using is a custom indicator called NonLagMA_v7.1. The current code I have places an order (at the wrong time), and then fails to close it when the MAs cross the
Tom Clayson
Added topic Error 129 Invalid Price - How?
I wrote an EA to place orders from an email signal service and subsequently manage the orders afterwards. However any attempts to partially close orders and take profit at predefined levels have so far been impossible. Iam using the OrdersSuite.mqh
Tom Clayson
Added topic Difficulty using FileReadString on file opened outside /experts/files
Hi, I wrote a script to check my email and parse the messages it recieves into an easily readable format OrderType ;Symbol;SL;TP1;TP2;TP3; etc.... The same script then writes a new .txt file containing this information into \files\Symbol\signal.txt
Tom Clayson
Added topic How do I place a backslash in a string?
I need to append the folder path and the filename of a file together to form the total filepath to be fed into a function . However I cannot seem to set a string equal to "C:\" for example, nor can I do "\" and then just append
Tom Clayson
Added topic Read past price info from various symbols in the same EA
I am trying to write an EA to manage all my manually opened orders. Upon the appearance of a new bar an order needs to be closed if the close price of the bar just completed is less the EMA10 (in the case of buy orders), the opposite is true for sell
Tom Clayson
Added topic Problem with FXCM and script?
Hi, I am trying to write a simple script to place orders for me using the include file OrdersSuite.mqh and my own include file myfunctions.mqh. The code I have written works perfectly on my main broker Alpari UK. But I cannot seem to get it to work
Tom Clayson
Added topic Downloading webpage source - trading from information online
I am trying to create an EA to trade from a signals service provider - eventually anyway. For now I am trying to program just the functions to read in the necessary information. Two approaches I am considering: 1. The alerts come via email, I can
Tom Clayson
Added topic Use of libraries
I downloaded the file OrdersSuite.mqh from the code base here but am having some trouble using it. Looking at the code for OrdersSuite it itself icludes TimeSuite.mqh. I included the files in my script as below: #include
12