1. ezraluandre

    efficiency in 2 different scenario of code structure

    Hi I have EA with code structure like this, void OnTick() { resetCounterVar(); //there's for loop CloseOrders(); //there's for loop UpdateAllOpenOrders(); //there's for loop SetSLTP(); //there's for loop CheckPendOrder(); //there's for loop if(IsNewCandle() &&...
  2. JimmyJay

    How to create a loop for an MT4 indicator

    Hi guys, I have an indicator that exports historical price data to csv files. I'm not much of a coder and am having trouble with this. What I'd really, really appreciate it would be if someone would be able to help where and how to put a loop in the indicator, details are as follows: 1. The...