Forum

need help HistoryDeals messed up !!

I am trying to print the history symbols are type along with date however the results are completely messed up time of deals are not matching the history ,tickets, type of buy and sell are not matching (i assume it return 1 for buy and 0 for sell) can anyone check my code and tell me what am i doing

Differance between MqlRates and other methods ?

is there any difference between using MqlRates and using iCLose for example ? MqlRates i have to use array and copy rates to the array , where iClose can just enter the shift number of the bar and thats it or i am missing something here ? thanks

can i save symbols in marketwatch ?

can i save all the symbols with its current sorting to use it after reinstall or another MT5 Terminal ? thanks

Blinking effect possible ?

Hello is it possible to achieve some blinking effect on an object , a blinking text or button for example ? i dont think changing color using OnTimer is effective . is it possible to have more than one OnTimer

adding and deleting indicator

lets say i want to add the BB indicator to my chart using my indicator code everytime i change timeframe , another instance of the indicator BB is added again and again what am i doing wrong ? here is part of the code int bbhandle ; int OnInit () { bbhandle = iCustom ( _Symbol , _Period , "BB"

how close is so close ??

hello i need your ideas on this lets say i want to estimate that the price is close to an object , not inside it , but close . measuring the distance visually is easy i can say , yes the price is close to the box . but calculating it always get me different results for different symbols points

multi colored text on one button ?

is there any way the text in button object can be multicolored ? thanks

need help with logic

Hello i am trying to code an inner bars indicator , (bars not 1 or 2 bars) scan the last 10 bars and pick the main bar that its high and low did not break by body of any bars after it . the logic to code this is getting out of mind completely . i appreciate any direction , thanks

Historical session open and close time ?

Hello i know that SymbolInfoSessionTrade can give you trading session time. is it possible to get open and close time for Asian session for example last year at specific dates ? there are holidays , DST, etc that can affect these data so can it be done ? thanks

i am stuck and need help !

Hello i have an indicator (not mine)that draws objects according to certain conditions i am making a scanner EA to detect the how many objects and certain properties of each object . naturally the charts are not actually open i am looping through symbols and timeframes in my EA. and using icustom to