Forum

which data structure is flexible for manipulation in mql5?

Hello i'm writing an EA so at the formation of each new bar , multiple prices are collected from previous bars representing potential market execution levels. how can i use arrays or other data structures to collect the prices and filter through( mostly finding distance between prices)? // array to

How can i find chart objects for specified time?

My chart contains objects with a pattern like "xxx_xxx_xxx " example ==>"res_1.9916_ 2022.04.25 12:00 ", they represent object name , price and date respectively. How can i query objects only for a restricted time period? example could be querying objects for previous 2 days for each new candle

Converting Indicator to EA

Hello, i have been solving this problem for several weeks now ,I need your help. How can i convert the indicator below to EA ? I'm lost when it comes to using OnTIck function. //--- input params input int InChPeriod = 150 ; //Channel Period int ExChPeriod,rCount; //---- buffers double