NexusFi: Find Your Edge


Home Menu

 





How to calculate RSI(3) n days ago ?


Discussion in TradeStation

Updated
    1. trending_up 1,273 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
hgchcw
Hong Kong + Hong Kong
 
Posts: 18 since Feb 2019
Thanks Given: 9
Thanks Received: 0

How to calculate n days ago RSI(3)?
It should be RSI( ? , 3) , but I have to create a numericseries from Low[3] to Low[5]. Am I right? But how to calculate that numericseries?

Thanks,
Raymond


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
Strike Pause Holds, Oil Erases Monday Spike -- May CPI W …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

Raymond,

the correct answer will depend on the time frame you are working on.

In general you can back reference variables or functions similar to what you can do with some reserved words for accessing previous bar's values.

Having said that you could store the value of the RSI function in a variable and use the variable for accessing previous bar's values.

 
Code
vRSI = RSI( Close, 14 ) ;
Now vRSI[3] would provide the value of the RSI three bars ago.

Alternative you can back reference the function directly or use it with Close[3] as price, but the above appears to be more versatile especially when you intend to use multiple different lock backs within the same code.

Regards,

ABCTG


Follow me on X Reply With Quote




Last Updated on June 10, 2019


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts