INVITE-ONLY SCRIPT

Cyatophilum Accumulation Strategy

Cập nhật
An indicator to backtest and automate accumulation/pyramiding custom strategies.
The goal of the strategy is to buy several times when the price is low and sell all when the position is in profit.
Configure your strategy using the entry options and entry filters, then set your Take Profit and StopLoss.

═════════════════════════════════════════════════════════════════════════

█ HOW IT WORKS

The strategy has pyramiding enabled, which means it can open several deals in a row.
It will keep buying until the Take Profit target is reached.

The indicator plots the Take Profit and Break Even line which are recalculated at each new deal.
The target corresponds to the average entry price plus a configurable percentage.

ảnh chụp nhanh

We can see the average entry price line drop lower at each Long Entry.

█ HOW TO USE

Choose a pair that you want to hold/invest in.

Pick a chart time frame that you like, according to how often you want the strategy to place orders. A benefit of this strategy is that it can work on low time frames as well as high time frames. Just keep in mind that the smaller the time frame, the bigger the impact of fees and slippage will be on the strategy results.

Configure your entry condition. You can combine several technical indicators to trigger an entry, such as Top & Bottom, Higher Lows and RSI divergences.

Example with double bottoms:
ảnh chụp nhanh

Filter your entry signal. Add filters to strengthen your entry signal.

Configure your profit target
Use the Take Profit feature to set a target in percentage of price. You can also make it trail.
There is a Trailing Stop Loss feature but the goal of the strategy is to never sell in loss, so it is turned off by default.

Check your backtest parameters
Make sure that the initial capital and order size make sense. Since it is a pyramiding strategy, the sum of all deals should not be bigger than the initial capital.
In this example: Initial capital is 10 k, max active deals is 10, so the max order size is 1 k.
If you use % equity as order size, please note that it will create compounding.
Check the fees, by default they are set to 0.1%.
I also recommend to set a slippage that corresponds to your exchange's spread.
Note: the pyramiding parameter has to be equal to the "Max Active deals" input.

█ FEATURES


 • Entry settings
Configure wether to go long or short, or both.
Choose the Max Active deals: the maximum number of deals that you want to open at once.
The Minimum bar delay between deals parameter will help putting space between deals.


 • Trend Filter
The trend filter will fitler off long deals when the trend is bearish, and short deals when it is bullish.
Choose a trend line from a list, or any external trend line you can find.
The Trend condition allows to choose wether the trend should switch from slope change or price cross.

 • MTF Trend Filter
A secondary trend line, Multi Time Frame.

 • Volume Filter
The volume filter will check the bar volume and prevent the entry if it is too low.

 • Stop Loss and Take Profit
Configure your stop loss and take profit for long and short trades.
You can also make a trailing stoploss and a trailing take profit.

 • Backtest Settings
Choose a backtest period, longs or shorts, wether to use limit orders or not.
An option to close open orders at the current bar if you have multiple open orders and are wondering what it would result to close them now.


Graphics
A Configuration panel with all the indicator settings, useful for sharing/saving a strategy.
A Backtest Results panel with additional information from the strategy tester.


█ ALERTS

The indicator is using the alert() calls: it only uses 1 alert slot to send order messages for each event. This means free TV plans can create 1 complete strategy.

To set your alert messages, open the indicator settings and scroll to the bottom of the "inputs" tab.

Create your alert after you set the messages in the indicator settings, and make sure "Any alert() function call" is set in the alert option.

█ LIMITATIONS

Things to keep in mind when using this strategy.

 • No Stop loss
When trading without stop loss, your equity can drop without limit, and it can take a while until price recovers.
This is why when backtesting I recommend to keep an eye on the "Max # Days in trades" statistic which tells the maximum days a trade took to close in profit.

 • Spot markets only
Obviously, trading without stop loss means no leverage.

█ BACKTEST RESULTS

The backtest settings used in this snapshot are the following:
  • Initial Capital: 10 000€
  • Order size: 1 000 €
  • Commission: 0.1€ per order
  • Slippage : 10 ticks


Please read the author instructions below for access and automation.
Phát hành các Ghi chú
Changed default settings
Phát hành các Ghi chú
Added MTF ADX and MTF RSI fitler
Phát hành các Ghi chú
Trendlines: Adding a trendline filter was mainly working against the strategy, filtering too many deals. The trend line filters now only filters for the first deal. This allows to start a trade in a better spot, and still take advantage of the price action afterwards.
Phát hành các Ghi chú
Added stoch entries
Phát hành các Ghi chú
Fix max active deal was counting one short
Phát hành các Ghi chú
Changed default order size to 'cash' instead of 'contracts' and reordered inputs for better readability.
Phát hành các Ghi chú
Added a MTF RSI and STOCH entry feature.
RSI to pick up bottoms in range market and STOCH in trending market.
STOCH is safer used with a trendline.
Phát hành các Ghi chú
Update Backtest panel. Now shows a red / orange color if the average number of bars in a deal, or the max days in a deal is too high.
Also updated backtest results. I made a typo above, the commission is 0.1 % per order, not 0.1 €.
Phát hành các Ghi chú
Added an option to make the backtest start date also impact trades (and not only the backtest results).
Phát hành các Ghi chú
Hid ADX and volume filter to simplify inputs since they were not proven useful with this strategy.
Phát hành các Ghi chú
Update config panel & default settings
Phát hành các Ghi chú
- Added Bollinger Bands entry condition
- Added volume scaling option

ảnh chụp nhanh
Phát hành các Ghi chú
Fix minimum price difference option with shorts
Added {order_size} placeholder for long/short entry alerts.
Phát hành các Ghi chú
Fix for the {order_size} placeholder
Phát hành các Ghi chú
fix for shorts {order_size}
Phát hành các Ghi chú
Updated alert inputs
Phát hành các Ghi chú
Added alert placeholders:
{price} will return the close price
{ticker} symbol name without exchange prefix
{tickerid} symbol name with exchange prefix
Phát hành các Ghi chú
Added placeholder {basecurrency}
Phát hành các Ghi chú
Code optimisation (less security function calls)
Removed the configuration panel because we now have a properties tab in the strategy tester
Updated backtest panel
Phát hành các Ghi chú
backtest panel colors
Phát hành các Ghi chú
Added custom entries that allow to work with external indicator plots.
(Note: all the entries are combined with an OR gate, meaning they will create more entry points, unlike filters who recude entry points)
Added more filters for volume, overbought/oversold during trend/range market, and sideways filter.
Phát hành các Ghi chú
Added {timenow} placeholder for OKX bots compability
Phát hành các Ghi chú
Added an option for stop loss to follow the total position size
Phát hành các Ghi chú
Added an option to prevent the indicator from placing orders above the average entry price
Phát hành các Ghi chú
Added multiple TP options!
Phát hành các Ghi chú
bugfixes with break even
Phát hành các Ghi chú
Added alerts for the last take profit event when using multiple TPs
Phát hành các Ghi chú
bug fixes
Phát hành các Ghi chú
Fix: All take profit alerts will trigger when multiple targets are hit within the same bar.
Added an option to move the Stop loss to break even after a take profit is hit. (it will override other trailing stop options)
Phát hành các Ghi chú
Bug fixes with TP/DCA events not triggering
Phát hành các Ghi chú
Bugfix: entry and SL/TP triggering on same bar
Phát hành các Ghi chú
bugfixes: ordersize volume scaling
Phát hành các Ghi chú
Previous update was missing some code..
Phát hành các Ghi chú
Added {position_size_quote} placeholder to get the current position size as quote currency in the alert messages.
Phát hành các Ghi chú
Added {order_size_quote} placeholders to alerts to get the order size in quote currency used by the strategy.
Phát hành các Ghi chú
Added alert message inputs
There is now 1 alert message for the "1st entry", and another alert message for "add to position" entries.
Phát hành các Ghi chú
Added TP/SL mode 'Auto'
accumulationMoving AveragesnostoplosspyramidingVolatilityVolume

Tập lệnh chỉ hiển thị cho người được mời

Quyền truy cập vào tập lệnh này bị hạn chế đối với người dùng được tác giả ủy quyền và thường yêu cầu thanh toán. Bạn có thể thêm nó vào mục yêu thích của mình, nhưng bạn sẽ chỉ có thể sử dụng nó sau khi yêu cầu sự cho phép từ tác giả. Liên hệ cyatophilum để thêm thông tin, hoặc làm theo hướng dẫn của tác giả bên dưới.

TradingView gợi ý bạn không trả tiền để sử dụng tập lệnh trừ khi bạn tin tưởng 100% vào tác giả của tập lệnh và hiểu cách hoạt động của tập lệnh. Trong nhiều trường hợp, bạn có thể tìm thấy giải pháp thay thế nguồn mở tốt miễn phí trong Tập lệnh cộng đồng của chúng tôi.

Hướng dẫn của tác giả

This indicator access can be purchased through a subscription on my website. Try for free at: https://blockchainfiesta.com/strategy/Cyatophilum-Accumulation-Strategy/43/

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

Cảnh báo: vui lòng đọc trước khi yêu cầu quyền truy cập.

🔥Get the Cyatophilum Indicators today and automate them on Binance! => blockchainfiesta.com/strategies/

Discord Server: discord.gg/RVwBkpnQzm

I am taking PineScript Commissions ✔
=> blockchainfiesta.com/contact/
Ngoài ra, trên:

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