how to change/Modify Stoch Period depends on other conditions
-
Hi
I need help with this one pleasei would like to change Stoch Indicator Period depend on the the distance between 2 MA 20 and 100
for example if 100 MA - 20 MA = 50 that will be added to the Stoch period ex = Xperiod+50
provided that Stoch Value is below 80 and if above 80 the formula will stop or pause and so onthank you in advance
-
Take both MA values and insert them into two different variables. Then compare both values to know the distance and insert it into a third variable. That last one will be the one you will need for the stoch period.