PROTECTED SOURCE SCRIPT

Strategy BTBT

BTBT — strategy for only long positional trading of top cryptocurrencies. BTCUSD and ETHUSD are best suited for this strategy.

The main idea of ​​the strategy is to buy cryptocurrency with a leverage of up to 1: 3 when the market is growing, and get rid of cryptocurrency when the market is not growing or falling.

The strategy is working on a daily timeframe .

To determine the trend, the strategy uses a combination of indicators MA25 and MA99.

To determine overbought (pump) and oversold (dump), the strategy uses the oscillator "SPPO".

The strategy has three trading conditions:
1) SPPO <SPPOoverSold - "dump" market. We buy cryptocurrency with a leverage of 1: 1 until the value of the cryptocurrency exceeds 0.
2) SPPO> SPPOoverBought - "pump" market. Close all long positions or leave a position with a micro-leverage of 1: 0.1 for a period of 28 days.
3) Closing> MA25 > MA99 - uptrend in the market. We open the "long" position with a leverage of 1: 3.

If market conditions do not meet the above criteria, then the strategy does not have open positions.

Input parameters
Recommended timeframe D1.
FastLength - period for fast MA. Default = 25.
SlowLength - period of slow MA. Default = 99.
SPPOoverSold - trigger for determining the dump in the market. Default = -30.
SPPOoverBought - trigger to determine the pump in the market. Default = 35.
SPPOmaxForLong - the maximum value of SPPO for opening a long position. Default = 10.
LeverageLong - leverage when entering the market with a "long" signal. Default = 3.
LeveragePamp - the amount of leverage when entering the market with a "pump" signal. Default = 0.1.
LeverageDamp - the amount of leverage when entering the market with a "dump" signal. Default = 1.
Log equity chart - If true, use a logarithmic scale for a graph of equity. Default = false.
algotradingBitcoin (Cryptocurrency)cryptotradingEthereum (Cryptocurrency)Moving AveragesOscillatorsstrategyTrend Analysis

סקריפט מוגן

סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.

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

כתב ויתור