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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?