help with inverted hammer indicator?
Posted: Fri Dec 28, 2007 3:34 pm
Can anyone please help me arrange this code so that it shows the opposite of a hammer/hanging man... which I guess would be a shooting star or inverted hammer? My goal is to create an indicator that will show me when a candle has formed that has a small body and upper tail, with no or hardly any lower tail. Basically exactly what the hammer show me indicator does - except the opposite. Any help would be much appreciated. -Chance.
{ Candlestick ShowMe }
inputs: Length( 14 ), Factor( 2 ) ;
variables: oHammer( 0 ), oHangingMan( 0 ) ;
Value1 = C_Hammer_HangingMan( Length, Factor, oHammer, oHangingMan ) ;
if oHammer = 1 then
begin
Plot1( High, "Hammer" ) ;
Alert( "Hammer" ) ;
end
else if oHangingMan = 1 then
begin
Plot2( Low, "HangMan" ) ;
Alert( "HangingMan" ) ;
end ;
{ Candlestick ShowMe }
inputs: Length( 14 ), Factor( 2 ) ;
variables: oHammer( 0 ), oHangingMan( 0 ) ;
Value1 = C_Hammer_HangingMan( Length, Factor, oHammer, oHangingMan ) ;
if oHammer = 1 then
begin
Plot1( High, "Hammer" ) ;
Alert( "Hammer" ) ;
end
else if oHangingMan = 1 then
begin
Plot2( Low, "HangMan" ) ;
Alert( "HangingMan" ) ;
end ;