Hi guys,
A While ago I got this EFS studie that showed all bars above the SMA green and below the SMA red. It helps me visually to stay in a trade and use this MA as a sort of trailing stop.
It is a simple moving average (SMA). I would like to use the Exponential Moving Average (EMA) as my trailing stop. I have tried to do some programming on my own, but failed misserably.
My question is: Can someone help me change the code of this EFS study from SMA into EMA? The EFS study is attached to this post.
Kind regards,
thevinman
A While ago I got this EFS studie that showed all bars above the SMA green and below the SMA red. It helps me visually to stay in a trade and use this MA as a sort of trailing stop.
It is a simple moving average (SMA). I would like to use the Exponential Moving Average (EMA) as my trailing stop. I have tried to do some programming on my own, but failed misserably.
My question is: Can someone help me change the code of this EFS study from SMA into EMA? The EFS study is attached to this post.
Kind regards,
thevinman
Comment