ExpertCoin

Base Trading Strategy

English description:

Following script is the realisation of strategy that discribed in one of educational video on YouTube.
First of all strategy choose trend direction using moving averages and then searching for entry using stochastic and waiting for a price rollback.

Conditions for long entry:
1. Fast MA is under slow MA.
2. Stochastic is increasing.
3. Price fluctuation touch fast MA or is lower then fast MA.

For short entry it uses conditions in reversive way.

Exit conditions:
1.Stop is equal 1 ATR.
2. Fast and slow MAs crossed in the opposite direction.

We set comission in script equal to 0.25% and amount of bet is equal to 50% of deposit by default.

Authors of video recomends to use next settings: 12 EMA, 34 EMA and Stochastic 5,3,3. But judging by backtesting for different pairs absolutely different parameters can match better then this. It's possible to find profitable parameters for stock, forex and crypto markets as well. Anyway this strategy is weak on flat movement and quite well on trend movement.



Описание на русском:

Данный скрипт является реализацией стратегии описанной в этом видео.
Стратегия исопльзует определения тренда по скользящим средним, а затем определяет точки входа, используя стохастик и откат цены.

Условия входа в лонг:
1.Быстра МА должна быть выше медленной МА.
2. Стохастик должен возрастать.
3. Цена должна коснуться или уйти ниже быстрой МА.

Для входа в шорт условия должны быть выполняться в обратную сторону.

Условия выхода:
1. Стоп составляет 1 ATR.
2. Быстрая и медленная скользящие должны персечся в обратном направлении.

Отличие от стратегии видео только в том, что отсутствует тейк-профит. Выход из сделки происходит только по стопу, либо по обратному пересечению скользящих средних. В скрипт по умолчанию вставлена комиссия 0.25% и по умолчанию торг идёт на 50% капитала.

Авторы видео предлагают использовать: 12 EMA, 34 EMA и Stochastic 5,3,3. Но судя по бэктесту по очевидным причинам для разных инструментов подходят абсолютно различные параметры.

Возможно подобрать профитные варианты как для фондового рынка, валютного рынка, так и рынка криптовалют. В любом случае стратегия очень слабо себя ведёт на флете и достаточно не плохо на движении.

В своём канале на YouTube мы выложили разбор данной стратегии на бэктестинге.

Script protegido
Este script se publica con código cerrado, pero puede utilizarlo libremente. Márquelo como favorito y podrá usarlo en un gráfico. El código fuente no se puede ver ni modificar.
Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?