Excellent, thank you for the help. Sometimes its frustrating knowing that Amibroker can do what you want but trying to figure out how to make it happen can be daunting to us newbies.
Thanks DM --- In [email protected], "apfxtrader" <[EMAIL PROTECTED]> wrote: > > Delete at the beginning of the code: > GraphColor = ParamColor("GarphColor",colorLightGrey); > > And add below: > > > Graphcolor = IIf(direction ==1, ParamColor("X_Color", colorGreen), > ParamColor( "O_Color", colorRed)); > > PlotOHLC(Op, Hi, Lo, Cl,"", GraphColor , > stylePointAndFigure|styleNoLabel, 0, 0 ,shiftChart); > > > > > > > --- In [email protected], "dmcleod1981" <dmcleod1981@> wrote: > > > > Is there a way to change the color of the columns i.e. one color for > > x's and another for o's etc. I tried to use the "direction" in an iif > > statement but it didn't work. > > > > PS. it works great. It is interesting watching it work backwards in > > the replay mode although it doesn't scale to the time correctly. > > > > Thanks > > DM > > > > > > >
