giannia

Companion::Divergent

giannia Atualizado   
Companion::Divergent is a combined indicators strategy optimized for Bitcoin Markets and tested on Bitfinex.


Mainly, it is an Ichimoku based strategy.


Used indicators:

- Ichimoku (displayed on chart): trendline analysis;
- Double Hull MA (displayed on chart): trendline analysis;
- MACD (not displayed): confirmative/momentum detection;
- CCI (not displayed): confirmative/momentum detection;

- ATR: used toghether with Ichimoku to determine Stop Loss/Take Profit levels;

- VWMA: For implementing trailing stop orders based on volumes.


What the script does:

- determines trendlines combining mulitple indicators;
- automaticlally calculates Take profit and Stop Loss levels;
- permits automation generating Autoview signals;
- supports for margin trading. Spot trading will be added in the future.


It can be used on 1D or 1H timeframes but it can be adapted for other time frames tweaking the parameters. I used it a lot on Bitfinex on 1H timeframes. Please check parameters: if you will use the strategy on D or higher timeframes, the "Legacy Chikou analysis" option should be checked.


BACKTESTING

Backtest is not leveraged. Defaults are set as follow:

Capital: 10000
Percent of equity used for trades: 10%
Commission: 0.18% this is Bitfinex commission on orders


Change them accordingly on how you trade to get a more realistic backtest results.
Notas de Lançamento:
- Improved Chikou (Lagging Span) analysis;
- Added new date/time input fields for backtest period selection;
- Changed some parameter defaults;
Notas de Lançamento:
Changes:

- Added parameter to limit calculated stop loss value;
- Added parameter to hide the Autoview commands on chart. Please note that {{strategy.order.alert_message}} should be used within your alert to get the Autoview command value when "Enable Autoview Signals" is checked;
- Changed some parameter defaults;
- Cosmetic changes.
Notas de Lançamento:
Changes:

- Cosmetic fix: candles with a position opened on them are showed with more precision
Notas de Lançamento:
Changes:

- Added parameter to set percentage of Equity to trade
Notas de Lançamento:
Changes:

- Autoview support for BTC 10x leverage on Bitfinex
- Cosmetic changes
Notas de Lançamento:
Changes:

- Added Heartbeat and Status Info option;
- Now Autoview commands and messages are managed using new reliable and transparent Pine Script alert() function.

FYI: please note that every time you update a strategy or change strategy parameters you will need to create a new Alert and delete the old one, otherwise the old Alert will continue to work with the old setup.
Notas de Lançamento:
Changes:

- strategy improvements;
- cosmetic changes.
Script protegido
Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?