Forum

iHighest result bar outside the array

Hi! I am trying to make a function to draw daily boxes, when I get the index of the highest candle in a range of candles I get an index that is outside the range. I hope you can understand my problem. If I want to obtain the highest candle from candle 40 to candle 14, iHighest returns 54, when the

im lost with arrays

well, im working in a expert that open a sell oder and a sell stop order at the same time (hedging) im stok in the part where im triying to store the order number of the sell order and the sell stop order in an array to make a function that when the sell order raise the take profit delete the

dlls allowed

Sorry, im trying to explain myself using google translate. Im trying to use MQL_DLLS ALLOWED and DLLS_ALLOWED to get the boolean if the dlls is allowed in the account or in my expert advisor, but i always get "allowed" and "true" even if i don't chech the dlls boxat the begining of my expert. i