hides global variable error when compiling

 

Can you please help i keep running into this problem and cannot overcome it?


declaration of 'm_position' hides global variable    supersbbstops.2.mq5    1009    25
   see previous declaration of 'm_position'    supersbbstops.2.mq5    9    16
declaration of 'm_trade' hides global variable    supersbbstops.2.mq5    1010    25
   see previous declaration of 'm_trade'    supersbbstops.2.mq5    10    16

 
  1. You have a local variable declared with the same name as a global variable. Don't do that.
  2. Variables that start with "m_" are usually member variables of a class. Why do you have a global variable with that name?
  3. Do you really expect an answer? We can't see your broken code — we can only guess. There are no mind readers here and our crystal balls are cracked.
Reason: