highwaterr

scaled.orders [highwater]

highwaterr Cập nhật   
FOR EDUCATIONAL PURPOSES

There are multiple tools that allow you to place "scaled orders" on your exchange, namely Alertatron and Bybit Tools. This script is based on some Alertatron features, but you can use it for any grid like order placing strategy. Even if thats not your thing it's an example of how to use arrays in pinescript.

FROM PRICE - is the price to start your orders.

TO PRICE - is the price your orders will end.


SCALED TYPES:

LINEAR - will distribute orders evenly between from and to price.

EASE IN - will cluster orders closer to from price, then start to widen the gaps as you move closer to to price.

EASE OUT - will have wider gaps near from price, and start to cluster near to price.

EASE IN OUT - will cluster orders near both from price and to price.


COUNT - number of orders in each scaled order.
Phát hành các Ghi chú:
fixed a error in the loop, now the orders will fill all the way to the "to price".
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 đồ?