TradingView
hamster-bot
16 oct. 2021 21:33

hamster-bot ZZ 

Bitcoin / US DollarBinance

Description

Compilation of various modifications of the trend breakout reversal strategies based on the ZigZag .
Includes past versions of scripts:
  • version 1 ZZ2Breakout reversal strategy
  • version 2 ZZ2 with experimental options hamster-bot ZZ Breakout reversal strategy
  • version 3 ZZ6Noro's ZZ-6 by hamster-botThe original script is available here
    The original script is available here
    Description ZZ6:
    New version of ZZ-strategy.
    Repaint?
    Normal lines are not redrawn. Dotted lines repaint, but do not affect trading (do not affect backtests). You can turn off repaint in the script settings. Repaint (dotted lines) are needed only for clarity. To make it clear from which bar the level is created.
    Levels
    Lime lines above - level from a local high bar. To open a long position. Using a market stop order.
    Red line at the bottom - the level from a local low bar. To open a short position. Using a market stop order.
    Trading
    You can trade without short positions. Then the red line is the level for a stop-loss order.
    Reverse trading can be used. Without stop-loss orders.
    Risk size
    Order size depends on the risk size parameter and possible loss. If risk size = 2%, it means that the loss will be no more than 2%.
    For crypto
    Symbols: XBT/USD, BTC /USD, BTC /USDT, ETH/USD, etc - need USD(T)
    Timeframes: 1h, 4h, 1d


This new ZZ strategy includes all the best practices for this strategy. the script has great flexibility of settings.

Instructions for script parameters:
Parameter ZZ Type - is responsible for the basic type of strategy used (usually it is responsible for building levels)
then you will need to configure the settings block corresponding to the selected ZZ type.
At the moment the script contains types: ZZ2 + ZZ6

The rest of the parameters are common for any type of ZZ.

Further development will be done in this script. The above scripts will not be updated.

At the moment the options are already available:
- Take Profit
- Stop Loss
- One entry Long/Short
- Single entry
- Levels offset
- Levels multiplier
- Levels angle

Notes de version

Fixed bug witht levels offset

Notes de version

Stop by new level

Notes de version

New options: [DF] Distance Filter, [FF] Flat Filter, Narrowing of levels

Notes de version

new options: Close by MA trailing stop, Close by MA crossing, MA crossing filter

Notes de version

[FIX] MA distance filter

Notes de version

fix close options

Notes de version

new Single Entry mode

Notes de version

Reverse

Notes de version

Kalman filter (experiment)
Commentaires
TheCuriousCat
Would you be willing to share the source code with the community?
hamster-bot
@slmonline, Yes. But what will I get for this?
ArghoDZ22
Good
Thanks
Paradoxxx
Здравствуйте, а не меняли на днях код стратегии? При равных параметрах две одинаковые стратегии показывают разные значение. А еще расположение/порядок отображаемых полей ввода изменился в одном из параметров.
hamster-bot
@Paradoxxx, Этот код сейчас активно меняется. Опишите проблему подробнее - это поможет в решении.
Plus