πŸ‘ΎCONDITION MANAGER STRATEGY

Code Zero Visual Trading for TradingView

Association

This module tests your ideas on historical data and organizes algo-trading.

CONDITION MANAGER STRATEGY is a module on TradingView that allows you to test your trading ideas without writing any code.

All you need to do is set signals for buying and selling, as well as configure desired prices for taking profit (Take-Profit) and minimizing losses (Stop-Loss). After that, the module will show how your strategy could have performed in the past, and you can immediately make adjustments or set up the sending of signals for trading.

Information

Below you can find a tutorial video from the TradingView team on how to analyze a strategy and its results, and the full description is located here: https://www.tradingview.com/support/solutions/43000562362/

General principle of operation and interface

In order to test on history your trading idea, which you have customized with the help of modules of the complex CDZV, you need to configure the parameters of the universal strategy CONDITION MANAGER STRATEGY, which will do everything for you without the need to write a single line of code.

And so, let's start setting up the strategy step by step.

  1. Choose the period for which you want to test the strategy. Take into account the limitations on the depth of historical data of the TradingView platform - the higher the timeframe, the longer the period you will be able to test.

  1. Choose which direction of trading should be tested.

  1. Select the source/indicator that generates the signal to open a trade (mandatory field).

  1. Customizing the mode of closing a trade.

Close ModeDescription

SIGNAL

Closing a trade on the signal from the indicator (CLOSE Signal field is mandatory)

TP/SL

Closing the trade when the TakeProfit or StopLoss price is reached. Please note that below, the fixed price modes (limit order) and dynamic price modes (channel crossing, etc.) will be described (the CLOSE Signal field is ignored).

SIGNAL+TP/SL

Mixed closing mode of the trade. The trade is closed based on whichever market situation occurs first (the strategy receives a signal to close, or there is a price crossover).

  1. Select the source/indicator that generates a signal to close the trade (works only in modes: SIGNAL and SIGNAL+TP/SL).

  1. Select the indicator that will pass the TakeProfit price (works only in mode TP/SL and SIGNAL+TP/SL).

If necessary, you can disable this option by turning off the Enable switch.

The operation mode of fixed price (limit price) and dynamic price (channel crossing, etc.) is set by the "Remember value when opening" parameter.

Description

The TakeProfit price is remembered at the time of opening a trade and any subsequent changes are ignored (except for Pyramiding mode - see below).

The TakeProfit price is not remembered when opening a trade and can change constantly. For example, if the entry price is the channel boundary.

  1. Select the source/indicator that will transmit the StopLoss price (works only in TP/SL and SIGNAL+TP/SL mode).

If necessary, you can disable this option by turning off the Enable switch.

The operation mode of fixed price (limit price) and dynamic price (channel crossing, etc.) is set by the "Remember value when opening" parameter.

Description

The StopLoss price is remembered at the time of opening a trade and any subsequent changes are ignored (except for Pyramiding mode - see below).

The StopLoss price is not remembered when opening a trade and can change constantly. For example, if the entry price is the channel boundary.

  1. If necessary, activate the 'Pyramiding' mode. When it is activated, the entry signal will trigger an entry into the trade even if a trade is already open. For example, if a trade has already been opened (1 order), then upon receiving a new signal, the position will be additionally increased by the amount of the initial order (there will be 2 orders), and upon the next signal, the position will again be increased by the size of the initial order (there will be 3 orders).

In this mode of operation, special attention should be paid to TakeProfit and StopLoss values in TP/SL and SIGNAL+TP/SL modes of operation.

Which order is set by TP/SLDescription

FIRST

If the CONSTANT for TP or CONSTANT for SL memory mode is enabled, then when the first trade is opened, the TakeProfit and StopLoss values are remembered, and all other orders in 'Pyramiding' mode do not change these values until the entire trade is closed.

LAST

Each new trade entry changes the TakeProfit and StopLoss values.

  1. If desired, you can change the strategy parameters (Properties tab), which are used by the TradingView platform for testing on history.

Every strategy has parameters that affect the calculation and outcome. You can change these parameters in the settings, which will most likely lead to some changes in the test results, as well as the sending of signals during algorithmic trading. In most cases, you won't change them.

You should familiarize yourself with the strategy parameters on the TradingView platform itself: https://www.tradingview.com/support/solutions/43000628599-strategy-properties/

Allerts

Last updated