Topic: Custom Bollinger Band Indicator(entry at bar closing)
I seem to be having problems creating a custom bollinger band incicator. I copied the original one and amended some parts. Basically, what I am after is an option to open a trade, above a bar that closes above the upper band (if the previous bar closes below the upper band). However, there seem to be no 'bar closing' options on the original one-just 'bar opening' ones
I have changed some of the wording from 'opens' to 'closes' and from 'opening' to 'closing', but get the following error when I reload sb:
File name: ose_Bollinger Bands.cs
ERROR: Indicator compilation failed in file [ose_Bollinger Bands.cs]
Line 306 Column 131: 'Forex_Strategy_Builder.BandIndLogic' does not contain a definition for 'The_bar_closes_above_the_Upper_Band_after_closing_below_it'.
Would you know how this can be done?