Download MetaTrader 5
To add comments, please log in or register
Having a great idea? Share it on the traders' Forum!
P_Cherry
97
P_Cherry 2012.07.12 16:25 

Hi,

I am learning and writing my first Wizard Signal module and have trading signal depending on position type.

Is it necessary to create object to excess PositionType() within LongCondition() code part?

   CPositionInfo     m_position;

m_position.PositionType()


Or can I access it via pointer LongCondition(CPositionInfo* position)?

Thanks for advice

Peter

Documentation on MQL5: Standard Constants, Enumerations and Structures / Objects Constants / Object Types
  • www.mql5.com
Standard Constants, Enumerations and Structures / Objects Constants / Object Types - Documentation on MQL5
/
To add comments, please log in or register