Keith Watford / Profile
- Information
10+ years
experience
|
5
products
|
5
demo versions
|
400
jobs
|
0
signals
|
0
subscribers
|
Keith Watford
Added topic Strange initialization problem in the strategy tester.
I started a test in visual mode and a template with the same name of the EA is set on the chart. Then I get this message 2017.01.28 02:31:27.176 VPC EURUSD,H1: array out of range in 'VPC.mq4' (121,33) 2017.01.28
Share on social networks · 1
1
Keith Watford
Added topic "Hedging" in Forex trading -Why do it?
if I may offer my opinion..... Hedging is a method to limit risk. Consider this scenario..... You may consider an investment in ABC Oil to be a good as you feel that it will outperform the market. However you know that the whole oil sector can be
Share on social networks · 1
78
Keith Watford
Added topic How is iCustom executed?
I have never considered this before. I just wondered if anybody actually knows the order of an iCustom() call in an EA. Is the iCustom executed before the the code in OnTick that uses the value? I ask this because I am currently working on a project
Share on social networks · 1
2
Keith Watford
Added topic Download MT4 from metaquotes downloads MT5
I have contacted the service desk about this issue. This is what I sent them.... Hello, Please either remove the option to download MT4 from your website or fix it so that it does actually download MT4 and not MT5. We are getting sick and tired of
Share on social networks · 1
36
Keith Watford
Added topic OnChartEvent() CHART_EVENT_OBJECT_CREATE CHART_EVENT_OBJECT_DELETE
This code is in an EA #property strict //+------------------------------------------------------------------+ //| Expert initialization
Keith Watford
Added topic What is going on??
I refresh the forum page and little arrows appear that have new posts. But very often I click on the arrow and am taken to the top of the last page. I scroll down and find that there is no new post added. This is happening to me so often just lately
Keith Watford
Added topic To tito78
Hello, I have deleted your topic as you uploaded de-compiled code. This against forum rules and if you do it again, you may be banned. Thankyou FMIC for pointing this out
Keith Watford
Added topic Write orders in csv file
beh12zad : Hallo Sir, I want to write my total Order in .csv File, but this code writes thevalue of OrderType() and not the Order operation type like OP_SELLSTOPor OP_BUYSTOP. How can I change it? thanks in advance. # open
Keith Watford
Added topic Array out of range in strategy tester
Can anybody think how datetime bar_time=Time[ 1 ]; can cause an array out of range critical error while backtesting? It is a client doing the backtesting and apparently the history has been downloaded from elsewhere than the platform broker. I
Keith Watford
Added topic ArrayIsSeries() does not work
Just some information For a while now I have realised that ArrayIsSeries() always returns false even when the array being checked is a Series array. I have just noticed ArrayGetAsSeries(), I don't know if this is a new
Keith Watford
Added topic Platform crashing
I'm not sure if this has been raised before as there have been several reports of MT4 crashing in the various recent build updates. I'm on build 940, using Windows XP SP3 I have run several tests in strategy tester on a new EA that I have written and
Keith Watford
Added topic Search Function
Have I done something and messed up my settings? I no longer see a search function here. I'm still using Windows XP
Keith Watford
Added topic The spam is getting ridiculous
I can only imagine that this forum is getting a reputation for being mostly un-moderated. The amount of topics started by spammers is now exceeding legitimate threads. I don't know what is involved, but I am prepared to offer myself as a
Keith Watford
Added topic ECN broker and stops
I am pretty sure that for some time it has been possible to send orders to an ECN broker with a stop loss as long as it is from an EA. I was getting the invalid stop error on the latest EA that I am working on and just couldn't find the problem. I
Keith Watford
Added topic OnChartEvent
I have a situation where I want my code to do something when eg. a trendline is clicked. I also want to be able to move the line without the code being executed. My problem is that when I double click to select the line to move it, the first of the 2
Keith Watford
Added topic Can someone please help with PrintFormat, StringFormat
Hi, I just don't get the explanation or the example in the documentation. If I have string txt= "Profit=" +DoubleToStr(prof, 2 ); for when profit=10 and 1000, output will be Profit=10.00 Profit=1000.00 but if I want it to output the
Keith Watford
Added topic To not display buffer values in the data window.
Hi, I know that it must be possible, but I have been unable to find out how. I use some buffers just for calculations that I don't really want to display in the data window. using INDICATOR_CALCULATIONS in SetIndexBuffer seems like it may be the way
Keith Watford
Added topic How to find if a trade hit SL or TP?
Sorry if I have missed this somewhere in the documentation. Sometimes in my EAs, I will want to do something if a trade is closed by hitting the SL or TP. I would like to know if there is a foolproof way of determining this? I know that some brokers
Keith Watford
Added topic Build 625, OrderSend slippage is being ignored!
My OrderSends are being rejected due to invalid price in 625. No matter what the slippage value included in the order, it will only be executed if the OrderSend price and the Bid/Ask is EXACTLY the same. This is the code that places the order
: