Forum

Counting sl COMMENTS

Hello everyone! I want to create an MQL5 application that is able to count sl Comments in history tab.. What's the best way to achieve it? I am trying to use OnTrade() function ( https://www.mql5.com/en/docs/event_handlers/ontrade ) along with HistoryDealGetString()

MQL5 Standard Library Ctrade Buy

Hello everyone! I am using Buy method: https://www.mql5.com/en/docs/standardlibrary/tradeclasses/ctrade/ctradebuy It's necessary to inform those variables: bool Buy( double volume, // position volume const string symbol= NULL , // symbol double price= 0.0