JoseMetal

Simple Bollinger Bands Strategy [JoseMetal]

JoseMetal Güncellendi   
============
ENGLISH
============
- Description:
This is a simple strategy based on Bollinger Bands found in "journeymaninvestor.com" by "nealosis" in 15 feb 2021, original strategy and credits to him.

The original strategy:
- Bollinger Bands, 20 length simple moving average and 2 standard deviations.
- Buy when the closing price crosses the lower band up.
- Exit trade when the closing price touches the upper band.
This strategy worked on mayor indices such as SP500 before the current economic crisis, because those indices just retrace to continue up and up. That's why after testing it on the current data and other markets the strategy is NO longer viable and I made some optimizations to it.

The modified strategy:
- Now you can LONG and SHORT, not only LONG, but depending on the asset (mainly bullish like BTC or Indices) is better to just BUY.
- You can customize BB length and deviation, a deviation of 1.5 triggers more trades and is usually better.
- Averaging added, by default you can have up to 7 positions at 1% capital each, but all is customizable.

Other extra stuff:
- Able to pick a date range.
- Able to pick % of capital used on each trade.
- Able to close trades ON PROFIT ONLY.
- Able to increase position ONLY if the price is a certain percentage better than your average.
- Able to pick a leverage.

- Visual:
Bollinger Bands are shown.
On LONG entries you get a green background color, red for SHORTs, olive to close LONG and orange to close SHORT.
Position entries/exists with contract size are shown by TradingView by default as usual.

- Customization:
Everything is customizable, from date range to BB colors.

- Usage and recommendations:
Works better on bigger timeframes, daily is the best.

Enjoy!



============
INGLÉS
============
- Descripción:
Esta es una simple estrategia basada en las Bandas de Bollinger encontrada en "journeymaninvestor.com" por "nealosis" en el 15 de febrero de 2021, estrategia original y créditos a él.

La estrategia original:
- Bandas de Bollinger, media móvil simple de 20 y 2 desviaciones estándar.
- Comprar cuando el precio de cierre cruza la banda inferior hacia arriba.
- Salir de la posición cuando el precio de cierre toca la banda superior.
Esta estrategia funcionaba en índices mayores como el SP500 antes de la crisis económica actual, porque esos índices sólo retroceden para seguir subiendo y subiendo. Por eso después de probarla con los datos actuales y otros mercados la estrategia ya NO es viable y le hice algunas optimizaciones.

La estrategia modificada:
- Ahora puedes operar LONG y SHORT, no solo LONG, pero dependiendo del activo (principalmente alcistas como BTC o Índices) es mejor solo COMPRAR.
- Se puede personalizar la longitud de BB y la desviación, una desviación de 1,5 desencadena más operaciones y suele ser mejor.
- Promedio añadido, por defecto puedes tener hasta 7 posiciones al 1% de capital cada una, pero todo es personalizable.

Otras cosas extra:
- Posibilidad de elegir un rango de fechas.
- Posibilidad de elegir el % de capital utilizado en cada operación.
- Posibilidad de cerrar operaciones SÓLO CON BENEFICIO.
- Posibilidad de aumentar la posición sólo si el precio es un cierto porcentaje mejor que su promedio.
- Posibilidad de elegir un apalancamiento.

- Visual:
Se muestran las Bandas de Bollinger.
En las entradas de LARGO se obtiene un color de fondo verde, rojo para CORTO, oliva para cerrar LARGO y naranja para cerrar CORTO.
Las entradas/existencias de posiciones con tamaño de contrato son mostradas por TradingView por defecto como es habitual.

- Personalización:
Todo es personalizable, desde el rango de fechas hasta los colores de BB.

- Uso y recomendaciones:
Funciona mejor en marcos de tiempo más grandes, diario es el mejor.

¡Que lo disfrutes!
Sürüm Notları:
English:
- Added variation for the strategy (optional).

Español:
- Agregada variación para la estrategia (opcional).

Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmıştır ve özgürce kullanabilirsiniz. Bir grafikte kullanmak için favorilerinize ekleyebilirsiniz. Kaynak kodunu görüntüleyemez veya değiştiremezsiniz.
Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?