Optuma Forums › Optuma Scripting › RIC › Reply To: RIC
January 15, 2022 at 12:28 am
#67269
- Topics: 70
- Replies: 802
- Posts: 872
The RIC function divides the one dataset by another to calculate a daily ratio.
Put your formula in a Show View and you can see the output, which won’t work in a test.
Instead, you could make the signal when the RIC crosses above its 20-period MA:
1 2 3 4 |
V1=RIC(INDEX=NIFTY500:NSE); V1 CrossesAbove MA(V1, BARS=20) |