Topic: custom indicator based on positive and negative bars
Hi, I need custom indicator based on positive and negative bars.
The idea is: open/close position when % change of positive to negative bars bar is "60"..for example we inspect last 100 bars open position when 60 bars are positive and 40 bars are negative
It must have option to set number of bars which will be inspected (for positive, negative and Dojibars)
It must have option to set % of positive to negative bars bar to open/close position. The formula is %= 60/(60+40).100 and ignore Dojibars bars.
positive is when open<close
negative is wen open>close
doji is when open= close