Aspen Graphics Question

Discussion in 'Technical Analysis' started by alex.samant, Jan 18, 2007.

  1. 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 !?
     
  2. 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
     
  3. no... it's not that ... et submit is breaking up the code lines...
    PM me for the code...