Line_Trader / Publications
Forum
How to make those calculations?
Does anybody know how to get from here: AUDUSD 0,7246 USDJPY 120,80 NZDUSD 0,6777 USDCHF 0,9825 EURUSD 1,1054 USDCAD 1,3164 GBPUSD 1,5352 To here: JPY = 0.013634646434 NZD = 1.116199342 EUR = 1.820593234 GBP = 2.528542042 CHF = 1.6764157 CAD = 1.25116823 AUD = 1.193440337 USD = 1.647033311 So for
Question about formulate to calculate last N numbers in a series of numbers
I would like to index the last 5 minutes from any current point if current minute is 50 (CurMin) then last 5 (N) by index: 1 = 45 2 = 46 3 = 47 4 = 48 5 = 49 It's just CurMin-N+Index But if current minute is 2 (CurMin) then last 5 (N) by index: 1 = 57 2 = 58 3 = 59 4 = 0 5 = 1
(MQL4) How to send multiple orders simultaneously?
In order to send multiple orders simultaneously, it's needed to work outside of the EA. Can this be done by using a library or script? Within the EA you need to wait for the result of the OrderSend() function . For my project it is needed to use the OrderSend() function without waiting for it's
32 terminal limitation
Hi, For a project it's needed to run more than 32 terminals on a single machine. Is there any way to work around the max 32 terminal limitation? Up until now I have been working with multiple machines, but this isn't effective and needs to change
Multiple linear regression
I'm looking to perform multiple linear regression calculations within MQL4. Yt = b0 + b1*X1 + b2*X2 + b3*X3 + e Does anyone know a solution how to do this? I have written code to perform this calculations for two independent variables. But I need to use more variables. Perhaps anyone can point me
Horizontal line at height not depending on price
How to draw a horizontal line on a MT4 chart without taking quotes into account? So the markets can move but the line stays at same height. I want to make a scatter plot within a MT4 chart and this should stay fixed on the chart, not move with the quotes. By using this code it moves with the