OPEN-SOURCE SCRIPT

2x take profit, move stop loss to entry

Two take profit targets moving stop loss to entry after first take profit hit

This strategy shows a method to achieve the following trade management:

1) Open a position with two take profit targets
2) When first take profit is hit, move the stop loss to entry price
3) Position is closed when either second take profit is hit or position is stopped out at entry

Trading Conditions

The trading conditions used in this script are for illustrative purposes only and are not meant to be profitable.

Bollinger Bands
Used to show areas where price is moving outside of the normal range

Stochastic
Used to show overbought and oversold conditions.
Green dots are plotted when the K line crosses over its SMA. Red dots are plotted when the K line crosses under its SMA.

The option to use overbought/oversold thresholds is again illustrative.
educational

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité