I am looking for help developing the formula for the Squeeze Histogram value so I can create a multi-timeframe indicator for Squeeze. This is what I was using for my formula but this formula only works if the time frame on my chart matches the timeframe I am assessing.
input higher_time_frame_1 = AggregationPeriod.two_days;
def squeezeHist1 = reference TTM_Squeeze(close(period = higher_time_frame_1), 20, 1.5, 2.0, 1.0).Histogram;
If it is a different timeframe then the formula is not correct. I believe it means that I need to actually calculate Squeeze without referencing the building indicator but I don't know how to do this. Any help would be greatly appreciated.
Thank you,
Aaron
input higher_time_frame_1 = AggregationPeriod.two_days;
def squeezeHist1 = reference TTM_Squeeze(close(period = higher_time_frame_1), 20, 1.5, 2.0, 1.0).Histogram;
If it is a different timeframe then the formula is not correct. I believe it means that I need to actually calculate Squeeze without referencing the building indicator but I don't know how to do this. Any help would be greatly appreciated.
Thank you,
Aaron