thanks a lot for the eye opener. sometimes, staring at the code for too long makes me dream into space.
--- In [email protected], "Joris M.schuller" <jmschul...@...> wrote: > > PlotShapes( hr,IIf(hr< averange*2,colorLightBlue, colorBlue), 0, L, -10 ); > // Replace hr< averange*2 by rang< averange*2 > > > > basically if the hr>2* averange, it should be colorLightBlue // No, it > should be colorBlue > > > > From: [email protected] [mailto:[email protected]] On Behalf > Of murthysuresh > Sent: Wednesday, March 25, 2009 12:47 PM > To: [email protected] > Subject: [amibroker] Re: issue with plot shapes > > > > pl help with my prob below > --- In [email protected] <mailto:amibroker%40yahoogroups.com> , > "murthysuresh" <money@> wrote: > > > > i am trying to plot the ones with Highest range in 7 bars in different > colors. the criteria i am using is > > averange = MA( H - L, 14 ); > > rang = High - Low; > > hr = IIf( rang == HHV( rang, 7 ), shapeDigit7 ,shapeNone); > > PlotShapes( hr,IIf(hr< averange*2,colorLightBlue, colorBlue), 0, L, -10 ); > > > > basically if the hr>2* averange, it should be colorLightBlue > > > > In my case, i can see all the samples in colorBlue even though visually, i > can find cases where it does not meet the criteria. > > >
