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 לקבלת מידע נוסף, או עקוב אחר הוראות המחבר בהמשך.

TradingView אינה מציעה לשלם עבור סקריפט ולהשתמש בו עד ש- 100 % אתה סומך על המחבר שלו ומבין איך עובד הסקריפט. במקרים רבים ניתן למצוא למצוא חלופה טובה עם קוד פתוח בחינם ב בסקריפטי הקהילה שלנו.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

הוראות המחבר

מחבר הסקריפט הזה כבר לא יכול להעניק גישה אליו. אנא אל תבקש גישה.

רוצה להשתמש בסקריפ זה בגרף?

אזהרה: אנא קרא את לפני שתבקש גישה.