A3Sh

ROC_PA_Strategy (A3Sh)

A3Sh Cập nhật   
Hi there,

An experiment with rate of price change in combination with price averaging. The strategy is inspired by Price Change Scalping Strategy developed by Prosum Solutions and Scalping Dips On Trend Strategy developed by Coinrule. Both strategies look at the percentage of price change to open orders.

When the price drops beyond a specified percentage, a order entry threshold (yellow line) is setup. The order entry threshold is only active for a specified number of bars and will de-activate when not crossed within the specified number of bars. When the price drops further and crosses the entry threshold with a minimum of a specified percentage, a long position is entered. The same reverse logic (white line) used to close the long position.

I first ran the strategy without stop loss and take profit and that worked very well in a bullish market. I later added stop loss and take profit and that seems to work better in a side ways or bearisch market. There are a lot of tweaking possibilities in the settings.

In the settings you can specify the percentage of portfolio to use for each trade to spread the risk and for each order a trading fee of 0.075% is calculated.





Phát hành các Ghi chú:
Cleaned up the script and replaced the comment parts of the strategy entry and exit with generic comments instead of my Autoview comments. If you want to create an alert with a strategy enter this line in the Message section '{{strategy.order.comment}}'.
Phát hành các Ghi chú:
I discovered a flaw. The long position closed even after the closing limit line was inactive. I changed this flaw into a feature that you can switch on or off.
Updated the script to version 5
Changed the default settings and optimized it for BNB/PERP 30min. on FTX
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 đồ?