All, How can I code the following:
When MA(20) < MA(80) (= bear market definition) Then sell once the slow stochastics (standard setting) were/are overbought (>=80) and have just started to turn down. How would I do an optimization for one ovariable let's say the stoch overbought condition from 75 to 85 with a step of one? Thanks, Samantha
