I was hoping that it would be built in thinkorSwim, because your point is valid. A holiday for my futures contract could differ from my options contract and it can differ from a stock market contract. So if I have multiple contacts open, I would not like to hard code each individual chart of...
hey gentlemen, trying to program dynamically my program to know without my input on whether the current week due to holidays will end on a Thursday or any day of the week other than the norm?
This code worked for the current bar price:
def isLastBar = !IsNaN(close) and IsNaN(close[-1]);
plot LastBarSignal = isLastBar;
LastBarSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);
but when I try to get the last in my chart it doesn't work:
def isLastBar = !IsNaN(close)...
by trial & error apparently I saw that they are not exact in the number of days that they consider 6 months. If you do March 31 to now September 14, there are 7 different months that we access.
hey everyone, I'm currently using a 15 min chart and the furthest that I can go in a 15 min bar chart is 6 months back. I try accessing the furthest close price on my chart's AggregationPeriod with the code below but had no luck. Any suggestions in what I'm missing :(
declare lower;
input...