sheldon_nico2 / Publications
Forum
Price of close at a specific time.
Trying to get the EA to return the closing price at 5pm and store the value in a variable. This should be done every tick so at 5pm the next day it stores the new close price . Can anyone help? string five = "17:00"; datetime NY; double NYClose; void OnTick() { NY = StrToTime(five);