How can I set CopyRates for timeframe array elements - page 2

 

Greetings!

I recommend to copy all candlestick’s upper wick of M5 to first array, after copy all candlestick’s upper wick of M15 to second array, etc... After that please search in arrays the value of candlestick’s upper wick what you need, please use function  ArrayBsearch()  or similar. (Also please read article about arrays on mql - https://www.mql5.com/en/articles/567 ).

Documentation on MQL5: Array Functions / ArrayBsearch
Documentation on MQL5: Array Functions / ArrayBsearch
  • www.mql5.com
ArrayBsearch - Array Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 

@Jackery

Have you been able to solve this? I tried working on something similar but didn't make much progress. Please let me know, I am very interested in the solution.

 
Profitability:

@Jackery

Have you been able to solve this? I tried working on something similar but didn't make much progress. Please let me know, I am very interested in the solution.

I am still working on it. Not there yet, but I’ve made a little progress
Reason: