Hi, im trying to create a simple screener using the Elastic Volume Weighted Moving Average. I use it as indicator on my charts, it is included into the ptr indicator and i didnt have to create it.
The condition for the screener i want to create is –> eVWMa[30] crosses under WeightedAverage[30]
the problem i have is it cant find the EvWMA and use it , i have try to create it with this code :
//parameters :
// period = 20
IF BarIndex < period THEN
eVWMA = Close
ELSE
N = Summation[period](Volume)
eVWMA = ((N – Volume)*eVWMA + Volume*Close)/N
ENDIF
- Do i have to create a new indicator for the eWVMA and then use it on the screener??
- I need two indicators, for the first one i have no problem, Indicator1=WeightedAverage[30](close) but what about the EWMa? i have tried Indicator2 = eWMa[30] unsuccesfully
- Anyone can help me with the code, is just one condition.
Thank you very much