cronofobico / Publications
Forum
Redraw at new day
I'm building an EA that uses last day's maximum and minimum price . For now, I'm coding this on OnInit(): // SETTING MIN AND MAX OF LAST DAY MqlRates PriceDataTableDaily[]; CopyRates ( _Symbol , PERIOD_D1 , 0 , 1 ,PriceDataTableDaily); lastHigh = PriceDataTableDaily[ 0 ].high; lastLow =