TradingView
DovCaspi
2014年9月30日晚上8點08分

Hammer, Hanging man, Shooting star, Inverted hammer Indicators 

Apple Inc.NASDAQ

描述

This script creates Hammer, Hanging man, Shooting star, Inverted hammer chart indicators.
RED + CROSS = Sell
GREEN + DOT = Buy
評論
PaulMir
@DovCaspi isnt there a mistake here : shadow_h = high_h - low_h ?

I think shadow should be define in two ways : upper shadow = high_h - max(open_h,close_h) and lower shadow = min(open_h,close_h)-low_h

I tweak the indicator and I see much better hammers ;)
jordanovitch
@PaulMir,
I must have got it wrong because when I write down your script

upper shadow = high_h - max(open_h,close_h)
lower shadow = min(open_h,close_h)-low_h
body_h = abs(open_h - close_h)
bodyMid_h = 0.5 * (open_h + close_h) - low_h

instead of

shadow_h = high_h - low_h
body_h = abs(open_h - close_h)
bodyMid_h = 0.5 * (open_h + close_h) - low_h

Pine says
Script could not be translated from: |B|upper shadow = high_h
accidentje
Thanks for the indicator. The only negative is that it's lagging (1 day). How would you tweak it so that it's showing real-time info on the candle that is being formed? TIA
vaibhavsghanekar
Does it still lag?
I have read some old comments from 2014-15.
I hope this code is updated and it doesn't lag anymore as it did some years ago.
Please tell me if it lags one candle or one bar.
PaulMir
It lags because it uses confirmation. if bearish signal, indicator checkout that next candle is red. if bullish signal ( eg hammer ) indicators checks for next candle = green ;)
yolo12
@PaulMir, So its only useful for actually learning what the candles look like, something you can do on on a website.
All in all a completely useless indicator.
Docvaks
Does it lag thru the eod. Basically, Could you place and AA trade on the indicator or does it not show up until the next morning?
ANUP2025
How to use this script. Can it be used on this platform or any other platform
amirhkarimi1999
this USELESS thing looks at next candle to give you signals on previous candle. set timeframe to 1 min to see signals on previous candle appear and disappear :)
foster70
@amirhkarimi1999, right? A hammer candle is a hammer candle regardless of if the trade works out. Same for IH, SS, HM, so why would it paint and then disappear? I backtested it and it has over 90% success rate. HAAAAAHAAAAHAAAAHAAA! Took me about 3 minutes to realize it's garbage.
更多