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. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?