Developing a Squeeze Histogram Formula

T

trouble56

New member
VIP
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
 
T

trouble56

New member
VIP
@BenTen I have looked at the links you suggested previously but didn't see that this showed how to calculate the histogram value. I could have missed something because I didn't understand so any help would be appreciated. thank you
 

Similar threads

Top