Math.Max to determine unstable indicator's period
Author: mrsic
Creation Date: 1/19/2018 12:40 PM
profile picture

mrsic

#1
Hi,

I am not a programmer but i do my best. I am using the Math.Max method for unstable indicators. Im my example for the Long-Side ATR and StochD and for the Short-Side ATR and RSI. For the Short-Side its clear and for the Long-Side i have used 2 times the same slider (or it doesn't matter), because i think the StochD is not an unstable indicator. Is there another way to programm this. Math.Max need 2 Parameter. Could anyone help me.

CODE:
Please log in to see this code.


greetings damir
profile picture

Eugene

#2
One leg is redundant:
CODE:
Please log in to see this code.
profile picture

mrsic

#3
Thanks.

greetings damir
profile picture

Eugene

#4
You're welcome.