OPEN-SOURCE SCRIPT
已更新

ATR Stop Price

Set stop price and add-position price according to the cost and current ATR.


You may set an alert with the condition when the stock price crossing down the Stop Price.

Example:

stock price: $150
volatility multiple: 2
current ATR: $3

stop price = $150 - $3 * 2 = $144
add-position price = $150 + $3 * 2 / 2 = $153

版本注释
make stop_price non-negative
版本注释
---
版本注释
---
版本注释
use source as the baseline

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。