
- docs.mql4.com
use the mt4 function iRSI() and call this function and save the returned value at the moment right before you send the order and then show it using Comment().
Thanks for fast answer but need some details.
Is it void funtion? I tried with void rsival(double=iRSI(Symbol(),0,14,PRICE_CLOSE,0)); not possible on global scope.
How to save?
You can print it to journal then it will be saved in the log file (with timestamp) or you can use globals then it will be saved for 4 weeks etc. https://www.mql5.com/en/docs/globals
Many ways to do it you can also create double array [] to store it but it will be a bit more sensitive to be lost upon re-init and re-start's etc.
The write to file is actually a solid one because then it will be saved in stead of being held in memory only...

- www.mql5.com
Please coders, help, Im not so experienced in MT4 coding.
I wont to take and show in EA, RSI value at moment of opening ticket, OrderSend.
My EA opens tickets in RSI range 30-70, but I need to know RSI value exactly in OrderSend moment and show that value in Chart for analysing and optimising.