InitTrailing

Initializes trailing stop object.

virtual bool  InitTrailing(
   CExpertTrailing*     trailing=NULL,        // pointer
   )

Parameters

trailing

[in]  Pointer to CExpertTrailing class object (or its descendant).

Return Value

true - successful, otherwise - false.

Note

If trailing is NULL, the ExpertTrailing class will be used for initialization (it does nothing).