The reason is the coding method used by the coder. This code does ArrayResize() pretty often, and this operation strongly influences the code performance. It should be avoided any ...
The first market order is placed by button click. In the original posted by @ffss the pending orders were executed on the next call in OnTick(); This could effect in some delay, ...
This EA doesn't put any Limit orders! It puts Stop orders. I moved the open pending function to the button section. file
I keep it at D1, because that's the Tf I want to be refreshed, too.
Refresh By Timeframe Means which Tf to switch to when refreshing. The code works by switching to another Tf and back to the original Tf.