CO/USA
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157
|
The easiest way to do this would be open the RSI indicator in easylanguage. Then create a new blank indicator.
Copy the RSI code into your blank indicator space then edit the RSI code to be
XRSI = XAverage(RSI(price,RSILength),MALength); //this takes the exponential average of the RSI
If you want to add another RSI of a new timeframe the easiest way to do this would be to add another data series to your chart (same symbol, 15 minute timeframe), then call that data series from the indicator. You could do all of this in your newly created indicator. So it would be something like
RSIvalue1 = rsi(close, RSILength);
XRSI = XAverage(RSIvalue,MALength);
RSIvalue2 = rsi(close of data2, RSILength); //data2 is your second data series of 15 minutes or whatever you want it to be
Plot1(RSIvalue1,"RSI1");
Plot2(XRSI, "XRSI");
Plot3(RSIvalue2,"RSI2");
|