OPEN-SOURCE SCRIPT

Elephant Bar by Oliver Velez

This script detects an event created by Oliver Velez, basically it is a wide-range candle, its range is noticeably larger than the previous candles, this event indicates a possible continuation of the movement, or the beginning of an extended movement. The candle has to be of good body, as a rule it can be taken that the body must be more than 70%. The stop goes below the minimum of the candle and the signal is given when the next candle followed by the elephant candle exceeds its body, this condition is not programmed so that the alert indicates that an elephant candle was generated and the trader has some time to visualize the graph and wait for the signal. Example below:

快照
快照

NOTE: IT IS VERY IMPORTANT THAT THE TRADER ANALYZE THE CONTEXT OF THE MARKET WHERE THE ELEPHANT BAR IS GENERATED AND DETERMINE ACCORDING TO ITS EXPERIENCE IF THE EVENT HAS A GOOD PROBABILITY OF PROJECTION, YOU MUST NOT TAKE AN ENTRY ONLY BY THIS EVENT, IF YOU DO YOU WILL LOSE ALL YOUR MONEY
.


One of the problems of the elephant bar is that it generates a fairly wide risk unit with respect to other narrow range events, so the risk / benefit ratio is not very large, but it is an event that deserves attention when it occurs in a good location since it generally generates continuation.
If you want to have a lower risk unit and improve the risk / benefit ratio, you can play the “Gift Zone”, when detecting an elephant bar you can wait for a step back inside the elephant bar area and take a position, this will give you a less distance to the stop, but this can lead to the event escaping if there is no recoil.

快照

- The size of the candle is determined by comparing a range of previous candles (you can set the amount at your discretion)
- Search factor: by default 1.3, this means that all bars that have a range greater than the average range of previous candles + 30%, are considered elephant candles (can be configured at your discretion)
- Possibility to configure the percentage of the body that the elephant candle must have.
- Possibility of filtering up to 2 means with direction detection and color change (fully configurable)
- Possibility of filtering by mobile averages
- Alerts
- Additional features

Thumb up if you liked me ..
Bearish PatternsBullish PatternsbuybuysignalelephantbarMoving AveragesolivervelezpriceactionSELLsellsignalTrend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明