- Search Crypto Craft
-
rockit replied Feb 13, 2014What exactly do you want to trade, i.e. input parameters. What exactly should it do (other than waiting for the time)?
I will code your EAs and Indicators for no charge
-
rockit replied Feb 13, 2014I see. However, using a code generator won't make you understand the code, but this is the important point. For example, I didn't realise this before but the above code will not work (I simply took over what you've wrote, heh!), because you cannot ...
How to close trade in Metatrader after amount of time or bars
-
rockit replied Feb 13, 2014OK no problem. To make it compile in 509, change "input" to "extern" and "OnInit()" to "init()" and "OnTick()" to "start()". It should compile then.
I will code your EAs and Indicators for no charge
-
rockit replied Feb 13, 2014No. You seem not to understand what is what here. Unfortunately you have to learn a lot more about logic of a mql program, or programming in general; before that you cannot atempt at altering someone else's code. It takes more than just place a ...
How to close trade in Metatrader after amount of time or bars
-
rockit replied Feb 12, 2014Well, it is "input", not "imput", but it is correctly stated in the source above; where you got "imput" from? And are you running the old (509) build perhaps? Look in the terminal's "Help" menu under item "About..." And you are doing this on a demo ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 12, 2014No problem. If only people would read the docs/instructions first, much of the confusion would not exist in the first place: url There in the first post all changes are addressed. Also, from now on, mql5 documentation is more appropriate than mql4 ...
Help with setting up MT4
-
rockit replied Feb 12, 2014Why so? Anyway. The folder structure has changed. To go to your data folder, start terminal, go to File menu and chose Open Data Folder; an explorer window will open up; there templates go to templates folder; for experts and so on, go to folder ...
Help with setting up MT4
-
rockit replied Feb 12, 2014Well, no surprise there, because you did not enclose the code (if-statement) in braces properly, so the code falls out of the context or scope that it should be in. It should read something like this (however, you first must select the order prior ...
How to close trade in Metatrader after amount of time or bars
-
rockit replied Feb 12, 2014Builds 600+ do have such a function: TerminalInfoInteger(TERMINAL_BUILD) Also, regarding the volumes: in forex there is the tick volume, there's no real volume; otoh, on (stock) exchanges there is real volume in a stock. Spread is not related to ...
MQL4 -> R-Project - Interface Library
-
rockit replied Feb 12, 2014It cannot execute on its own if it is not already running in the terminal. Where would it execute? Also, you can run the metaeditor on its own - just start the metaeditor, not the terminal.
MT4 New build 600 is released
-
rockit replied Feb 12, 2014This has been futile so far, because there was no - feed! Because of the dominance of mt4, and the fact that metaquotes decided to not open up the server protocol. Only few brokers offer a (proprietary) api, and usually they offer the access to it ...
MT4 New build 600 is released
-
rockit replied Feb 12, 2014First of all, the code is meant to be used with the new metatrader builds 600 and above. Normally this should be the case with yours by now anyway. Then, in metaeditor, choose to make new expert, give it a name and proceed until metaeditor whows up ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 11, 2014Can you give the full code you have? When you post source code, enclose it in "[ code ]" and "[ /code ]" tags (without marks and gaps)..
How to close trade in Metatrader after amount of time or bars
-
rockit replied Feb 11, 2014Making it compile is easy (just change all "extern" to "input"; and "char" to i.e. "chr"); however, it will not work correctly (it seems), I do not know why.
I will code your EAs and Indicators for no charge
-
rockit replied Feb 11, 2014Try this code. It is (obviously) not tested, but maybe you lucky. Another problem with experts is, that experts are tick-driven meaning, that the expert will tick according to the currency/orders it is attached to, it will not get ticks from other ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 11, 2014No one told you to recompile; in fact, it was told to not recompile, just put the (old, unaltered) .ex4 into File->Open Data Folder, there into MQL4\Indicators. Restart, try out.
I will code your EAs and Indicators for no charge
-
rockit replied Feb 11, 2014I do not see another possibility here. The initial order is to be opened by mt4's new order dialogue/F9. So, the control flow would be like so: OnInit: while not stopped check for order with unique marker (i.e. comment) remember its ticket OnTick: ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 11, 2014OK, suppose there are currently three active orders in the system, all have been placed manually and therefore have the MN zero. Now the expert is supposed to manage one of the orders, so that it starts the Martingale sequence on it, if that order's ...
I will code your EAs and Indicators for no charge
-
rockit replied Feb 11, 2014In the new build there is functions to access the available pairs (no need to handle the file). Function SymbolsTotal(true) will return number of symbols in the market watch, and SymbolsTotal(false) will return number of all symbols. Respectively, ...
MT4 New build 600 is released
-
rockit replied Feb 11, 2014Test this (mt4 build 600+; on a D1 time frame). To test immediately, uncomment first line ("#define DEBUG"), order will be opened on next tick. However, do not understand what you mean by "spread". //#define DEBUG input double LOT = 0.01; input ...
Simple EA request