Reply To: Where does the last bar close within the bollinger bands?

Optuma Forums Optuma Scripting Where does the last bar close within the bollinger bands? Reply To: Where does the last bar close within the bollinger bands?

#51903
Matthew
  • Topics: 5
  • Replies: 430
  • Posts: 435

Hi Steve,

The following script should return the type of result you are looking for…

This returns the position of the Close in relation to the Bollinger Bands High / Low plots as a %. A value of 0% would mean the close is the same value as the BB low plot and a value of 100% would mean the close is the same value as the BB high plot.

The end result on a Show View looks like this…

Ex6

Pin It on Pinterest