Forum on trading, automated trading systems and testing trading strategies
When you post code please use the CODE button (Alt-S)!
All identifiers are case sensitive.
You declared the variable all lowercase "m_trade" and you tried to use it with an uppercase T "m_Trade".
For MQL:
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
Aaron Hu # :
Yes,it's MQL5
Yes,it's MQL5
You are not working correctly with indicators.
See example:
An example of get values from the iRSI indicator
How to start with MQL5
- 2020.07.05
- www.mql5.com
This thread discusses MQL5 code examples. There will be examples of how to get data from indicators, how to program advisors...
Vladimir Karputov #:
I don't know how to use it.can you modify my codes?
You are not working correctly with indicators.
See example:
An example of get values from the iRSI indicator
Aaron Hu # :
I don't know how to use it.can you modify my codes?
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.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi guys
Can someone tell me how to fix this problem??? Thank you!
'm_Trade' - undeclared identifier