hamster-bot

hamster-bot ZZ

hamster-bot Updated   
Compilation of various modifications of the trend breakout reversal strategies based on the ZigZag .
Includes past versions of scripts:
  • version 1 ZZ2 Breakout reversal strategy
  • version 2 ZZ2 with experimental options hamster-bot ZZ Breakout reversal strategy
  • version 3 ZZ6 Noro's ZZ-6 by hamster-bot The 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
Release Notes:
Fixed bug witht levels offset
Release Notes:
Stop by new level
Release Notes:
New options: Distance Filter, Flat Filter, Narrowing of levels
Release Notes:
new options: Close by MA trailing stop, Close by MA crossing, MA crossing filter
Release Notes:
MA distance filter
Release Notes:
fix close options
Release Notes:
new Single Entry mode
Release Notes:
Reverse
Release Notes:
Kalman filter (experiment)

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?