- Search Energy EXCH
-
kennyhubbard replied Aug 16, 2010Hi there, Your code looks correct. If I were to guess I would say you have probably declared your array as int, instead of as double.
help with mql rsx1 = iCustom(
-
kennyhubbard replied Aug 13, 2010golady9, No set up fee means just that......you simply pay the monthly subscription nothing else. Actually its just sales-speak.....I don't know of any VPS providers that charge a set up fee? The provider will bill you for the $16.95 and MB Trading ...
MB Trading: Free VPS Hosting
-
kennyhubbard replied Aug 11, 2010I can't even get this to compile. Something has gone wrong with your cut and paste. This line :- for example is nonsensical. A bool is either equal to 0, 1, true or false.
Basic Order Open
-
kennyhubbard replied Aug 10, 2010Hi Gil, I haven't really had a chance to dig into this as I am a bit snowed under at the moment but I can point you to some of the more obvious errors. refer to my post#16 second para to find out about the array errors. In your third last post, your ...
Help with Logic
-
kennyhubbard replied Aug 9, 2010You will have to post the code here for me to have a look at.
Basic Order Open
-
kennyhubbard replied Aug 9, 2010I agree with ecntrader. Hedging is not a good strategy but if you must, it is not worth the hassle to try and cross-talk with different accounts. Furthermore, many other brokers do not require additional margin to open a hedge position, which would ...
Running 2 instances of MT4 to avoid NFA anti hedging?
-
kennyhubbard replied Aug 9, 2010A market order sent on price touching a line is going to be slower than a pending order, so why not just use the pending order?
Can someone help with this EA please??
-
kennyhubbard replied Aug 8, 2010Here you go.......... Pertinent setting are :- Min_Length - defines the minimum height of a candle from High to Low Max_Body - defines the maximum height of the body between open & close Order_Buffer - buffer above high or below low at which to set ...
Doji Strategy Needs an EA for thorough Testing
-
kennyhubbard replied Aug 7, 2010Give me a day or two and I'll whip something up for you.
Doji Strategy Needs an EA for thorough Testing
-
kennyhubbard replied Aug 6, 2010SnapCracklePip, I humbly beg to differ on this point. My experience has been that the limit orders in MT4 are 'at or better' prices, otherwise it would be no different to a stop order which is simply a pending market order triggered by price(and ...
MB Trading Futures - Introduction
-
kennyhubbard replied Aug 5, 2010I think this is probably already the most efficient way. I would simply load the EA onto more charts(prob up to 4) to speed the process up. Or...... You could also use an EA in an endless loop to read the transfer file, rather than waiting for a new ...
Most efficient way to pass orders to other mt4
-
kennyhubbard replied Aug 5, 2010Yup, you are correct in your observations....... I thought there may be a problem taking the reference for the crossing off the previous bar, rather than off the previous tick.
Record the time when an indicator line crosses a threshold
-
kennyhubbard replied Aug 5, 2010Exactly :-) In hindsight, the extra code for the first run was never required since 0<0 will always return false so it won't take a timestamp. It does serve as a good lesson though for the future, in that you always need to keep an eye on the first ...
Record the time when an indicator line crosses a threshold
-
kennyhubbard replied Aug 5, 2010Hi Clearpaper, Essentially what that bit of code does is prevent any errors on the first run of the EA(or producing of a false result).....now that I think of it, I cannot think of a good reason why the first method would not work, in which case you ...
Record the time when an indicator line crosses a threshold
-
kennyhubbard replied Aug 4, 2010Actually, this would be better......... static int Time_Stamp; static double mafast_1; static double maslow_1; double mafast_0=iMA(Symbol(),0,5,0,MODE_CL OSE,PRICE_MEDIAN,0); double maslow_0=iMA(Symbol(),0,60,0,MODE_C LOSE,PRICE_MEDIAN,0); ...
Record the time when an indicator line crosses a threshold
-
kennyhubbard replied Aug 4, 2010static int Time_Stamp; double mafast_0=iMA(Symbol(),0,5,0,MODE_CL OSE,PRICE_MEDIAN,0); double maslow_0=iMA(Symbol(),0,60,0,MODE_C LOSE,PRICE_MEDIAN,0); double mafast_1=iMA(Symbol(),0,5,0,MODE_CL OSE,PRICE_MEDIAN,1); double ...
Record the time when an indicator line crosses a threshold
-
kennyhubbard replied Aug 4, 2010Clearpaper, I think you may have missed this part of CodeMeister's comment :-
Record the time when an indicator line crosses a threshold
-
kennyhubbard replied Aug 4, 2010Sorry, I didn't test the link. Here is another one.....scroll to the bottom of the page and dowload the version(5a) for the second last post. url I don't know what settings you could change on your MT4 that would allow it to enter a trade but not ...
My first Expert - Trouble with the code