ChrisMoody

Custom Indicator: Heikin-Ashi Paint Bars.

FX:EURUSD   Euro Fx/U.S. Dollar
Heikin-Ashi Paint Bars.

Paints Candlesticks or OHLC Bars The Exact Same as Traditional Heikin-Ashi Bars

Heikin-Ashi Paint Bars.

Paints Candlesticks or OHLC Bars The Exact Same as Traditional Heikin-Ashi Bars

***Better to use with Indicators because Traditional Heikin-Ashi Bars don't show correct Open, High, Low, Close.
nvcworld
5 months ago
Hi sir i am using yours this code and its really good one can you please convert this code for email aleart,
Thanks in advance

// Plots Color Of Heikin-Ashi Bars while Viewing Candlestics or Bars
//Works on Candlesticks and OHLC Bars - Does now work on Heikin-Ashi bars - But I have verified its accuracy
// Created By User ChrisMoody 1-30-2014 with help from Alex in Tech Support

study(title = "CM_Heikin-Ashi_Candlesticks_V1", shorttitle="CM_Heik-Candles",overlay=true)

haclose = ((open + high + low + close)/4)//
haopen = na(haopen) ? (open + close)/2 : (haopen + haclose) / 2

heikUpColor() => haclose > haopen
heikDownColor() => haclose <= haopen

barcolor(heikUpColor() ? aqua: heikDownColor() ? red : na)
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out