dratzlogic

ATR Stop Loss v4

dratzlogic Cập nhật   
This indicator plots the current ATR value, and the Long and Short stop losses. Watch the indicator and move your stop loss to the Long or Short as necessary.

Unlike other ATR indicators this one allows the user to customize the table placement of the ATR calculations, and the colors of each row on the table, and the text. The ATR factors can also be edited.
Phát hành các Ghi chú:
So a couple of big changes for this Indicator.

1) Originally when I built this indicator, it displayed a long string of decimals out to 10 places that filled the entire screen, so I used the math.round() function to round the decimals out to two decimal places. While this worked for the time, if that ATR is small (less than .15 cents or so), it can produce significant round errors. Because precision is more important for an ATR, I recoded the script to only display the first two decimal places, this introduces a more precise number.

2) I changed the default multiplier to 1.5 to be in line with commonly used ATR calculations. They typical multiplier is usually somewhere between 1.5 to 2. But you can set the value to anything you choose.
Phát hành các Ghi chú:
Updated the chart preview. Does not effect the chart.
Phát hành các Ghi chú:
Just a visual update to the chart preview screen. My old screens were muddied with lots of indicators, and I wanted people to clearly see what indicator they were adding.
Phát hành các Ghi chú:
This is a significant upgrade of the trailing stop loss indicator with some enhancements that can be disabled.

First, there is a new row that shows the Trailing Stop Loss if you want to use the indicator as a Trailing Stop instead of specific long and short values.

Second, the rounding function has been updated for decimals again for rounding accuracy.

Third, the indicator also charts the long and short lines on the chart. These can be disabled.

Cheers!

Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?