Aspen Graphics Question

Anybody know how to color bars in Aspen Graphics depending on certain indicators...

Like let's say when MACD is over the 0 line and STOCHASTICS is over 50, the bars are green and if not grey or red...

HEEELP !?
 
nevermind... i figured it out myself .... with a little C++ knowledge...

In case anyone is using aspen and needs the Impulse system color rule formula here it is:
-------------
if(eavg($1,13)>eavg($1,13)[1] and MACDOsc($1)>MACDOsc($1)[1],clr_green, if(eavg($1,13)<eavg($1,13)[1] and MACDOsc($1)<MACDOsc($1)[1],clr_red,clr_blue))
-------------
Cheers
 
Back
Top