Cansın Memiş:
I tried this but it didn't work. Is there a way to find it in a shortway without arrays or something?
Try this:
int iShift = iBarShift(Symbol(), PERIOD_M1, Time[0], false ); int iShift3 = iBarShift(Symbol(), PERIOD_M1, Time[0]-180, false ); RSI=iRSI(NULL, PERIOD_M1, RSILength, PRICE_CLOSE, iShift ); RSI3=iRSI(NULL, PERIOD_M1, RSILength, PRICE_CLOSE, iShift3 );
You must subtract 3 minutes (180 seconds) from current bar start time (Time[0]-180).
Thanks..
Try this:
RSI=iRSI(NULL, PERIOD_M1, RSILength, PRICE_CLOSE, 0); RSI3=iRSI(NULL, PERIOD_M1, RSILength, PRICE_CLOSE, 3);
Hector Pacheco:
that is
Try this:
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I tried this but it didn't work. Is there a way to find it in a shortway without arrays or something?