TsangYouJun

Hammer Scanner v1

This script is for helping you to find bullish and bearish hammers.
הערות שחרור: Added more varieties of hammer candles.

There are 4-types in total:
- Hammer (Bullish)
- Inverted Hammer (Bullish)
- Hanging Man (Bearish)
- Shooting Star (Bearish)

You should always use candlesticks in combination with other indicators such as oscillators, moving averages, Bollinger bands.
הערות שחרור: Added user requested feature for the maximum height of body to be 1/3 that of the shadow.

Added user control to define the maximum height of the tail to be 1/2 that of the body.

Diagram:
—————————
Tail / Body / Shadow

Default Rules:
1) Tail no taller than 1/2 the body height.
2) Body no taller than 300 pips.
3) Body must be shorter than 1/3 of the shadow.
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

תגובות

Correct me if I am wrong. It happens a lot, but you set a max value for hammer at 100 but your default is 300?
+2 השב
Thank you! is it possible to define the size of the body of the candle in the Hammer? I think the body should be about 1/3 size of the total hammer..
+1 השב
cjmarka Mahesh407
@Mahesh407, that's exactly right. I was hoping for the ability to make that adjustment.
+2 השב
TsangYouJun Mahesh407
@Mahesh407, updated as requested. Please note that the candle is defined as follows:

—OOO———————
Shadow / Body / Tail

It’s written opposite in the code, but that’s just a naming problem.

Rules:
1) Shadow no taller than 1/2 of the Body
2) Body no taller than 300 pips
3) Body must be shorter than 1/3 of the Tail

1/2, 300 and 1/3 are all user modifiable values.
+1 השב
Mahesh407 TsangYouJun
@TsangYouJun, You are a legend! Thanks mate!
+1 השב
hi, do i need to be a pro user to apply this scanner?
השב
Perfect
השב