Formation Logo
Brijon Concept of Threes
MQ4 API
 

Trade Management Module

Functions
Collaboration diagram for Trade Management Module:

bool CheckForHiddenStopLossHit (int type, int iPipsAboveVisual, double stop)
 Check for hidden stop loss hit,Reusable code that can be called by any of the stop loss manipulation routines except HiddenStopLoss().
void BreakEvenStopLoss ()
 Called from TradeManagementModule -Move stop loss to breakeven.
void JumpingStopLoss ()
 Called from TradeManagementModule - Jump sl by pips and at intervals chosen by user .
void HiddenStopLoss ()
 Called from TradeManagementModule if HideStopLossEnabled = true.
void HiddenTakeProfit ()
 Called from TradeManagementModule if HideStopLossEnabled = true.
void TrailingStopLoss ()
 Manages a trailing stop loss if enabled (TrailingStop = true)
void TradeManagementModule ()
 Managment function that handles a trade once it has been initiated.

Function Documentation

bool CheckForHiddenStopLossHit ( int  type,
int  iPipsAboveVisual,
double  stop 
)

Check for hidden stop loss hit,Reusable code that can be called by any of the stop loss manipulation routines except HiddenStopLoss().

Checks to see if the market has hit the hidden sl and attempts to close the trade if so.

Parameters:
type
iPipsAboveVisual
stop
Returns:
true if trade closure is successful, else returns false

Definition at line 695 of file Brijon_Concept_of_Threes_auto_trading_robot_by_Steve_Hopwood.mq4.

void JumpingStopLoss ( )

Called from TradeManagementModule - Jump sl by pips and at intervals chosen by user .

Also carry out partial closure if the user requires this

Definition at line 813 of file Brijon_Concept_of_Threes_auto_trading_robot_by_Steve_Hopwood.mq4.

Make Controller Kit
 
Brijon