Z_Close ALL Direction Label cBot is closing all open positions with the same Label when the Net Profit gets to the set value from the “Profit Net” field, Parameters menu.
Z_Close ALL Direction Label cBot is acting like “Take Profit” for all open positions with the same Label and is targeting the set value inserted in the “Profit Net” field, Parameters menu.
Z_Close ALL Direction Label cBot it does calculate the Net Profit on Tick. Note that we can insert one, two or all Label characters in the "Label start with" field, Parameters menu.
Parameters:
Z_Close ALL Direction Label cBot configured to close all open Long(Buy) positions with the same Label at 200 Net Profit.
The " Profit Net " is set to the target amount in the account currency. ![]() Z_Close ALL Direction Label cBot configured to close all open Short(Sell) positions with the same Label at 200 Net Profit.
The " Profit Net " is set to the target amount in the account currency. ![]() Z_Close ALL Direction Label cBot display when the robot is Turned ON ![]() Z_Close ALL Direction Label cBot display when the robot is Turned ON ![]() Examples:
Let's assume that we do have a 20 open positions with different labels and different directions created by the same cBot or different cBots:
MACD_RSI_cBot_01_A21 Buy
MACD_RSI_cBot_01_A21 Sell
MACD_RSI_cBot_01_A22 Buy
MACD_RSI_cBot_01_A22 Sell
MACD_cBot_02_B56 Buy
MACD_cBot_02_B56 Sell
MACD_cBot_02_B57 Buy
MACD_cBot_02_B57 Sell
MACD_cBot_02_B60 Buy
MACD_cBot_02_B60 Sell
MACD_SMA_cBot_03_C87 Buy
MACD_SMA_cBot_03_C87 Sell
MACD_SMA_cBot_03_C88 Buy
MACD_SMA_cBot_03_C88 Sell
SMA_cBot_04_C93 Buy
SMA_cBot_04_C93 Sell
SMA_cBot_04_C92 Buy
SMA_cBot_04_C91 Buy
SMA_cBot_04_C90 Sell
SMA_cBot_04_C89 Buy
Example 1:
If we want to close the below open positions at 200 Net Profit:
MACD_RSI_cBot_01_A21 Buy
MACD_RSI_cBot_01_A22 Buy
The “Label start with” parameter is set → MACD_RSI_cBot_01
The “Direction Buy or Sell” parameter is set → Buy
![]() Example 2:
If we want to close the below open positions at 200 Net Profit:
MACD_RSI_cBot_01_A21 Sell
MACD_RSI_cBot_01_A22 Sell
The “Label start with” parameter is set → MACD_RSI_cBot_01
The “Direction Buy or Sell” parameter is set → Sell
![]() Example 3:
If we want to close the below open positions at 200 Net Profit:
MACD_cBot_02_B56 Buy
MACD_cBot_02_B57 Buy
MACD_cBot_02_B60 Buy
The “Label start with” parameter is set → MACD_cBot_02
The “Direction Buy or Sell” parameter is set → Buy
![]() Example 4:
If we want to close the below open positions at 200 Net Profit:
MACD_cBot_02_B56 Sell
MACD_cBot_02_B57 Sell
MACD_cBot_02_B60 Sell
The “Label start with” parameter is set → MACD_cBot_02
The “Direction Buy or Sell” parameter is set → Sell
![]() Example 5:
If we want to close the below open positions at 200 Net Profit:
MACD_RSI_cBot_01_A21 Buy
MACD_RSI_cBot_01_A22 Buy
MACD_cBot_02_B56 Buy
MACD_cBot_02_B57 Buy
MACD_cBot_02_B60 Buy
MACD_SMA_cBot_03_C87 Buy
MACD_SMA_cBot_03_C88 Buy
The “Label start with” parameter is set → MACD
The “Direction Buy or Sell” parameter is set → Buy
![]() Example 6:
If we want to close the below open positions at 200 Net Profit:
MACD_RSI_cBot_01_A21 Sell
MACD_RSI_cBot_01_A22 Sell
MACD_cBot_02_B56 Sell
MACD_cBot_02_B57 Sell
MACD_cBot_02_B60 Sell
MACD_SMA_cBot_03_C87 Sell
MACD_SMA_cBot_03_C88 Sell
The “Label start with” parameter is set → MACD
The “Direction Buy or Sell” parameter is set → Sell
![]() Example 7:
If we want to close the below open positions at 200 Net Profit:
SMA_cBot_04_C93 Buy
SMA_cBot_04_C92 Buy
SMA_cBot_04_C91 Buy
SMA_cBot_04_C89 Buy
The “Label start with” parameter is set → SMA
The “Direction Buy or Sell” parameter is set → Buy
![]() Example 8:
If we want to close the below open positions at 200 Net Profit:
SMA_cBot_04_C93 Sell
SMA_cBot_04_C90 Sell
The “Label start with” parameter is set → SMA
The “Direction Buy or Sell” parameter is set → Sell
![]() | Utility Z cBots
Currency Indices
Candlestick Chart
Currency Indices
Line Chart
Custom Currency 2 X MA Indicator
Non US
Currency Indices
Free cBots for cAlgo and cTrader
Free Indicators
|
Free Utility Z cBots >