Fedra_Algotrading

[Fedra Algotrading Strategy Trailing Stop]

Fedra_Algotrading 已更新   
Algotrading strategy optimized for cryptocurrencies. Originally conceived to trade automatically through bots (that's how I use it), it also works to get signals and trade manually in any exchange.
It works in spot.

Buy the dip:
Attempts to buy on the dip, finding entries when the price makes abrupt dips that break deviation of the linear regression of the last periods.

Trend Detection:
Determines whether the market is in an uptrend or downtrend by crossing 2 SMAs + super trend in different temporalities. This affects the performance of the strategy. It works as a filter to avoid making entries in a downtrend. It also includes other advanced filters to find the best selling price on losses.

Break Even:
If the market enters a downtrend with an open trade, the Break Even sell is triggered, (configurable, default 1.5%). The intention is to close the trade as soon as possible, but without losses. The value of 1.5% is intended to cover commission costs and a possible spread.

Conditional SL Level: Determines a tolerance level in %, from which it is allowed to sell at a loss, while the price is above this level, the scrip will only sell at a profit.

% Trailing Stop Loss. The Stop Loss is placed a % below the price and accompanies it in the rises to make the most of an uptrend.
It allows you to easily configure the backtest period to optimize the parameters for consistent results.
The strategy calculates by default a commission of 0.1% on each trade to make the backtest more "pessimistic".
Includes advanced features for compatibility with different bots platforms in the market.
Risk management by % of equity or by maximum series of losses.

////////////////SPANISH///////////////////

Estrategia de Algotrading optimizada para criptomonedas. Originalmente concebida para operar de manera automática mediante bots (así la utilizo yo), funciona también para obtener señales y operar manualmente en cualquier exchange.
Funciona en spot.

Buy the dip:
Intenta comprar en el dip, encontrando entradas cuando el precio hace bajadas abruptas que rompen la desviación de la regresión lineal de los últimos periodos

Detección de Trend:
Determina si el mercado tiene una tendencia alcista o bajista mediante el cruce de 2 SMAs + super trend en distintas temporalidades. Esto afecta el funcionamiento de la estrategia. Funciona como filtro para evitar realizar entradas en una tendencia bajista. Incluye también otros filtros avanzados para encontrar el mejor precio de venta en pérdidas.

Break Even:
Si el mercado entra en tendencia bajista con una operación abierta, se activa la venta en Break Even, (configurable, por defecto 1.5%). La intención es cerrar la operación lo antes posible, pero sin pérdidas. El valor de 1.5% está pensado para cubrir los costos de comisiones y un posible spread.
Nivel de SL Condicional: Determina un nivel de tolerancia en %, a partir del cual se permite la venta en pérdidas, mientras el precio esté sobre este nivel, el scripto sólo venderá en ganancias

% Trailing Stop Loss. El Stop Loss se ubica un % debajo del precio y lo acompaña en las subidas para aprovechar al máximo un uptrend.
Permite configurar de manera muy fácil el periodo de backtest para optimizar los parámetros para resultados consistentes.
La estrategia calcula por defecto una comisión de 0.1% en cada operación para que el backtest sea más "pesimista".
Incluye funciones avanzadas para compatibilidad con diferentes plataforma de bots del mercado.
Administración de risego por % del capital o por máxima serie de pérdidas
版本注释:
Added MA type input for MA Filter
////////////////
Se agregó la selección de tipo de MA al filtro de MA
版本注释:
Fixed a bug in the last versions where the strategy did not always respect the MA filter. Please update and fix it if you are using version 4.x. Also re-generate the alerts if you were operating with it automatically. The improvements are very significant.
/////////////////////
Se solucionó un error en el que de las últimas versiones en que la estrategia no respetaba no siempre el filtro de MA. Por favor, actualiza y corrige si estabs usando la verrsión 4.x. Tamabién vuelve a generar las alertas si estabas operaado con automáticamente. Las mejoras son muy significativas.
版本注释:
An optional percentage TP was added.
Removed Exit in Break Even and time conditional SL in favor of the trailing SL
Cosmetic changes
/////////////////////////////////
Se agregó un TP porcentual opcional.
Se eliminó la salida en Break Even y el SL condicionado por tiempo en favor del trailing SL para tener un Drawdown máximo controlado.
Cambios cosméticos
版本注释:
Improved trend filter. Other cosmetic changes.
This strategy uses real-time price data. The backtest is less reliable with a very tight percentage, there may be crossovers that do not trigger the stop loss due to limitations of Tradingview historical data.
It is advisable to do a live test to get a better idea of performance.
The strategy calculates commissions at 0.01% for each trade, as usual in my scripts.
///////////Español
Mejorado el filtro de tendencia. Otros cambios cosméticos.
Esta estrategia utiliza datos de precio en tiempo real. El backtest es menos confiable con un porcentaje muy ajustado, puede haber cruces que no activen el stop loss por las limitaciones de los datos históricos de Tradingview.
Es aconsejable hacer un test en vivo para tener una mejor idea de la performance.
La estrategia calcula las comisiones en 0.01% para cada transacción, como es habitual en mis scripts.
版本注释:
Some changes in the settings panel
版本注释:
Bugfixes
版本注释:
Versión 2.5
Explanations were added to the interface and some default values were changed to statistically better ones.
/////////////////
Se agregaron explicaciones a la interfaz y se cambiaron algunos valores por defecto por otros estadísticamente mejores.
版本注释:
Version: 2.5.1
Cosmetic fix
版本注释:
Version 2.6
Bug fix
版本注释:
Version 2.7:
Fixed a bug that sometimes caused multiple purchase orders to be triggered simultaneously.
////////////
Se corrigió un bug que a veces hacía que se dispararan varias órdenes de compra en simultáneo.
版本注释:
You should update your alerts to this latest version
////////
Deberías actualizar tus alertas con esta última versión
版本注释:
Versión = 2.8
UI improvements and bug fixes
//////
Mejoras de UI y corrección de errores
版本注释:
Fine tunning
版本注释:
Version 3.1
Updated the close trade commando to avoid multiple signals
版本注释:
Version= 3.2
Improved trend filter and cosmetic changes
版本注释:
Version 3.9
Adjusted default values and cleaned the code
版本注释:
Versión 4.0
Improved purchase condition. Just a small adjustment.
版本注释:
Version 4.1
A small change in the script behavior. Now the trailing follows the price in real time, so it will follow the highs of each candle and not the closing value as it used to do. This allows to take better advantage of the price rises. To return to the previous behavior, you can set the price to "open".
版本注释:
Version 4.2
Added PnL labels to closed trades and floating PnL
版本注释:
Version 4.3
Bugfix
版本注释:
Version 4.4
Cosmetic changes
Unrealized PnL label (gray)
版本注释:
Version 4.5
Cosmetic changes
Historical PnL labels are off by default to clean the presentation

仅限邀请脚本

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

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

免责声明

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

作者的说明

此脚本的作者无法再授予对其的访问权限。请不要请求访问权限。

想在图表上使用此脚本?

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