||

Line 4- It shouldn't be rang instead of hr:
|PlotShapes( hr,IIf(rang< averange*2,*colorLightBlue*, *colorBlue*), 0, *L*, -10 );|


murthysuresh wrote:
pl help with my prob below
--- In [email protected], "murthysuresh" <mo...@...> 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.


Reply via email to