RAGHEE HORNER GRAB CANDLES

Category: Indicators By: Alfy Created: February 16, 2023, 10:38 AM
February 16, 2023, 10:38 AM
Indicators
0 Comments

This indicator colours the price candles based off their positioning relative to the 34 EMA of price highs and lows. If price is above the 34 EMA of price highs, the bars are coloured green. If price is below the 34 EMA of price lows they are coloured Red. If price is between these two EMA´s the candles are coloured Blue.

a=exponentialaverage [34] (high)
b=exponentialaverage [34] (low)

 
 
if close > a Then
DRAWCANDLE(open, high, low, close)COLOURED(0,255,0)

endif
 
if close<b  then
DRAWCANDLE(open, high, low, close)COLOURED(255,0,0)

endif
 
if ( close >b and close<a)  then
DRAWCANDLE(open, high, low, close)coloured(0,0,255)

endif
 
RETURN

Download
Filename: RAGHEE-HORNER-GRAB-CANDLES.itf
Downloads: 120
Alfy Average
Code artist, my biography is a blank page waiting to be scripted. Imagine a bio so awesome it hasn't been coded yet.
Author’s Profile

Comments

Logo Logo
Loading...