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. اقرأ المزيد في شروط الاستخدام.

تعليمات المؤلف

لم يعد بإمكان مؤلف هذا النص البرمجي منح حق الوصول إليه. من فضلك لا تطلب الوصول.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟

تحذير: يرجى القراءة قبل طلب الوصول.