Forum

how to get Seconds() in MQL5?

how to get Seconds() in MQL5

EA only works on one chart

EA only works on one chart

Random number generator within range in mql5

Is it possible within MQL5 to generate a random number between a set starting point and ending point? Let's say I want a random number between 1000 and 2000. How would I do that

function needed

I need a function that will close the losing trades (one at a time) when the margin level is equal or below 100%, until the margin level is above 100%. - closing the the biggest losing order first

Help need for iCustom() function in EA

Hello, I would be grateful if someone could add the iCustom () function to this EA so I no longer get the 'SetIndexBuffer function must be called from custom indicator only.' error message when running on strategy tester. the indicator is called Launcher Insight Indicator #property

InterbankFX introduces 5th decimal place

Hello, would anybody help me adjust my EA so that it will work with a 5th decimal place. I have 2 EAs that need adjusting

Optimization - Genetic Algorithms?

The optimization status is 172/10496 (1030301) genetic algorithm is ON It has been 30 hours 32 minutes so far (after this it says 1822.45.07) How much longer is this likely to take? I haven't used genetic algorithm before, I thought it was meant to speed up as it progresses

Optimization - Genetic Algorithms?

The optimization status is 113/10496 (1030301) genetic algorithm is ON It has been 19 hours 45 minutes so far (after this it says 1799 days) Exactly how much longer is this likely to take? I haven't used genetic algorithm before, I thought it was meant to speed up as it progresses

Re: Comparative Analysis of 30 Indicators and Oscillators

What is the best data to use on strategy tester ? That downloaded from meaquotes or the data from Alpari? What is the best broker to use

initial stop. need help

void ModifyOrder(double buyTS, sellTS) { if (Bid - OrderOpenPrice() > buyTS * Point) if (OrderStopLoss() < Bid - buyTS * Point) OrderModify(OrderTicket(), OrderOpenPrice(), Bid - buyTS * Point, OrderTakeProfit(), 0); if (OrderOpenPrice() - Ask > sellTS * Point) if (OrderStopLoss() > Ask + sellTS *