Support Board
Date/Time: Sat, 11 Jan 2025 09:45:27 +0000
Post From: Color Bars based on Heikin Ashi
[2016-11-10 00:20:44] |
Sawtooth - Posts: 4147 |
Try this: You'll need 4 instances of the Color Bar Based On Alert Condition study, one for each combination. You'll need to set the Chart >> Chart Settings >> Main Setting tab >> Graph Draw Type to Candlestick Bars Hollow. Use these formulas and Draw Styles, respectively, in each color bar study: HA green, candle green: =AND(ID1.SG1<ID1.SG4,O<C) Color Bar (use same green as in Graphics Settings) HA green, candle red: =AND(ID1.SG1<ID1.SG4,O>C) Color Bar Hollow (use same green as in Graphics Settings) HA red, candle red: =AND(ID1.SG1>ID1.SG4,O>C) Color Bar (use same red as in Graphics Settings) HA red, candle green: =AND(ID1.SG1>ID1.SG4,O<C) Color Bar Hollow (use same red as in Graphics Settings) Notes: -Above formulas assume the HA study is ID1. Edit as needed. -Above assumes the HA study is not set to Display as Main Price Graph |