I was wondering if it would be possible to change the form of the “PRC_Squeeze Light” indicator from oscillator to a shadow behind the candle in question itself. Similar to the alpha-trend ” volatility squeeze” signal. Is that possible? I appreciate the signal will not coincide the idea is just the design.
Here is the modified code with the color fill between the bollinger bands in case of “Squeeze Light”:
//PRC_Squeeze Light | indicator
//07.11.2017
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
// --- settings
bolPrd=21
bolDev=2.0
keltPrd=20
keltFactor=1.5
// --- end of settings
diff = averagetruerange[keltPrd]*keltFactor
stdd = std[bolPrd](close)
bbs = bolDev*stdd/diff
if bbs<1 then
alpha=100
else
alpha=0
endif
colorbetween(average[bolprd]+boldev*stdd,average[bolprd]-boldev*stdd,"crimson",alpha)
return
Thank you Nicholas – this is so beautiful addition :), and I am honoured for your reply . You are truly the legend of this forum. Mercy Beaucoup!