♥ 0 |
Hi pete, i like to know if is posible to start the calculation of a study at 9:30 am, but have premarket still visble? thanks! heres the code: def newDay = GetDay() GetDay()[1]; rec runningSumOfHighs = if newDay then high else runningSumOfHighs[1] + high; rec numberOfBarsToday = if newDay then 1 else numberOfBarsToday[1] + 1; plot averageHighsForToday = runningSumOfHighs / numberOfBarsToday;
Marked as spam
|
Please log in to post questions.