problem with m_trade
Forum on trading, automated trading systems and testing trading strategies
When you post code please use the CODE button (Alt-S)!

You declared the variable all lowercase "m_trade" and you tried to use it with an uppercase T "m_Trade".
For MQL:
// Are different variables.
m_trade
m_Trade
Yes,it's MQL5
You are not working correctly with indicators.
See example:
An example of get values from the iRSI indicator
- 2020.07.05
- www.mql5.com
You are not working correctly with indicators.
See example:
An example of get values from the iRSI indicator
I don't know how to use it.can you modify my codes?
What exactly is not clear to you? You have a global misunderstanding of the MQL5 style: according to the MQL5 style, the indicator handle MUST be created ONCE and you MUST do it in OnInit. I gave you an example - learn an example, learn how to work correctly with indicators in MQL5.
Hi guys
Can someone tell me how to fix this problem??? Thank you!
'm_Trade' - undeclared identifier