Hello all,
has anyone already programmed a MTF BB and would share it?
Greetings
Suffi
There you go for two different TFs (4h & 1h):
Timeframe(4h,UpdateOnClose)
BB4 = 20 //20 periods
BBdev4 = 2.0 //2.0 standard deviation
BBavg4 = average[BB4,0](close) //BB mean (middle line)
UPboll4 = BBavg4 + ((std[BB4](close)) * BBdev4) //BB Upper Band
LOboll4 = BBavg4 - ((std[BB4](close)) * BBdev4) //BB Lower Band
//
Timeframe(1h,UpdateOnClose)
BB1 = 20 //20 periods
BBdev1 = 2.0 //2.0 standard deviation
BBavg1 = average[BB1,0](close) //BB mean (middle line)
UPboll1 = BBavg1 + ((std[BB1](close)) * BBdev1) //BB Upper Band
LOboll1 = BBavg1 - ((std[BB1](close)) * BBdev1) //BB Lower Band