There are at least three different methods to retrieve the Spread for a Symbol...

 

...From the MQLTick Structure...example: SymbolInfoTick()

...From the CSymbol Trade Class...example: CSymbolInfo()

...From the Environment State Function...example: SymbolInfoInteger()

Would someone please explain the advantages and disadvantages of using each technique?   Is there a preferred technique?

TIA...ChuckM

Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State
  • www.mql5.com
Standard Constants, Enumerations and Structures / Environment State - Documentation on MQL5
Reason: