Bitduke

Stochastic Pop and Drop by Jake Bernstein v1 [Bitduke]

I found a simple strategy by Jake Bernstein, modified it a little and created a strategy with Risk Management System (SL+TP); After that I test it on the different cryptocurrency pairs.

About the Indicator

Basically it's the strategy of 2 indicators: Stochastic Oscillator to define the bias and Average Directional Index to confirm it.

One again, It uses Stochastic Oscillator to define the trading bias. In particular, the trading bias was deemed bullish when the weekly 14-period Stochastic Oscillator was above some default value (in him paper - 50) and rising and vice versa.

Once the trading bias is established, Steckler used the Average Directional Index (ADX) to define a slowdown in the trend. ADX measures the strength of the trend and a move below 20 signals a weak trend.

Modifications

I didn't implement Average Directional Index (ADX) and test just different sources for data, oscillator periods and different levels in relation to the crypto market.

So, it shows good results with two tight thresholds at 55 and 45 level.

The bar chart below the defining the bullish and bearish periods (green and red) and gives a signal to enter the trade (purple bars).


Backtesting

Backtested on XBTUSD.P , BTCPERP (FTX) pairs. You may notice it shows good results on 3h timeframe.

Relatively low drawdown
~ 10% (from 2019 to date) FTX
~ 22% (4 years from 2016) Bitmex

I backtested on the different altcoin pairs as well, but the results were just not good.

Relatively good results were shown by some index pairs from the FTX exchange ( SHITPERP ), but I think there is a few data for backtesting to be asure in them.

Bitmex 3h (2017 - 2020) :

https://i.imgur.com/IUjS3hj.png

FTX 3h (2019 - 2020):

https://i.imgur.com/fjujt1h.png

Possible Improvements

- Regarding trading algorithm it would be good to check with strategy with ADX somehow. Maybe for the better entries

- As for Risk Management system, it can be improved by adding trailing stop to the strategy.

Link: school.stockcha...ts.com/doku.php?id=trading...

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?