I'm starting to build my first EA and one of his strategies is analise RSI from the last 3 past candles... But i need to force the EA to do start the calculations only on data after EA stated, then the past candles on EA starting must be discard.
I'm working on the logic, but do not understand how to do it right.
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.
Hi... Greetings from Brazil!
I'm starting to build my first EA and one of his strategies is analise RSI from the last 3 past candles... But i need to force the EA to do start the calculations only on data after EA stated, then the past candles on EA starting must be discard.
I'm working on the logic, but do not understand how to do it right.
think someting like:
Any tip? I'm testing it and appears to works fine... but i don't have 100% of certain if this is the best option to do!