In Formulas, can you set the rsi lookback to equal a cell on the grid? This way I can change the lookback on the grid...
From the realtime example post, I assume the "60" in the cell contents "=formula.RSI(Symbol,60)" takes realtime minute data and crates a 60minute bar, then calculates rsi(2) on the 60 minute bar?
For Historical, if I want daily data(1bar = 1 day) RSI(14) I would use in the cell: =formula.rsi(symbol, 1) & cell=rsi(14) in "Formulas"?
- From the realtime example post, I assume the "60" in the cell contents "=formula.RSI(Symbol,60)" takes realtime minute data and creates a 60minute bar, then calculates rsi(2) on the 60 minute bar?
Yes correct.
- For Historical, if I want daily data(1bar = 1 day) RSI(14) I would use in the cell: =formula.rsi(symbol, 1) & cell=rsi(14) in "Formulas"?
Exact. Since "1" means daily (7 weekly...). But you have to make sure historical data is selected in "Formulas".
- In Formulas, can you set the rsi lookback to equal a cell on the grid? This way I can change the lookback on the grid...
Yes, you can. Just add one parameter to the formula then type something like:
Cell = rsi(p);
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.