You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
GetTypeLastClosePos() function.
This function returns the type of the last closed position or -1. A more accurate selection of positions to be taken into account is defined by external parameters:
GetTypeLastOpenPos() function.
This function returns the type of the last open position or -1. A more accurate selection of positions to be taken into account is specified by external parameters:
The isCloseLastPosByStop() function.
This function returns a flag to close the last position by stop. Flag is up - True - StopLoss has triggered. Flag lowered - False - position has been closed for another reason. More accurate selection of positions to be taken into account is set using external parameters:
The isCloseLastPosByTake() function.
This function returns a flag to close the last position at Take Profit. Flag is up - True - TakeProfit has triggered. Flag lowered - False - position was closed due to another reason. More accurate selection of positions to be considered is done using external parameters:
The isLossLastPos() function.
This function returns the loss flag of the last closed position. Flag up - True - last position was closed with a loss. Flags down - False - the last position was closed either at zero, or at a profit. This function doesn't consider swaps and commissions. Selection of positions is defined by external parameters:
The isTradeToDay() function.
This function returns the trade flag for today. Flag is up - True - there were open positions today. Flag down - False - no positions opened today. The selection of positions to be taken into account is set by external parameters:
The NumberOfBarCloseLastPos() function.
This function returns the bar close number of the last position or -1. The selection of positions to be taken into account is defined by external parameters:
The NumberOfBarOpenLastPos() function.
This function returns the bar number of the last position opened or -1. The selection of positions to be taken into account is specified by external parameters:
The NumberOfLossPosToday() function.
This function returns the number of losing positions closed today. Selection of positions to be taken into account is done using external parameters:
The PriceCloseLastPos() function.
This function returns the closing price of the last closed position. The selection of positions to be taken into account is specified by external parameters: