Rules: add Double Exponential Moving Average (DEMA) into condition?
Author: rctrade
Creation Date: 4/26/2020 6:34 PM
profile picture

rctrade

#1
Eugene, can you please add the Double Exponential Moving Average(DEMA) Into the Moving Average Condition for back testing purposes. It isn't listed in the pull down...
profile picture

Eugene

#2
This already was requested a year ago. By you:

How to make Double Exponential Moving Average (DEMA) a standard indicator?

And it has been implemented. ;)
profile picture

rctrade

#3
Eugene, sorry I wasn't clear on the request my fault. I have attached a jpeg, but what I was asking for was to include the DEMA into the pull-down Moving Average choice for building a strategy. Yes thanks for creating the indicator, cause I use it everyday.
Hope this helps.
thanks
rctrade
profile picture

Eugene

#4
Being a built-in condition, "Price crosses above (below) Moving Average" isn't something that can be modified fairly easy like we're used to do with Community.Rules. Let alone that the DEMA isn't part of Standard Indicators makes it nearly impossible from a distribution standpoint.

But you can work around this with two conditions from the "General Indicators" group to simulate the Price/MA crossover:

1. "Indicator crosses above (below) Indicator": choose 1-period SMA for "Indicator1". The trick here is that the 1-period SMA of a Price is identical to the Price.

or

2. "Price crosses X% above (below) Indicator". Choose the Price and DEMA but the trick here is to set the "Percent" to 0.

Voila.
profile picture

rctrade

#5
Thank you Eugene... Both are good solutions.... Thanks rctrade
profile picture

Eugene

#6
Glad to help.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).