When I copied and pasted the CCIBars script into a new indicator script, a whole bunch of stuff came up that I think was condensed or hidden on the original script. In there is where I figured out half the changes, but failed on the other half.
Edit: Would a threshold of 30 work in Williams? Seeing as -50 +30 would be in the overbought zone and -50 minus 30 would put it in the oversold zone?
Thanks.
EDIT 2: I think I get what you're saying now. I think I was making it too difficult.
I'm still not sure about the threshold value as there will be two thresholds, -20 and -80.
EDIT 3: I guess I could just make two new indicators and put them in the same panel, one with a -20 threshold, and one with a -80 threshold. It'd be great if I knew how to make them one though. Negative thresholds won't work, so i'm at a loss..
GOT IT! Just created a new variable "Thresholdlower" and got it to work! Thank you again. Except right when WilliamsR is crossing its mid-line, the bars indicator now just prints a black bar... not sure why... I have the middle period (between -25 and -75 set to orange).
Comment