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...

Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?