charliesmith93 / Publications
Forum
New and code is compiling but not functioning correctly when testing.
// Importing necessary libraries // These libraries provide access to Position Information and Trading Functions. #include <Trade\PositionInfo.mqh> #include <Trade\Trade.mqh> // Define the size of a trading position // 'lotSize' represents the volume of an individual trade in the financial market