cyatophilum

Cyatophilum Levels [BACKTEST]

cyatophilum 已更新   
Cyatophilum Levels - Version 1.0 - Backtest

This indicator allows you to build your own strategy based on Fibonacci levels, and see the backtest results in the Strategy Tester.

The Fibonacci levels are printed automatically in real time and without repainting on the chart.

You configure your own strategy in the indicator parameters. You can choose to go long or to go short, or both, on which Fib levels to enter Long/Short, and on which Fib levels to exit (up to 2 entry levels and exit levels).

Detailed Guide:

This is a guide that can be useful if you do not understand the strategy or an indicator parameter. Instructions on how to get access are at the bottom.

To configure your strategy, you need to open the indicator settings. You can either right-click on the indicator and click "settings", or click the settings button near the indicator's name.

You should know that the Fibonnaci levels are calculated from the support and resistance levels, which are calculated using the last swing high and swing low. This behavior can be tweaked in the settings with the first 2 parameters:

· Noise reduction
Dropdown menu. Options are "NONE", "SMALL", "MEDIUM", "HUGE". Used to get a smoother level behavior. The higher it is, the less often the support and resistance levels will move. Can be useful to cut off fakeouts.

· Swings lookback
This is the number of historical bars used to calculate the last swing high and swing low.

In TradingView, we usually wait bar close to validate a signal (trade entry or exit), in order to avoid repainting. But since this indicator is purely based on price action, there is an option called Alert Type if you want to receive intra-bar alerts or not.

· Entry Alert Type
2 options : "Once Per Bar Close", "Once Per Bar". These correspond to the alerts options. You must use the same alert type in the indicator settings and in the alert options. When using "Once Per Bar", the candle high and low are used for the cross conditions, otherwise, candle close is used.

· Exit Alert Type
Same but for exit alerts.

The long trades setup can be configured independantly from the short trade setup, but the parameters are the same.

■ Go Long/Short
Check this box to enable/disable long/short trades.

· Long/Short Entry Condition
Dropdown menu from which you can pick the condition for your entry. Options available are "Cross Over","Cross Under" and "Just Cross".

· Long/Short Entry 1
Dropdown menu from which you can pick the level for your entry n°1. Options available are "Support","FIB 23", "FIB 38", "FIB 50","FIB 61","FIB 78" and "Resistance".

· Long/Short Entry 2
Additional FIB level entry.

· Long/Short Exit 1
Dropdown menu from which you can pick the level for your exit. Options available are "Support","FIB 23", "FIB 38", "FIB 50","FIB 61","FIB 78" and "Resistance".

· Long/Short Exit 2
Additional FIB level exit.

■ Trend Filter
Optionnal Tilson T3 TrendLine to make the strategy go long only when price is above T3 (green) and short only when price is below (red). The length in bars is configurable.

· Backtest period
The day of the start and end period of the backtest can be configured, as long as it is included in the available chart data which is around 20 000 candles. For example a 3 minutes chart data is around 41 days. (20000x3/60/24 = 41.3)

· Limit orders
By default the strategy tester uses market orders. With this option you can simulate limit orders with a limit price.

· Configuration Panel
It should appear on the left of the chart. This panel displays the whole indicator settings in a compact and easy-to-read way. You can replicate a strategy from just this info panel. Can be turned off if needed.

· Graphic options
A red/green background corresponding to the strategy position (short/long) can be turned off.
The Fib levels labels can be turned off all at once.

Backtesting Guide:
To open the backtest parameters, open the indicator settings and go to the "properties" tab.
The commission is set by to 0.1 % by default. You can change it to suit your exchange's fees.

Futures, Forex:
- The Order Size must be set to "contracts", or else you will get "no data".

Stocks, CFD, Cryptocurrency, Index:
- Both "% equity" and "contracts" can be used as Order Size.

Note: the net profit percentage is related to the initial capital set in the backtest properties.

Risk management
Place your secondary exit one or two levels above/below your entry to act as a stop loss.

Backtest Settings:
· Initial Capital: 10 000 $
· Order Size: 5 000 contracts
· Commission : 0.1€ per order (total commission paid: 20.00 €)

Oldest trade: 2019-10-01
Backtest Period: From 2019-10-01 to 2020-07-14

Default settings set for 15m.

Use the link below to obtain access to this indicator
版本注释:
Bugfixes in info panel (Short entry 2)
版本注释:
Behavior changed: it is no longer possible to have 2 positions open at once.
版本注释:
Bugfix when the same candle crosses the entry and exit.

New feature: Stop loss when trend changes color (optionnal, disabled by default)
版本注释:
Info panel & default settings
版本注释:
Update info panel
版本注释:
Stop Loss and Take Profit system added.
版本注释:
Added "None" option for Long and Short Entry 1
版本注释:
Configuration panel udpated: smaller and better placement.

Added new alert system!
To use it:
1. Write your alert messages in the indicator settings (alert section at the bottom)
2. Click "Create Alert" as usual, but choose "alert() function calls only"

That's all! You will receive alerts for every event.
版本注释:
Added alert messages for Exit n°1 and n°2
版本注释:
Improved Trailing Take Profit behavior. Sometimes it would exit too early.
Added Trend conditions.
Inputs update.
版本注释:
Once per bar entry behavior fix
版本注释:
Added a secondary Take Profit option & alert
- Configure your 2nd target in % (should be bigger than the 1rst)
- Configure the % quantity to exit on the 1rst Take Profit, between 0 and 100. The remaining % will be exit on the 2nd TP.

-> A useful feature to improve your strategies risk management!

Added new Backtest Results panel
You can disable it by going in the style tab -> tables, or by clicking the indicator setting "Backtest Results Table".
You can also change its size if you want to make it bigger or smaller.
版本注释:
Fix 2nd TP backtest
版本注释:
2nd TP behavior fix: a bug was preventing trades to happen when using 2nd TP.
版本注释:
Added the option to use Heikin Ashi candle data as source for the levels.
版本注释:
Fix bug with Reverse Order On StopLoss option
版本注释:
Converted to pine v5
Updated alert inputs
Updated default settings for BTC/USDT 2H
版本注释:
Update default settings
版本注释:
Huge update!
Levels calculation settings changed. There is still the lookback setting to calculate the swing highs and lows, but there is now a smoothing setting to avoid abrupt changes of levels when a new high/low is found.
Updated trend filter. There is now 2 optional trendlines, one that is MTF and one that can be external.
Updated Stop loss, Take Profit and Alert Settings,
Code optimization for faster loading times of the indicator,
Updated graphics.

🔥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/
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与cyatophilum联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

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

作者的说明

This indicator access can be purchased through a subscription on my website: blockchainfiesta.com...Levels-Indicator/29/

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。