Forum

Need the MetaTrader5 compiler: mql5.exe

Hi, where can I get the mql5.exe file. I know that the file is no longer required, but I need it for some software for it to work. I only need the file mql5.exe

Assistance requested: Determining the biggest range in previous 50 bars in 5 minute chart

Hi, im having a small problem with developing a code to determine the ‘x’ value which is the index of the bar on the 5 minute chart with a range of 50 pips or more between bar 1 and bar 8640. The Code keeps on returning a value of 1 even when the range of the bar with an index of 1 is less than 50

Fractals counting

Hi , what code syntax do i use if i simply want to count the number of times the top fractals appear over 50 bars for example? Just to count

Code fetches wrong Order ID

Hi , my code bellow fetches information of a wrong Order ID. What happens is when I have a pending order open for order ID 1 for OP_BUYSTOP for example and then afterwards another pending order for order ID 1 for OP_SELLSTOP opens and i want information for the sell stop , i get information for the

Bar values

Hi, is it possible to get bar values (open,close,high,low) of a bar at which a position was opened

Fetching iHighest bar value from higher time frame

Hi , it seems as if when using the iHighest syntex fetching a value from a higher time frame does not work correctly. The value that is fetched does not exist on the specified time frame's candle highs. When checking this by printing functions to chart the are discrepancies on the smaller time