Fedra_Algotrading

[Fedra Algotrading Strategy Trailing Stop]

Fedra_Algotrading Mis à jour   
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
Notes de version:
Added MA type input for MA Filter
////////////////
Se agregó la selección de tipo de MA al filtro de MA
Notes de version:
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.
Notes de version:
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
Notes de version:
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.
Notes de version:
Some changes in the settings panel
Notes de version:
Bugfixes
Notes de version:
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.
Notes de version:
Version: 2.5.1
Cosmetic fix
Notes de version:
Version 2.6
Bug fix
Notes de version:
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.
Notes de version:
You should update your alerts to this latest version
////////
Deberías actualizar tus alertas con esta última versión
Notes de version:
Versión = 2.8
UI improvements and bug fixes
//////
Mejoras de UI y corrección de errores
Notes de version:
Fine tunning
Notes de version:
Version 3.1
Updated the close trade commando to avoid multiple signals
Notes de version:
Version= 3.2
Improved trend filter and cosmetic changes
Notes de version:
Version 3.9
Adjusted default values and cleaned the code
Notes de version:
Versión 4.0
Improved purchase condition. Just a small adjustment.
Notes de version:
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".
Notes de version:
Version 4.2
Added PnL labels to closed trades and floating PnL
Notes de version:
Version 4.3
Bugfix
Notes de version:
Version 4.4
Cosmetic changes
Unrealized PnL label (gray)
Notes de version:
Version 4.5
Cosmetic changes
Historical PnL labels are off by default to clean the presentation

Script sur invitation seulement

L'accès à ce script est limité aux utilisateurs autorisés par l'auteur et nécessite généralement un paiement. Vous pouvez l'ajouter à vos favoris, mais vous ne pourrez l'utiliser qu'après avoir demandé et obtenu l'autorisation de son auteur. Contactez Fedra_Algotrading pour plus d'informations, ou suivez les instructions de l'auteur ci-dessous.

TradingView ne suggère pas de payer pour un script et de l'utiliser avant d'avoir 100% confiance en son auteur et de comprendre son fonctionnement. Dans de nombreux cas, vous pouvez trouver gratuitement une bonne alternative open-source dans nos Scripts communautaires.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Instructions de l'auteur

Instructions de l'auteur

Vous voulez utiliser ce script sur un graphique ?

Avertissement : Veuillez lire avant de demander l'accès.