OPEN-SOURCE SCRIPT

Pookies SL/TP Lines

This indicator calculates Stop-loss and Take-profit limits and plots them on the chart based on the daily ATR value for a given instrument.

The Stop-loss is calculated at the current close price minus 1x ATR and is plotted as a red line by default.
The Take-profit is calculated at the current close price plus 1.5x ATR and is plotted as a green line by default.

The colors for each line can be changed, as well as the default ATR values (length, smoothing).

To use:
When you see a long or short signal (your own preference), enter your position and set your take-profit and stop-loss limits at the current red/green lines, based on whatever Risk-Reward you've set it to.

This is also helpful in determining whether or not a trade offers enough potential to risk prior to entering the trade.

When the lines are far apart, the ATR is high. When the lines are close together, the ATR is low. This can be used to determine volatility and allow traders to buy during consolidation and sell into strength.

Thank you.
riskrewardstoplosstakeprofitTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明