Is it possible to create an indicator that stores the highest price but just when the Stochastic is below a determined level such as 40??
I would like to create an indicator so that you can keep the highest price when the Stochastic is below 40, and then in a strategy open a position if High [0] is > than the highest stored in the indicator.
If it is possible, is there any sample I could see to try to do it?
Thanks
Daniel
Comment