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 protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?