How to store the RSI Value to check a condition to place the second order?

 

Hi, I am new to MQL5 coding, I am trying my First EA, I request someone to help to complete my strategy

For example,

when the RSI value reaches 30, I placed a buy order and if the RSI value further reduces and reaches a value say, 15, I would like to place one more buy order with different lot size, if it further reduces to 5, one more buy order with a different lot size.

Please help

 

Well what about this way Search here for rsi ea and select (I think you don't want to pay) on the left side CodeBase, Forum or Article?

You'll find a lot that inspires you and all that has no errors - time consuming things you'll face early enough!