So I've written a pinbar EA which works fine, however I'm now trying to get it to take RSI into account when making trades...
I basically want RSI(specific bar interval int) to return the RSI value at that bar based on Close Prices.
I've been struggling with this a great deal as I'm having a bit of trouble getting my head around Buffers etc. I've taken a look at other scripts which calculate RSI however continue to have trouble getting my head around how to get a calculation from it.
Could anyone provide an example of the simplest way possible to get this data?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hey,
So I've written a pinbar EA which works fine, however I'm now trying to get it to take RSI into account when making trades...
I basically want RSI(specific bar interval int) to return the RSI value at that bar based on Close Prices.
I've been struggling with this a great deal as I'm having a bit of trouble getting my head around Buffers etc. I've taken a look at other scripts which calculate RSI however continue to have trouble getting my head around how to get a calculation from it.
Could anyone provide an example of the simplest way possible to get this data?
Many thanks,
Adam G