cryptovesta

Engulfing Look-back Alert

cryptovesta 已更新   
This script is an extension of the classical engulf pattern with added rules and user defined features.

Engulfing Candle Definition:
- Bullish Engulfing: Trade BELOW the prior candle's LOW and CLOSE ABOVE the prior candle's HIGH. Previous candle can be an up (bullish) or a down (bearish) candle
- Bearish Engulfing: Trade ABOVE the prior candle’s HIGH and CLOSE BELOW the prior candle’s LOW. Previous candle can be an up (bullish) or a down (bearish) candle

Features:
- Set the look-back period for engulfing candle high and low -> default = 1; e.g. Did the bullish eng candle trade below the lows of the last 3 candles and trade above the highs of the last 4 candles? Set the input values accordingly
- Choose time frame(s) engulfing candle is to be displayed on -> default = M/W/D/4H/1H/15M
- Ability to enable Alerts (includes time frame alert was triggered on): IMPORTANT - when setting alerts ensure to choose "ONCE PER BAR"; otherwise alerts will NOT trigger as intended
prntscr.com/r1yzbm
版本注释:
New features added:
- Multi-hour and multi-minute support
- Compare candle shadows -> Bullish Engulf: upper shadow can be bigger or smaller than lower by x%. Vice versa for Bearish Engulf
- Compare candle size relative to the previous x candles based on candle body and/or shadows
- Compare candle look back period based on candle close or candle shadow
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?