PROTECTED SOURCE SCRIPT

Screener Complet: MM50 + Figures Chartistes

17


What this script detects:

Hammer: The script identifies a small candle with a long lower wick (buyers are regaining control). A green "Marteau" (Hammer) label appears below the candle.

Shooting Star: The opposite of the hammer, signaling a bearish reversal. An orange "Etoile Fil." label appears above the candle.

Engulfing: Detects when the body of a candle totally "engulfs" the previous one. Label "Avalement H" (Bullish) or "Avalement B" (Bearish).

Double Top (M) and Double Bottom (W): The script compares recent peaks (pivots). If it detects two peaks at the same level (with a 1% tolerance), it displays an "M" (Double Top). For two troughs, it displays a "W" (Double Bottom).

Important Note: For "W" and "M" patterns, the script needs a few candles after the formation of the second peak/trough to confirm that it is indeed a peak (this is the principle of rightBars = 10 in the code). The label will therefore appear with a slight lag relative to the exact peak, but it validates the structure.

If you have any advice or ideas, please don't hesitate.

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.