metatrader4 Questions
6
Solved
With MQL4 I have troubles in handling datetime.
What I want to do is put datetime in array by month or by year.
For now I do in this way.
datetime myDate;
myDate[0] = D'2010.01.01 00:00';
myDat...
Underplay asked 11/11, 2016 at 21:55
4
Solved
I have been working on an algorithm ( Not mine, I am just modifying it ) that predicts when to buy and sell on the FOREX market. I need to be able to open and close orders, dynamically update...
Misreckon asked 20/9, 2016 at 11:20
2
Solved
I am trying to add another condition to the solution in this post. I want the stop loss to move by 10 pips when a trade is in 10 pips profit. To be more specific, say I've set a pending buy order a...
Voidance asked 16/5, 2019 at 21:46
2
Solved
I am quite new to writing mql4 code and would be grateful if I could get some help drawing rectangles when the following candlestick patterns occur:
FIG1:
Run code snippet
<blockquote cl...
Mev asked 2/7, 2019 at 14:27
2
Solved
I have written the code below that opens a buy and sell trade (a certain number of pips above and below the ask and bid price) at a specific time.
How can I close/cancel one immediately when the ...
Textbook asked 1/5, 2019 at 1:1
1
I want to write an EA that joins the highest points of each candle using a trend line (after the first hour of a day). I saw the documentation for the trend line.
This is what I've done:
ObjectCr...
Paraboloid asked 21/11, 2018 at 23:12
3
I have been using an indicator to take trades. I didn't develop the indicator, so I only have access to the .ex4 file. How can I extract the take profit, open trade and stop loss values in the aler...
Slumberland asked 29/8, 2018 at 9:20
2
Solved
I'm trying to figure out if there is a correct way to set the Stop Loss (SL) and Take Profit (TP) levels, when sending an order in an Expert Advisor, in MQL4 (Metatrader4). The functional template ...
Permeable asked 7/6, 2018 at 16:26
3
Solved
I would like to call MQL4 or MQL5 function from my own imported DLL in Metatrader.
Is it possible?
Goren asked 15/12, 2012 at 8:27
3
Solved
Now I am compiling my MetaTrader .mq4 files to .ex4 files with MetaEditor.
But my .mq4 files are generated by a Java-process, and I would like to automate the compilation process.
Is there a comm...
Donner asked 26/1, 2013 at 16:40
4
Solved
I have a task of migrating a C# market strategy to MetaTrader.
Is there any way to automate that job? (For example, is it possible to parse C# into it's AST, then make the translation?)
Does Met...
Acquirement asked 24/5, 2013 at 9:53
1
Solved
I am trying to see whether it is feasible to build a custom indicator for MetaTrader that can make asynchronous internet requests, in order to post data to a server with a PHP interface.
The...
Fortuity asked 22/11, 2014 at 14:24
4
Solved
I'm completely stuck. I'm testing MetaTrader API and getting next error when tries to run a method in the Immediate Window of VS 2010:
A first chance exception of type 'System.Threading.ThreadAbor...
Cacia asked 25/11, 2010 at 20:20
2
Solved
R has a great way of collecting data from other sources (eg Yahoo finance etc)
library(quantmod)
getSymbols("YHOO",src="google")
Is there a way of collecting Metatrader 4 into R
eg:
library(...
Amenity asked 25/5, 2013 at 10:32
1
© 2022 - 2024 — McMap. All rights reserved.