cyatophilum

Cyatophilum Levels [BACKTEST]

cyatophilum Aktualisiert   
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
Versionshinweise:
Bugfixes in info panel (Short entry 2)
Versionshinweise:
Behavior changed: it is no longer possible to have 2 positions open at once.
Versionshinweise:
Bugfix when the same candle crosses the entry and exit.

New feature: Stop loss when trend changes color (optionnal, disabled by default)
Versionshinweise:
Info panel & default settings
Versionshinweise:
Update info panel
Versionshinweise:
Stop Loss and Take Profit system added.
Versionshinweise:
Added "None" option for Long and Short Entry 1
Versionshinweise:
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.
Versionshinweise:
Added alert messages for Exit n°1 and n°2
Versionshinweise:
Improved Trailing Take Profit behavior. Sometimes it would exit too early.
Added Trend conditions.
Inputs update.
Versionshinweise:
Once per bar entry behavior fix
Versionshinweise:
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.
Versionshinweise:
Fix 2nd TP backtest
Versionshinweise:
2nd TP behavior fix: a bug was preventing trades to happen when using 2nd TP.
Versionshinweise:
Added the option to use Heikin Ashi candle data as source for the levels.
Versionshinweise:
Fix bug with Reverse Order On StopLoss option
Versionshinweise:
Converted to pine v5
Updated alert inputs
Updated default settings for BTC/USDT 2H
Versionshinweise:
Update default settings
Versionshinweise:
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/
Skript nur auf Einladung

Der Zugriff auf dieses Skript ist auf vom Autor autorisierte User beschränkt und normalerweise kostenpflichtig. Sie können es zu Ihren Favoriten hinzufügen, aber Sie können es nur verwenden, nachdem Sie die Erlaubnis angefordert und vom Autor erhalten haben. Kontaktieren Sie cyatophilum für weitere Informationen oder folgen Sie den Anweisungen des Autors unten.

TradingView rät davon ab, für ein Skript zu bezahlen und es zu verwenden, bis Sie dem Autor zu 100% vertrauen und verstehen wie das Skript funktioniert. In vielen Fällen können Sie eine gute Open-Source-Alternative kostenlos in unserer öffentlichen Bibliothek finden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Hinweise des Autors

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

Möchten Sie dieses Skript auf einem Chart verwenden?

Warnung: Bitte lesen Sie dies, bevor Sie Zugriff anfordern.