Maximum orders in building a position

 

I thought this function

int limit = 3;
ExtExpert.MaxOrders(limit);

  where

ExtExpert

is an instance of an EA off the standard library would set the maximum orders in building a position but on preliminary testing, it seems to have no effect.

My question is how do we set the maximum orders to build a position?

Documentation on MQL5: Standard Library
  • www.mql5.com
Standard Library - Documentation on MQL5
Reason: