______So you want to know where was the indicator in the past for the last time - below -100 or above +100. There is no block to check this and I think this is requested for the first time here. I even wonder what name can I give to a block which can do that.
But anyway, I have some suggestions. You can use some other indicator or period of CCI that can tell you something about the direction. Or maybe you can try crossover between CCI and CCI with slightly different period (faster period vs slower period). Or something like this: https://fxdreema.com/shared/Y4nUTW9H Or with some code like this: https://fxdreema.com/shared/feicYrGNc[/quote:3qdehdxz]
Thanks.
I'm glad to my ideas have participate for develop fxDreema.
your suggest its work for me. I will try adapt it on my EA.
ps:I'm so sorry for wrong command of english[/quote:3qdehdxz]
I try to adapt it on my EA already.
But have something not normal.
When I'm run EA just a few minute that function (AboveOrBelow) value is stuck. (1 or -1)
What should i do with problem ?
Thanks
This link is my EA adapt with function AboveOrBelow.
https://fxdreema.com/shared/v6S6YvVce[/quote:3qdehdxz]
Sorry I'm wrong.
I'm found error point already. š