Volume AdvancedI have found out this script some time ago. In fact it is not my code (just have modified a little) and I don't know the author (couldn't find). So now I would like to share with the community, maybe somebody would have some idea how to make it better. The script itself is modified volatility oscillator (like ATR) based on volume, making a deal at the moment of price change. To recognize the current trend I have add simple function just to compare the current price with the N bars before, because sometimes in moments of high volatility there may be wrong signals.
M-oscillator
Combo Backtest 123 Reversal & N Bars Down This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Evaluates for n number of consecutive lower closes. Returns a value
of 1 when the condition is true or 0 when false.
WARNING:
- For purpose educate only
- This script to change bars colors.
[BTCUSD] DinhChienFX [2 orders]* Historical statistics from 2018:
* Strategy will enter 2 orders, Order 2 will appear only when there is Order 1:
- Percent profitable of 1st order: 64.76%.
- Percent profitable of 2nd order: 49.86%.
- Average percent profitable: 57.31%.
- 14 consecutive wins.
- 4 consecutive losses.
Order 1: risk / reward ratio 1/1 used to determine if this rule is effective or not?
Order 2: Appears when there is order 1, Use take-profit and take-loss level of order 1 at Fibonacci 75%.
. * 1st Order conditions:
- Buy: When the ADX index cuts up to 45, check earlier if the closing price has cut up and is above the Upper 2 line, enter the Buy order.
- Sell: when the ADX indicator cuts up to 45, check before that if the closing price has cut down and is above Lower 2 then enter a Sell order.
* How to enter Order 2: When order 1 appears, there are always Stoploss and Takeprofit levels. Draw Fibonacci from take-profit and take-loss prices, Fibonacci retracement level = 75%
----------------
1. Trend identification:
- Channel Keltner:
... Uptrend: when the closing candlestick cuts up and is above the Keltner channel, the Upper Line 2
... Down trend: when the candle closes and falls above the Keltner Line Lower 2
2. Rules of entry:
- Channel Keltner:
... Buy: Candlestick closing price cuts up and above the Keltner Upper 2.
... Sell: The closing price of the candle cuts down and is lower than the Keltner Below 2.
ADX indicator:
... Buy: The ADX value crossed to 45 and the close of the candle was higher than Keltner Upper 2.
... Sell: ADX value cuts to 45 and the close of the candle is lower than Keltner Below 2.
3. Stoploss and Profit = atr (20) * 2.
HatiKO Envelopes v3Published source code is subject to the terms of the GNU Affero General Public License v3.0
Old flaws have been resolved.
This script describes and provides backtesting functionality to internal strategy of algorithmic crypto trading software "HatiKO bot".
Suitable for backtesting any Cryptocurrency Pair on any Exchange/Platform, any Timeframe.
Core Mechanics of this strategy are based on theory of price always returning to Moving Average + Envelopes indicator (Moving_average_envelope from Wiki)
Developement of this script and trading software is inspired by:
"Essential Technical Analysis: Tools and Techniques to Spot Market Trends" by Leigh Stevens (published on 12th of April 2002)
"Moving Average Envelopes" by ChartSchool, StockCharts platform (published on 13th of April 2015 or earlier)
"Коля Колеснік" from Crypto Times channel ("Метод сетка", published on 19th of August 2018)
"3 ways to use Moving Average Envelopes" by Rich Fitton, published on Trader's Nest (published on 28st of November 2018 or earlier)
noro's "Robot WhiteBox ShiftMA" strategy v1 script, published on TradingView platform (published on 29th of August 2018)
"Moving Average Envelopes: A Popular Trading Tool" Investopedia article (published 25th of June 2019)
and KROOL1980's blogpost on Argolabs ("Гридерство или Сетка как источник прибыли на форекс", published on 27th of February 2015)
Core Features:
1) Up to 9 Envelopes in each direction (Long/Short)
2) Use any of 6 different basis MAs, optionally use different MAs for Opening and Closure
3) Use different Timeframes for MA calculation, without any repainting and lookahead bias.
4) Fixed order size, not Martingale strategy
5) Close open position earlier by using Deviation parameter
6) PineScript v4 code
7) Anti-Spire (protection against situations like LTCUSD (Bitmex) 12/26/2020)
9) Lottery for each level
10) Total profit for the day. When activated, a histogram is drawn.
Options description:
Lot - % from your initial balance to use for order size calculation
Timeframe Short - Timeframe to use for Short Opening MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Short - Type of MA to use for Short Opening MA calculation, can be chosen from dropdown list, default is SMA
Data Short - Source of Price for Short Opening MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Short - Period used for Short Opening MA calculation, should be >=1, default is 3
MA offset Short - Offset for MA value used for Short Envelopes calculation, should be >= 0, default is 0
Timeframe Long - Timeframe to use for Long Opening MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Long - Type of MA to use for Long Opening MA calculation, can be chosen from dropdown list, default is SMA
Data Long - Source of Price for Long Opening MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Long - Period used for Long Opening MA calculation, should be >=1, default is 3
MA offset Long - Offset for MA value used for Long Envelopes calculation, should be >= 0, default is 0
Mode close MA Short - Enable different MA for Short position Closure, default is "false". If false, Closure MA = Opening MA
Timeframe Short Close - Timeframe to use for Short Position Closure MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Close Short - Type of MA to use for Short Position Closure MA calculation, can be chosen from dropdown list, default is SMA
Data Short Close - Source of Price for Short Closure MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Short Close - Period used for Short Opening MA calculation, should be >=1, default is 3
Short Deviation - % to move from MA value, used to close position above or beyond MA, can be negative, default is 0
MA offset Short Close - Offset for MA value used for Short Position Closure calculation, should be >= 0, default is 0
Mode close MA Long - Enable different MA for Long position Closure, default is "false". If false, Closure MA = Opening MA
Timeframe Long Close - Timeframe to use for Long Position Closure MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Close Long - Type of MA to use for Long Position Closure MA calculation, can be chosen from dropdown list, default is SMA
Data Long Close - Source of Price for Long Closure MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Long Close - Period used for Long Opening MA calculation, should be >=1, default is 3
Long Deviation - % to move from MA value, used to close position above or beyond MA, can be negative, default is 0
MA offset Long Close - Offset for MA value used for Long Position Closure calculation, should be >= 0, default is 0
Short 1..9 - % from MA value to put Envelopes at, for Shorts numbers should be positive, the higher is number, the higher should be Short n position, example: "Short 1 = 1, Short 2 = 2, etc."
Long 1..9 - % from MA value to put Envelopes at, for Longs numbers should be negative, the lower is number, the lower should be Long n position, example: "Long 1 = -1, Long 2 = -2, etc."
Graph notes:
Green lines - Long Envelopes .
Red lines - Short Envelopes .
Orange line - MA for closing of Short positions.
Lime line - MA for closing of Long positions.
Histogram - Profit for the last day. Black = 0, Green> 0, Red <0.
Old flaws have been resolved.
At the moment, there is one bug - if the closing and opening occurs on the same candle, then there is no close on the same candle. The situation is possible with small values of Envelope.
**************************************************************************************************************************************************************************************************************
Опубликованный исходный код регулируется Условиями Стандартной Общественной Лицензии GNU Affero v3.0
Старые недоработки были решены.
Этот скрипт описывает и предоставляет функции бектеста для внутренней стратегии алгоритмического программного обеспечения "HatiKO bot".
Подходит для тестирования любой криптовалютной пары на любой бирже/платформе, на любом таймфрейме.
Кор-механика этой стратегии основана на теории всегда возвращающейся к значению МА цены с использованием индикатора Envelopes (Moving_average_envelope from Wiki)
Разработка этого скрипта и программного обеспечения для торговли вдохновлена следующими источниками:
Книга "Essential Technical Analysis: Tools and Techniques to Spot Market Trends" Ли Стивенса (опубликовано 12 апреля 2002 года)
«Moving Average Envelopes» от ChartSchool, платформа StockCharts (опубликовано 13 апреля 2015 года или раньше)
«Коля Колеснік» с канала Crypto Times («Метод сетка», опубликовано 19 августа 2018 года)
«Moving Average Envelopes: A Popular Trading Tool», статья Investopedia (опубликовано 25 июня 2019 года)
Блог KROOL1980 из Argolabs («Гридерство или Сетка как источник прибыли на форекс», опубликовано 27 февраля 2015 года)
Основные особенности:
1) До 9-х Ордеров в каждом из направлении (Лонг / Шорт)
2) Выбор из 6-ти разных базовых МА, опционально используйте разные МА для открытия и закрытия.
3) Используйте разные таймфреймы для расчета MA, без перерисовки и "эффекта стеклянного шара".
4) Фиксированный размер ордера, а не стратегия Мартингейла
5) Возможность закрытия открытой позиции заблаговременно, используя параметр Deviation
6) Код реализован на PineScript v4
7) Антишпиль ( защита от ситуаций типа LTCUSD ( Bitmex ) 26.12.2020 )
9) Лотность для каждого уровня
10) Суммарный профит за день. При активации рисуется гистограмма.
Описание параметров:
Lot - % от вашего первоначального баланса, используется при расчете размера Ордера
Timeframe Short - таймфрейм, используемый для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Short - тип MA, используемый для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию SMA
Data Short - источник цены для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Short - период, используемый для расчета МА Открытия Шорт позиций, должен быть >= 1, по умолчанию 3
MA Offset Short - смещение значения MA, используемого для расчета Шорт Ордеров, должно быть >= 0, по умолчанию 0
Timeframe Long - таймфрейм, используемый для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Long - тип MA, используемый для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию SMA
Data Long - источник цены для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Long - период, используемый для расчета МА Открытия Лонг позиций, должен быть >= 1, по умолчанию 3
MA Offset Long - смещение значения MA, используемого для расчета Лонг Ордеров, должно быть >= 0, по умолчанию 0
Mode close MA Short - Включает отдельное MA для закрытия Шорт позиции, по умолчанию «false». Если false, MA Закрытия = MA Открытия
Timeframe Short Close - таймфрейм, используемый для расчета МА Закрытия Шорт позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Close Short - тип MA, используемый при расчете МА Закрытия Шорт позиции. Mожно выбрать из списка, по умолчанию SMA
Data Short Close - источник цены для расчета МА Закрытия Шорт позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Short Close - период, используемый для расчета МА Закрытия Шорт позиции, должен быть >= 1, по умолчанию 3
Short Deviation - % отклонения от значения MA, используется для закрытия позиции выше или ниже рассчитанного значения MA, может быть отрицательным, по умолчанию 0
MA Offset Short Close - смещение значения MA, используемого для расчета закрытия Шорт позиции, должно быть >= 0, по умолчанию 0
Mode close MA Long - Включает разные MA для закрытия Лонг позиции, по умолчанию «false». Если false, MA Закрытия = MA Открытия
Timeframe Long Close - таймфрейм, используемый для расчета МА Закрытия Лонг позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Close Long - тип MA, используемый при расчете МА Закрытия Лонг позиции. Mожно выбрать из списка, по умолчанию SMA
Data Long Close - источник цены для расчета МА Закрытия Лонг позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Long Close - период, используемый для расчета МА Закрытия Лонг позиции, должен быть >= 1, по умолчанию 3
Long Deviation -% для перехода от значения MA, используется для закрытия позиции выше или ниже рассчитанного значения MA, может быть отрицательным, по умолчанию 0
MA Offset Long Close - смещение значения MA, используемого для расчета закрытия Лонг позиции, должно быть >= 0, по умолчанию 0
Short 1..9 - % от значения MA для размещения Ордеров, для Шорт Ордеров должен быть положительным, чем выше номер, тем выше должна располагаться позиция Short n, например: « Short 1 = 1, Short 2 = 2 и т.д. "
Long 1..9 - % от значения MA для размещения Ордеров, для Лонг Ордеров должно быть отрицательным, чем ниже число, тем ниже должна располагаться позиция Long n, например: « Long 1 = -1, Long 2 = -2, и т.д."
Пояснения к графику:
Зеленые линии - Лонг Ордера.
Красные линии - Шорт Ордера.
Оранжевая линия - MA Закрытия Шорт позиций.
Лаймовая линия - MA Закрытия Лонг позиций.
Гистограмма - Профит за последние сутки.Черная = 0, Зеленая > 0, красная < 0.
Старые недоработки были решены.
На данный момент есть один баг - если закрытие и открытие происходит на одной свече, то на этой же свече нет закрытия. Ситуация возможна при небольших значениях Envelope.
Published source code is subject to the terms of the GNU Affero General Public License v3.0
Old flaws have been resolved.
This script describes and provides backtesting functionality to internal strategy of algorithmic crypto trading software "HatiKO bot".
Suitable for backtesting any Cryptocurrency Pair on any Exchange/Platform, any Timeframe.
Core Mechanics of this strategy are based on theory of price always returning to Moving Average + Envelopes indicator (Moving_average_envelope from Wiki)
Developement of this script and trading software is inspired by:
"Essential Technical Analysis: Tools and Techniques to Spot Market Trends" by Leigh Stevens (published on 12th of April 2002)
"Moving Average Envelopes" by ChartSchool, StockCharts platform (published on 13th of April 2015 or earlier)
"Коля Колеснік" from Crypto Times channel ("Метод сетка", published on 19th of August 2018)
"3 ways to use Moving Average Envelopes" by Rich Fitton, published on Trader's Nest (published on 28st of November 2018 or earlier)
noro's "Robot WhiteBox ShiftMA" strategy v1 script, published on TradingView platform (published on 29th of August 2018)
"Moving Average Envelopes: A Popular Trading Tool" Investopedia article (published 25th of June 2019)
and KROOL1980's blogpost on Argolabs ("Гридерство или Сетка как источник прибыли на форекс", published on 27th of February 2015)
Core Features:
1) Up to 9 Envelopes in each direction (Long/Short)
2) Use any of 6 different basis MAs, optionally use different MAs for Opening and Closure
3) Use different Timeframes for MA calculation, without any repainting and lookahead bias.
4) Fixed order size, not Martingale strategy
5) Close open position earlier by using Deviation parameter
6) PineScript v4 code
7) Anti-Spire (protection against situations like LTCUSD (Bitmex) 12/26/2020)
9) Lottery for each level
10) Total profit for the day. When activated, a histogram is drawn.
Options description:
Lot - % from your initial balance to use for order size calculation
Timeframe Short - Timeframe to use for Short Opening MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Short - Type of MA to use for Short Opening MA calculation, can be chosen from dropdown list, default is SMA
Data Short - Source of Price for Short Opening MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Short - Period used for Short Opening MA calculation, should be >=1, default is 3
MA offset Short - Offset for MA value used for Short Envelopes calculation, should be >= 0, default is 0
Timeframe Long - Timeframe to use for Long Opening MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Long - Type of MA to use for Long Opening MA calculation, can be chosen from dropdown list, default is SMA
Data Long - Source of Price for Long Opening MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Long - Period used for Long Opening MA calculation, should be >=1, default is 3
MA offset Long - Offset for MA value used for Long Envelopes calculation, should be >= 0, default is 0
Mode close MA Short - Enable different MA for Short position Closure, default is "false". If false, Closure MA = Opening MA
Timeframe Short Close - Timeframe to use for Short Position Closure MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Close Short - Type of MA to use for Short Position Closure MA calculation, can be chosen from dropdown list, default is SMA
Data Short Close - Source of Price for Short Closure MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Short Close - Period used for Short Opening MA calculation, should be >=1, default is 3
Short Deviation - % to move from MA value, used to close position above or beyond MA, can be negative, default is 0
MA offset Short Close - Offset for MA value used for Short Position Closure calculation, should be >= 0, default is 0
Mode close MA Long - Enable different MA for Long position Closure, default is "false". If false, Closure MA = Opening MA
Timeframe Long Close - Timeframe to use for Long Position Closure MA calculation, can be chosen from dropdown list, default is Current Graph Timeframe
MA Type Close Long - Type of MA to use for Long Position Closure MA calculation, can be chosen from dropdown list, default is SMA
Data Long Close - Source of Price for Long Closure MA calculation, can be chosen from dropdown list, default is OHLC4
MA Length Long Close - Period used for Long Opening MA calculation, should be >=1, default is 3
Long Deviation - % to move from MA value, used to close position above or beyond MA, can be negative, default is 0
MA offset Long Close - Offset for MA value used for Long Position Closure calculation, should be >= 0, default is 0
Short 1..9 - % from MA value to put Envelopes at, for Shorts numbers should be positive, the higher is number, the higher should be Short n position, example: "Short 1 = 1, Short 2 = 2, etc."
Long 1..9 - % from MA value to put Envelopes at, for Longs numbers should be negative, the lower is number, the lower should be Long n position, example: "Long 1 = -1, Long 2 = -2, etc."
Graph notes:
Green lines - Long Envelopes .
Red lines - Short Envelopes .
Orange line - MA for closing of Short positions.
Lime line - MA for closing of Long positions.
Histogram - Profit for the last day. Black = 0, Green> 0, Red <0.
Old flaws have been resolved.
At the moment, there is one bug - if the closing and opening occurs on the same candle, then there is no close on the same candle. The situation is possible with small values of Envelope.
**************************************************************************************************************************************************************************************************************
Опубликованный исходный код регулируется Условиями Стандартной Общественной Лицензии GNU Affero v3.0
Старые недоработки были решены.
Этот скрипт описывает и предоставляет функции бектеста для внутренней стратегии алгоритмического программного обеспечения "HatiKO bot".
Подходит для тестирования любой криптовалютной пары на любой бирже/платформе, на любом таймфрейме.
Кор-механика этой стратегии основана на теории всегда возвращающейся к значению МА цены с использованием индикатора Envelopes (Moving_average_envelope from Wiki)
Разработка этого скрипта и программного обеспечения для торговли вдохновлена следующими источниками:
Книга "Essential Technical Analysis: Tools and Techniques to Spot Market Trends" Ли Стивенса (опубликовано 12 апреля 2002 года)
«Moving Average Envelopes» от ChartSchool, платформа StockCharts (опубликовано 13 апреля 2015 года или раньше)
«Коля Колеснік» с канала Crypto Times («Метод сетка», опубликовано 19 августа 2018 года)
«Moving Average Envelopes: A Popular Trading Tool», статья Investopedia (опубликовано 25 июня 2019 года)
Блог KROOL1980 из Argolabs («Гридерство или Сетка как источник прибыли на форекс», опубликовано 27 февраля 2015 года)
Основные особенности:
1) До 9-х Ордеров в каждом из направлении (Лонг / Шорт)
2) Выбор из 6-ти разных базовых МА, опционально используйте разные МА для открытия и закрытия.
3) Используйте разные таймфреймы для расчета MA, без перерисовки и "эффекта стеклянного шара".
4) Фиксированный размер ордера, а не стратегия Мартингейла
5) Возможность закрытия открытой позиции заблаговременно, используя параметр Deviation
6) Код реализован на PineScript v4
7) Антишпиль ( защита от ситуаций типа LTCUSD ( Bitmex ) 26.12.2020 )
9) Лотность для каждого уровня
10) Суммарный профит за день. При активации рисуется гистограмма.
Описание параметров:
Lot - % от вашего первоначального баланса, используется при расчете размера Ордера
Timeframe Short - таймфрейм, используемый для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Short - тип MA, используемый для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию SMA
Data Short - источник цены для расчета МА Открытия Шорт позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Short - период, используемый для расчета МА Открытия Шорт позиций, должен быть >= 1, по умолчанию 3
MA Offset Short - смещение значения MA, используемого для расчета Шорт Ордеров, должно быть >= 0, по умолчанию 0
Timeframe Long - таймфрейм, используемый для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Long - тип MA, используемый для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию SMA
Data Long - источник цены для расчета МА Открытия Лонг позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Long - период, используемый для расчета МА Открытия Лонг позиций, должен быть >= 1, по умолчанию 3
MA Offset Long - смещение значения MA, используемого для расчета Лонг Ордеров, должно быть >= 0, по умолчанию 0
Mode close MA Short - Включает отдельное MA для закрытия Шорт позиции, по умолчанию «false». Если false, MA Закрытия = MA Открытия
Timeframe Short Close - таймфрейм, используемый для расчета МА Закрытия Шорт позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Close Short - тип MA, используемый при расчете МА Закрытия Шорт позиции. Mожно выбрать из списка, по умолчанию SMA
Data Short Close - источник цены для расчета МА Закрытия Шорт позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Short Close - период, используемый для расчета МА Закрытия Шорт позиции, должен быть >= 1, по умолчанию 3
Short Deviation - % отклонения от значения MA, используется для закрытия позиции выше или ниже рассчитанного значения MA, может быть отрицательным, по умолчанию 0
MA Offset Short Close - смещение значения MA, используемого для расчета закрытия Шорт позиции, должно быть >= 0, по умолчанию 0
Mode close MA Long - Включает разные MA для закрытия Лонг позиции, по умолчанию «false». Если false, MA Закрытия = MA Открытия
Timeframe Long Close - таймфрейм, используемый для расчета МА Закрытия Лонг позиций, может быть выбран из списка, по умолчанию - таймфрейм текущего графика
MA Type Close Long - тип MA, используемый при расчете МА Закрытия Лонг позиции. Mожно выбрать из списка, по умолчанию SMA
Data Long Close - источник цены для расчета МА Закрытия Лонг позиций, может быть выбран из списка, по умолчанию OHLC4
MA Length Long Close - период, используемый для расчета МА Закрытия Лонг позиции, должен быть >= 1, по умолчанию 3
Long Deviation -% для перехода от значения MA, используется для закрытия позиции выше или ниже рассчитанного значения MA, может быть отрицательным, по умолчанию 0
MA Offset Long Close - смещение значения MA, используемого для расчета закрытия Лонг позиции, должно быть >= 0, по умолчанию 0
Short 1..9 - % от значения MA для размещения Ордеров, для Шорт Ордеров должен быть положительным, чем выше номер, тем выше должна располагаться позиция Short n, например: « Short 1 = 1, Short 2 = 2 и т.д. "
Long 1..9 - % от значения MA для размещения Ордеров, для Лонг Ордеров должно быть отрицательным, чем ниже число, тем ниже должна располагаться позиция Long n, например: « Long 1 = -1, Long 2 = -2, и т.д."
Пояснения к графику:
Зеленые линии - Лонг Ордера.
Красные линии - Шорт Ордера.
Оранжевая линия - MA Закрытия Шорт позиций.
Лаймовая линия - MA Закрытия Лонг позиций.
Гистограмма - Профит за последние сутки.Черная = 0, Зеленая > 0, красная < 0.
Старые недоработки были решены.
На данный момент есть один баг - если закрытие и открытие происходит на одной свече, то на этой же свече нет закрытия. Ситуация возможна при небольших значениях Envelope.
Crypto Bot Signal 01 Strategy - Optimized RSI MomentumWelcome to our first Tradingview strategy.
We develop signals which have been specially developed for crypto trading bots. We publish new indicators at regular intervals.
This strategy is based on our "Crypto Bot Signal 01 - Optimized RSI Momentum" indicator, so that you can apply and test this strategy to your charts/pairs.
The basic idea of this script is to compare a low sensitive RSI with a low sensitive smoothed RSI to find the sweet spot to buy. This strategy is relatively robust against false breakouts, even if these can of course never be avoided. These signals occur relatively rare, but you can set an alarm up on different pairs simultaneously. The strategy works best in 5 min chart and in crypto pairs. It wasnt tested in Forex etc. but feel free to test it.
The sell strategy is based on trailing sell and not indicator based cause we believe in the power of long term uptrending crypto, compounding and dont want to sell at a loss in a false breakout. You can set the trailing sell limit to your own preferences or leave it at default value. Our goal is to reduce the average coin holding time to a minimum.
Feel free to adjust the parameters to your preferences:
- A lower value of the RSI and EMA length makes this indicator more sensitive
- A lower threshold value results in better trades but it reduces the amout of possible trades per day
- A higher threshold value results in more trades but the risk of false breakouts gets higher
- Adjusting the trailing sell parameters influences the coin holding time and the results
If there are questions, write them into the comments or contact us directly over the direct message. Happy Trading!
Combo Backtest 123 Reversal & MovROC (KST indicator) This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This indicator really is the KST indicator presented by Martin Pring.
the KST indicator is a weighted summed rate of change oscillator that
is designed to identify meaningful turns. Various smoothed rate of change
indicators can be combined to form different measurements of cycles.
WARNING:
- For purpose educate only
- This script to change bars colors.
McClellan Oscillator StrategyBuy and sell programs when 5 day EMA goes above and below zero, respectively.
Useful for LEVERAGED ETF trading such as SPXL, TECL, FNGU, etc. Not so much for general portfolio holdings.
Combo Backtest 123 Reversal & Moving Average Envelopes This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Moving Average Envelopes are percentage-based envelopes set above and
below a moving average. The moving average, which forms the base for
this indicator, can be a simple or exponential moving average. Each
envelope is then set the same percentage above or below the moving average.
This creates parallel bands that follow price action. With a moving average
as the base, Moving Average Envelopes can be used as a trend following indicator.
However, this indicator is not limited to just trend following. The envelopes
can also be used to identify overbought and oversold levels when the trend is
relatively flat.
WARNING:
- For purpose educate only
- This script to change bars colors.
Momentum Strategy (BTC/USDT; 1h) - MACD (with source code)Good morning traders.
It's been a while from my last publication of a strategy and today I want to share with you this small piece of script that showed quite interesting result across bitcoin and other altcoins.
The macd indicator is an indicator built on the difference between a fast moving average and a slow moving average: this difference is generally plottted with a blue line while the orange line is simply a moving average computed on this difference.
Usually this indicator is used in technical analysis for getting signals of buy and sell respectively when the macd crosses above or under its moving average: it means that the distance of the fast moving average (the most responsive one) from the slower one is getting lower than what it-used-to-be in the period considered: this could anticipate a cross of the two moving averages and you want to anticipate this potential trend reversal by opening a long position
Of course the workflow is specularly the same for opening short positions (or closing long positions)
What this strategy does is simply considering the moving average computed on macd and applying a linear regression on it: in this way, even though the signal can be sligthly delayed, you reduce noise plotting a smooth curve.
Then, it simply checks the maximums and the minimums of this curve detecting whenever the changes of the values start to be negative or positive, so it opens a short position (closes long) on the maximum on this curve and it opens a long position (closes short) on the minimum.
Of course, I set an option for using this strategy in a conventional way working on the crosses between macd and its moving average. Alternatively you can use this workflow if you prefer.
In conclusion, you can use a tons of moving averages: I made a function in pine in order to allw you to use any moving average you want for the two moving averages on which the macd is based or for the moving average computed on the macd
PLEASE, BE AWARE THAT THIS TRADING STRATEGY DOES NOT GUARANTEE ANY KIND OF SUCCESS IN ADVANCE. YOU ARE THE ONE AND ONLY RESPONSIBLE OF YOUR OWN DECISIONS, I DON'T TAKE ANY RESPONSIBILITY ASSOCIATED WITH THEM. IF YOU RUN THIS STRATEGY YOU ACCEPT THE POSSIBILITY OF LOOSING MONEY, ALL OF MY PUBBLICATIONS ARE SUPPOSED TO BE JUST FOR EDUCATIONAL PURPOSES.
IT IS AT YOUR OWN RISK WHETHER TO USE IT OR NOT
But if you make money out of this, please consider to buy me a beer 😜
Happy Trading!
Heatmap - Multi-Timeframe Indicators - StrategyHeatmap - Multi-Timeframe Indicators - Strategy
▪ Main features :
- 19 Timeframes: 1m, 3m, 5m, 10m, 15m, 30m, 45m, 1h, 2h, 3h, 4h, 5h, 6h, 8h, 10h, 12h, 1D, 1W, 1M
- 6 indicators per timeframe
- choose specific timeframes for indicators (example - 1 hour)
- or choose specific timeframe ranges (example - 1 hour to 1 month)
The general idea is that the higher timeframe signals are stronger than the lower timeframe ones.
When a trend is starting, it is first visible on the lower timeframes.
The more time passes, the more the trend propagates through higher timeframes.
The default settings are meant to show all the available features. You may fine-tune it to your specific needs.
How to choose the timeframe for the chart : use the lowest of the choosen timeframes for indicators.
If the heatmap doesn't display correctly on your device, you may check the Heatmap Theme 🎨 setting.
It doesn't repaint.
"Repaint" version available though - good to check the past history, but very bad for real-time analysis.
▪ Indicators used for trend detection
1. MACD Cross
2. Stochastic Cross
3. Stochastic Cross and Overbought or Oversold
4. Moving Average
5. Parabolic SAR
6. Heikin Ashi
▪ Find the best Heatmap settings with the Strategy Tester version.
The signals generated by the Heatmap are considered to be valid at the bar open .
The Strategy Tester, however, uses the bar close in its calculations.
Therefore, the results may seem to be worse than they can be.
The Profitability, Profit Factor and other stats should be taken into consideration relatively to other configurations of the same Heatmap.
▪ Using a score system to consider a change in trend valid.
Example: consider the signal valid if 65% or more of all indicators (max 6) among all timeframes (max 19) hint at a change in trend.
The % percent value can be inserted in settings.
When using the default settings or when all timeframes and indicators are activated,
the ratio of 100% downtrend or 100% uptrend may be less occuring. Adjust accordingly.
The signals across timeframes and indicators are aggregated to show simple entry and exit signals.
▪ Combined Alerts, to be set to fire once per bar open :
0 - 📈 Long! - Heatmap - Multi-TFI
0 - 📈 Short! - Heatmap - Multi-TFI
0 - 📈 Long Exit! - Heatmap - Multi-TFI
0 - 📈 Short Exit! - Heatmap - Multi-TFI
1 *** BUY or SELL (single alert) ***
1 *** Entries or Exits (single alert) ***
▪ Note : The initial load may be slow. If something doesn't seem to work, you can try the following:
- wait more time for it to load
- hide & show or remove & add back to chart
- don't add the indicator to chart multiple times in a short amount of time, as you may be rate limited
▪ Related Studies :
- Heatmap - Multi-Timeframe Indicators - Alerts
- Risk Management System (Stop Loss, Take Profit, Trailing Stop Loss, Trailing Take Profit) - it can be connected to Heatmap - Multi-Timeframe Indicators - Alerts
▪ Layout example:
Delta-RSI Strategy (with filters)Delta-RSI Strategy (with filters):
This is a version of the Delta-RSI Oscillator strategy with several criteria available to filter entry and exit signals. This script is also suitable for backtesting over a user-defined period and offers several risk management options (take profit and stop loss).
Since the publication of the Delta-RSI Oscillator script, I have been asked many times to make it compatible with the Strategy Tester and add filtering criteria to minimize "false" signals. This version covers many of these requests. Feel free to insert your favorite D-RSI parameters and play around!
ABOUT DELTA-RSI
Delta-RSI represents a smoothed time derivative of the RSI designed as a momentum indicator (see links below):
INPUT DESCTIPTION
MODEL PARAMETERS
Polynomial Order : The order of local polynomial used to interpolate the relative strength index (RSI).
Length : The length of the lookback frame where local regression is applied.
RSI Length : The timeframe of RSI used as input.
Signal Length : The signal line is a EMA of the D-RSI time series. This input parameter defines the EMA length.
ALLOWED ENTRIES
The strategy can include long entries, short entries or both.
ENTRY AND EXIT CONDITIONS
Zero-crossing : bullish trade signal triggered when D-RSI crosses zero from negative to positive values (bearish otherwise)
Signal Line Crossing : bullish trade signal triggered when D-RSI crosses from below to above the signal line (bearish otherwise)
Direction Change : bullish trade signal triggered when D-RSI was negative and starts ascending (bearish otherwise)
APPLY FILTERS TO
The filters (described below) can be applied to long entry, short entry and exit signals.
RELATIVE VOLUME FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the current volume is greater than N times the average over the last M bars.
VOLATILITY FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the N-period average true range, ATR, is greater than the M-period ATR. If N < M, this condition implies increasing volatility.
OVERBOUGHT/OVERSOLD FILTER
When activated, the D-RSI-driven entries and exits will be triggered only if the value of 14-period RSI is in the range between N and M.
STOP LOSS/TAKE PROFIT
Fixed and trailing stop loss as well as take profit options are available.
FIXED BACKTESTING START/END DATES
If the checkboxes are not checked, the strategy will backtest all available price bars.
Ninja Scalping: StrategyThis is a strategy version for scalping signals. The objective of these signals is to accumulate more BTC through buying and selling of Altcoins. Thus, it is expected that these signals yield BTC gains when the crypto market has bullish days, as when BTC bleeds, other coins bleed even more. Let us get ready for the altseason!!
As mentioned above, the goal is to increase BTC's holdings through buying and selling of Alts. However, different Alts react differently against BTC. Therefore, there is no set of parameters that works for all Alts. The good news is that I tried my best to limit the number of parameters required to be tuned for a specific Alt to two. Also, this strategy helps back-test and tune the parameters for the desired Altcoin, with no guarantee that what happened in the past would happen in the future. This strategy is generally conservative, and it does not enter many trades. However, you can be more aggressive by changing the multiplier value: the smaller the value, the more aggressive the strategies. One can be more aggressive when the market is super bullish. Actually, you can test this by playing with the dates for the back-testing to have an idea of what would be suitable parameters when BTC is strong or weak. For the image attached, the strategy is back-tested from Jan 1, 2021, to March 18, 2021, assuming an initial capital of 1 BTC.
For the time span parameter, typical values are 5, 10, 14, 21, 34, 50, and 100. For the multiplier, typical values range between 0.01 and 2.
Use it at your own risk. Feedbacks are more than welcome. Happy trading!
Combo Backtest 123 Reversal & MA Displaced EnvelopeThis is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Moving Average Displaced Envelope. These envelopes are calculated
by multiplying percentage factors with their displaced expotential
moving average (EMA) core.
How To Trade Using:
Adjust the envelopes percentage factors to control the quantity and
quality of the signals. If a previous high goes above the envelope
a sell signal is generated. Conversely, if the previous low goes below
the envelope a buy signal is given.
WARNING:
- For purpose educate only
- This script to change bars colors.
[GBPUSD] DinhChienFX Swing [2 orders]* Take advantage of the 59% success rate of order 1 to enter position 2 with a higher Risk / reward ratio,
- Command 1: risk / reward 1/1. 59% success percentage.
- Order 2: risk / reward: 1 / 1.5 If you use Fibonacci retracement, it is 0.6 or 60%. Percent success 51.5%.
- Percent profitable 2 orders: 55%
- Number of consecutive wins in the past: 9.
- Number of consecutive losses in the past: 6. So to avoid psychological influence, choose risk = 1% x6 = 6% for 1 trading signal.
Currently, the Bot assumes 2% (orders 1: 1%, orders 2: 1%)
-------
Max risk: 2%.
1. Trend identification:
... Keltner: Price through Upper1 / Lower 1 gives 1 point.
...... Uptrend: If price crosses over once, the close on Upper 1.
...... Downtrend: If the price crosses under once, closes below the Lower 1.
... Stochastic:
..... D> 67 for Buy, D <16 for Sell
... ADX: 30 indicates strong trend trend.
...... ADX smooth: 7.
...... DI length: 7.
2. Entry point:
... Buy (BUY): When k cut up D in an uptrend, when D> 67.
... Sell (SELL): When k cuts D in a downtrend, when D <16.
[TVExtBot]Volatility Breakout Plus Strategy(BackTest)It is based on the legendary trader Larry R. Williams' volatility breakout strategy.
The volatility breakout strategy is a short-term trading strategy that realizes rapid profits on a daily basis, following the upward trend of a strong upward trend that exceeds a certain level on a daily basis.
The Volatility Breakout Plus strategy is a strategy modified to a long-term trend by supplementing the existing Volatility Breakout strategy.
변동성 돌파 전략이란 전설적인 트레이더 래리 윌리엄스(Larry R. Williams)의 변동성 돌파 전략을 기본으로 개발한 전략입니다.
변동성 돌파 전략은 일일 단위로 일정 수준 이상의 범위를 뛰어넘는 강한 상승세를 돌파 신호로 상승하는 추세를 따라가며 일 단위로 빠르게 수익을 실현하는 단기매매 전략입니다.
이번 출시하는 변동성 돌파 플러스 전략은 기존 변동성 돌파 전략을 보완하여 장기 추세로 수정한 전략입니다.
※특징으로는 선물보다는 현물차트에 더 효과적입니다.
기본적인 설정은 기존 변동성 돌파 전략과 동일하고 장기 추세에서의 리스크를 줄이기 위해 익절과 손절 기능을 추가하였습니다.
변동성 돌파 플러스 전략 백테스트 버전
Default Options(기본설정)
Slippage (슬리피지) : 3
Leverage (레버리지) : 1
BackTest Period (백테스트 기간) : 2018/ 01 / 01 ~ 2021/03/14
BeforeDay Open-Close Volatility (%) (전날 시가종가 변동률) : 6%
StopLoss (%) (손절) : 6%
TakeProfit (%) (익절) : 30%
Commission (거래수수료) : 0.06%
[TVExtBot]Volatility Breakout Plus Strategy(BackTest)It is based on the legendary trader Larry R. Williams' volatility breakout strategy.
The volatility breakout strategy is a short-term trading strategy that realizes rapid profits on a daily basis, following the upward trend of a strong upward trend that exceeds a certain level on a daily basis.
The Volatility Breakout Plus strategy is a strategy modified to a long-term trend by supplementing the existing Volatility Breakout strategy.
변동성 돌파 전략이란 전설적인 트레이더 래리 윌리엄스(Larry R. Williams)의 변동성 돌파 전략을 기본으로 개발한 전략입니다.
변동성 돌파 전략은 일일 단위로 일정 수준 이상의 범위를 뛰어넘는 강한 상승세를 돌파 신호로 상승하는 추세를 따라가며 일 단위로 빠르게 수익을 실현하는 단기매매 전략입니다.
이번 출시하는 변동성 돌파 플러스 전략은 기존 변동성 돌파 전략을 보완하여 장기 추세로 수정한 전략입니다.
※특징으로는 선물보다는 현물차트에 더 효과적입니다.
기본적인 설정은 기존 변동성 돌파 전략과 동일하고 장기 추세에서의 리스크를 줄이기 위해 익절과 손절 기능을 추가하였습니다.
Default Options(기본설정)
Slippage (슬리피지) : 3
Leverage (레버리지) : 1
BackTest Period (백테스트 기간) : 2018/01/01 ~ 2021/03/14
BeforeDay Open-Close Volatility (%) (전날 시가종가 변동률) : 6%
StopLoss (%) (손절) : 6%
TakeProfit (%) (익절) : 30%
Commission (거래수수료) : 0.06%
Strange RSI (sRSI) Backtesting strategyThis is the backtesting strategy module for my Strange RSI (sRSI) oscillator. The main scheme is grounded on setting up a long strategy for RSI crossing above a certain number, and shorting when RSI crosses below a certain number. This module allows you to:
*change these crossing thresholds
*change the Take Profit limits for long and short strategies
*change the RSI length
In this way, you may optimize to the parameters which fit best to your goals.
Cyatophilum Strategy BuilderAn indicator to create strategies, backtest and setup alerts.
The user can choose one or multiple TA entry conditions, if more than one the conditions are combined with a logical AND.
The entries will open up a trade, which is then handled by a risk management system including Trailing Stop, Take Profit and up to 100 Safety Orders.
This indicator can be used to backtest 3commas DCA bots who are using TA presets, RSI or ULT.
Its main goal is to create strategies by combining indicators.
Let's dive into the details of what's included:
Entry Condition: MACD
Triggers an entry when macd crosses with the signal line.
Configure the fast, slow length, signal smoothing and timeframe to trigger the condition.
Entry Condition: RSI
Triggers an entry when the RSI is higher or lower than the long/short threshold.
Configure the length, timeframe, long and short threshold to trigger the condition.
Entry Condition: ULT (Ultimate Oscillator)
Triggers an entry when the ULT is higher or lower than the long/short threshold.
Configure the 3 lengths, timeframe, long and short threshold to trigger the condition.
Entry Condition: Bollinger Bands
Triggers an entry when the price is above the upper band for long and below the lower band for short.
Configure the length, standard deviation and timeframe to trigger the condition.
Entry Condition: MFI (Money Flow Index)
Similar to RSI, it triggers an entry when the MFI is higher or lower than the long/short threshold.
Configure the length, timeframe, long and short threshold to trigger the condition.
Entry Condition: CCI (Commodity Channel Index)
Another oscillator that triggers an entry when its value is higher or lower than the long/short threshold.
Configure the length, timeframe, long and short threshold to trigger the condition.
Trend Filters
Use one or two trendlines to filter your trades: go only long/short when the trendline is bullish/bearish.
Choose between the several trendlines: ema, sma, wma, hull ma, kama, alma, rma, swma, vwma, Tilson T3, and the unique Adaptive T3 and Adaptive Hull MA.
If this is not enough, you can use the external trendline feature to plug in any other indicator for your trendline.
The second trendline can be MTF and come from another symbol if needed.
Combining Indicators
Most of the time we will not be using a single indicator at a time, but instead, combine them in order to get stronger entries.
The entry conditions are combined using a AND logical gate, meaning all conditions must be true for the entry to trigger.
Here is an example using a combination of 2 indicators: Bollinger Bands and RSI.
We can see less entries are being triggered on the bottom chart than on the top chart because the bottom chart is combining the 2 indicators while the top chart is only using Bollinger Bands.
You can combine up to all 6 indicators if you want, but keep in mind that combining too many may lead to triggering no entry at all.
Risk Management and Trade system
The indicator will not trigger more than one long or short entry in a row.
To start a new trade, the indicator will wait for either take profit, stop loss or an opposite entry if no SL and TP is set.
Stop Loss and Take Profit
Configure your stop loss and take profit for long and short trades.
You can also make a trailing stoploss and a trailing take profit.
Safety Orders
Just like 3commas bots, you can create a strategy with up to 100 safety orders.
Configure their placement and order size using the price deviation, step scale, take profit type (from base order or total volume), and volume scale settings.
Note: only the 20 first safety order steps or so will be plotted due to graphic limiations. The steps after that still trigger alerts and backtest results.
Creating Alerts
The indicator is using the newest alert system:
1. Write your alert messages in the indicator settings (alert section at the bottom)
2. Click "Create Alert" as usual, but choose "alert() function calls only"
Data Window
Since the indicator is applied on top of the price chart, the oscillator indicators cannot be plotted. You can always add them on another pane but if you want to just see their values, you can use the Data Window to see the value of each oscillator on each bar.
Backtest settings
Used to get the results below:
Initial Capital: 100 000$
Base Order Size: 0.1 contract (BTC)
Safety Order Size: 0.1 contract (BTC)
Commission: 0.1%
Slippage: 100 ticks
pyramiding: 6
The indicator settings are plotted in the main chart panel.
TRSI STRATEGYThis strategy is based on our very first indicator TRSI .
Which is at the same time made of TRIX, RSI and EMA indicators.
Use TRSI to see how the strategy and indicator behaves on your chart.
Make sure to use the same values on strategy and indicator options.
Entry conditions
Buy and sell signals are generated when TRSI's lines cross above and below 60 and 40 line levels.
Buy - TRSI line crosses over its EMA line above 60 horzontal line
Sell - TRSI line crosses under its EMA line below 40 horzontal line
Close position when lines cross in backwards direction
Recommendet timeframe - 60 min.
Default values (for BTC):
TRIX - 14
RSI - 6
EMA -6
Top line - 60
Bottom line - 40
Supplementary indicators
In options menu of the strategy you may switch on two EMA and bollinger bands indicators to
make extra decision while analysign your chart. Useful if you have limitation on indicator quantity on the chart.
Repaint
The strategy doesn't use lookehead and time security functions.
The entries are generated on confirmation of bar close.
------------------------------------------------------------------------------------------------------------------------------------------
Данная стратегия основана на одном из наших первых индикаторов TRSI ,
который в свою очередь был сделан из трех других индикаторов TRIX, RSI, EMA.
Используйте TRSI на графике чтобы визуально понять как индикатор и стратегия ведут себя.
Используйте одинаковые параметры в индикаторе и в стратегии.
Вход в позицию
Сигналы на покупку и продажу генерируются при пересечении линий TRSI над и под уровнями 60 и 40.
Покупка - линия TRSI пересекает сверху вниз свою EMA над уровнем 60.
Продажа - линия TRSI пересекает снизу верх свою EMA под уровнем 40.
Закрытие позиции при обратном пересечении линий.
Рекомендуемый таймфрейм - 60 минут.
Настройки по умолчанию (для BTC):
TRIX - 14
RSI - 6
EMA -6
Top line - 60
Bottom line - 40
Дополнительные индикаторы
В настройках стратегии можно включить две EMA и полосы боллинджера для дополнительного анализа
при принятии решения входа в позицию. Полезно если у вас ограничение на количество одновременных индикаторов на графике.
Репэйнт
В стратегии не использованы lookahead и временные security функции, которые могут привести к репэйнту.
Входы в позицию генерируются по подтверждению закрытия бара.
Williams Alligator + RSI + T3CCIWilliams Alligator strategy is based on indicator developed by a legendary trader Bill Williams, an early pioneer of market psychology.
The strategy is based on a trend-following Alligator indicator, which follows the premise that financial markets and individual securities trend just 15% to 30% of the time while grinding through sideways ranges the other 70% to 85% of the time. Williams believed that individuals and institutions tend to collect most of their profits during strongly trending periods.
Although Alligator is a very strong tool it has a lot of weak signals and has lag span on entries and exits. We added RSI oscillator and T3CCI to clear market noises and weak signals. Moreover the approach we intoduced to the indicator allows to enter positions and close them earlier than orginal indicator which ensures stronger signals
The strategy supports traditional and cryptocurrency spot, futures, options and marginal trading exchanges. It works accurately with BTC, USD, USDT, ETH and BNB quote currencies. Best to use with 1D timeframe charts
The strategy can be and should be configured for each particular asset. You can change filters and risk management settings to receive the most advanced accurate alerts
Advantages of this script:
Good for long and Short positions
Produces strong long-term entries and closures of positions
Stable to short-term market fluctutions
Easy configuration with a user friendly interface
Backtests show high accuracy around 85.71%
High Net Profit percentage around 21.26%
High profit factor around 82.403
How to use?
1. Apply strategy to the trading pair your are interested in at 1D timeframe chart
2. Configure the strategy: change filters values and risk management settings until Strategy tester shows good results according to mathematical expectation
3. Set up a TradingView alert to trigger when strategy conditions are met
4. Strategy will send alerts when to enter and when to exit positions
Feel free to copy and use this script for your ideas and trading!
ATR + %R Scalping StrategyThe Average True Range is a single line indicator that measures volatility. The indicator was originally developed by J. Welles Wilder to measure the volatility of commodities within the futures market.
ATR does not measure price trends or price direction hence %R and Parabolic SAR indicators were added.
The strategy enhances standard Average True Range and %R composition with trend confirmation and filters which clear out market noises and manipulations from triggers.
The strategy supports traditional and cryptocurrency spot, futures, options and marginal trading exchanges. It works accurately with BTC, USD, USDT, ETH and BNB quote currencies. Best to use with 5 and 15 minutes timeframe charts and Limit orders.
The strategy can be and should be configured for each particular asset. You can change filters and risk management settings to receive the most advanced accurate alerts
Advantages of this script:
Strategy has high profit factor around 30.32
Backtests show high accuracy around 91.18%
High Net Profit percentage
Low Drawdowns
Weak signals are filtered
Dynamic Take profit and Stop loss
Fast deals around 50 minutes per trade
Can be applied to any market and quote currency
Easy to configure user interface
How to use?
1. Apply strategy to the trading pair your are interested in at 5m or 15m timeframe chart
2. Configure the strategy: change filters values and risk management settings until Strategy tester shows good results according to mathematical expectation
3. Set up a TradingView alert to trigger when strategy conditions are met
4. Strategy will send alerts when to enter and when to exit positions
Combo Backtest 123 Reversal & Money Flow Indicator This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Indicator plots Money Flow Indicator (Chaikin). This indicator looks
to improve on Larry William's Accumulation Distribution formula that
compared the closing price with the opening price. In the early 1970's,
opening prices for stocks stopped being transmitted by the exchanges.
This made it difficult to calculate Williams' formula. The Chaikin
Oscillator uses the average price of the bar calculated as follows
(High + Low) /2 instead of the Open.
The indicator subtracts a 10 period exponential moving average of the
AccumDist function from a 3 period exponential moving average of the
AccumDist function.
WARNING:
- For purpose educate only
- This script to change bars colors.