Need afl code for concept below

#1
Hi friends
Here is a concept using colors for Heikin Ashi bars and an EMA34.
The colors are dependent on price behaviour.

HTML:
A moving average that changes colour when up/ down combined with heikin ashi bars.
. 

we know that the colour charts turn blue or red in relation to a moving average which is based on the weight of the price relative to the high or low.
What does this weight on the price mean?

 Meaning, if, for a particular bar, the prices 'tick count' is around the lower half of the bar, than the top half, it will turn red. 
If there is more activity in the top half than the bottom, it turns blue. 
what does the tick count mean?

once the concept for color is sorted out,rest is simple.
HA Bars, A EMA, COLOR OF HA BARS AND EMA LINE LINKED TO WEIGHT OF THE PRICE-TICK COUNT.
 

Similar threads