There are at least three different methods to retrieve the Spread for a Symbol... New comment ChuckM 2011.03.01 12:18 ...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 Development of applications in MetaQuotes Language 5 (MQL5) Flexible MetaTrader 5 trading system with all order types Algorithmic (automated) trading in MetaTrader 5 New comment
...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