♥ 0 |
Hey everyone!
Pete, thank you so much for helping me with my “Display time between bars” question. I have a watchlist full of stocks. I have a custom column with the code below. The watchlist is set to a 1minute chart aggregation. I want the watchlist to sort the stocks that are at their intraday high but also had a trade within the past 2 minutes. This is the start to my code but it seems like ToS will not calculate the values because of the Daily aggregation period. Any ideas?
def data1 = GetTime() / 1000 / 60; def agg = AggregationPeriod.DAY; plot data = hi;
Marked as spam
|
Please log in to post questions.