Put an EMA on a technical indicator such as RSI
Author: Jim0000076
Creation Date: 11/7/2012 7:20 AM
profile picture

Jim0000076

#1
Eugene,

I have been attempting to write a code to represent the EMA on an indicator such as RSI and are having some trouble, I suspect there is a simple answer.

I am using this to calculate RSI:

DataSeries RSISeries = RSI.Series(Close, 14);

And this to calculate the EMA on the price series:

DataSeries EMA = EMAModern.Series(Close, 14);

But I am now wondering how I write a code so that the EMA relates to the DataSeries RSISeries?

Thanks in advance.

Jim
profile picture

Eugene

#2
CODE:
Please log in to see this code.
profile picture

Jim0000076

#3
Too easy, thank you.

Also, I have been wondering, is there a forum for WL6 that shares and ranks ChartScripts such as for WL4 see: http://wl4.wealth-lab.com/cgi-bin/WealthLab.DLL/browsechartscripts ?
profile picture

Eugene

#4
You're welcome.

No, public uploaded Strategies are not ranked. There's something new, different coming very soon, though.
profile picture

Jim0000076

#5
Excellent.
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).