collierab
collierab
Friends

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

collierab
Added topic Changing y-axis labels for an Indicator
Hi! I was wondering if anybody knows how to change the labeling on the y-axis of an indicator? At present my indicator has a fixed range of values running from -100 to +100. I have added levels at +30, +50 and +70. I am happy with the labels on the
collierab
Added topic Setting window name for Custom Indicator in Separate Window
hi! i am in the process of writing an indicator which will be displayed in a separate window. the functionality is complete and now i am just sorting out the aesthetics. in the corresponding region of the Data Window each of the indicator lines has
collierab
Added topic Can we determine whether an indicator is attached or if it is being run through iCustom?
hi! i have an indicator which draws quite a lot of objects onto a chart when it is attached. these objects are in addition to the lines associated with the indicator buffers . when i call this indicator from within an EA obviously the latter lines do
collierab
Added topic Indicator data becoming corrupted
hi! i have written a custom indicator which draws some additional curves onto the main chart window. the indicator works well for a while but after some time, for example, if i come back to the chart after a few hours, i find that the indicator lines
collierab
Added topic Placing indicator arrows at fixed offset (like builtin fractals)
hi! i have written an indicator which places arrows either above/below some candles as indicators of sell/buy opportunities. i want these arrows to be placed at a constant (screen or pixel) offset from the high/low of the candle. what i am trying to
collierab
Registered at MQL5.community
collierab
Added topic attaching indicator to chart from within EA
hi, i have an EA which uses a couple of indicator functions as part of the trading strategy. however, to monitor the progress of the EA it would be good to have the indicators showing on the chart as well (running with the same parameters that are
collierab
Added topic retaining more logs
hi, metatrader seems to automatically delete old log files from .../experts/logs/, leaving only the last five trading days. is it possible to configure it to not delete the old log files? i realise that i could write a script to rename or move the
collierab
Added topic open file to append
hi, i am writing up a log file from an EA. if the EA is restarted i want it to carry on writing to the same file... but append to the end of the file. initially this did not work for me, so i searched the forum and found https://forum.mql4.com/13774
collierab
Added topic curious behaviour for two EA in parallel
hi, i am running an EA on two currencies (GBP and EURUSD) on H1 charts. i 13:00 each of the EAs were supposed to initiate two pending orders (one BUYSTOP and one SELLSTOP each). here is the log: 13 : 00 : 00 grapple GBPUSD,H1:  
collierab
Added topic fixed format output in MQL4
hi, is it possible to produce fixed format text output in MQL4? something like sprintf()? i know that DoubleToStr() can be used to specify the number of places after the decimal comma, but if you are wanting to format data into a table something like
collierab
Added topic update of OrderStopLoss() after OrderModify()
hi, i have run into something which is a little puzzling. i am modifying the stoploss of a trade using OrderModify(). i have checked the return value and the stoploss shift was successful and it is logged as something like: 20 : 21 : 28 2010.07 . 16
collierab
Added topic overlapping instances of EA on successive ticks
hi, i have an EA which does a bit of number crunching. as a result, each tick the EA typically runs for a few seconds. now, in general this is fine but sometimes the next tick arrives before the previous instance of the EA has exited. and this causes
collierab
Added topic time at which pending order placed
hi, i am trying to retrieve the time at which a (pending) order was placed. take, for example, a buy stop order placed at some time XXX. now, when the market reaches the entry price the trade is activated. the time at which this happens is accessible
collierab
Added topic accessing name of expert adviser
hi, i am working on a number of expert advisers and running them all in parallel on a demo account. at some times i have quite a few orders executed in parallel and it is rather difficult, without referring back to the logs all the time, to ascertain
collierab
Added topic stopping an EA
hi, i am writing an EA which should only work on a 15 minute chart. i would like to check the period in the init() function and if it is not correct (ie. 15 minutes) then the EA should produce an error message and refuse to start. at present i am