--- In [email protected], "tradinghumble" <sharp...@...> wrote:
>
> Hello, found the code below which is used to plot a custom grid. I'm
> not too crazy about the dotted grid and would like to plot a solid
> line, possibly using GFX... has anyone done that? Thanks
> 
> 
> gridINCR = Param("incr",.50,1,10,0.0001);
> if( ParamToggle("show custom grid", "NO|YES", 1) )
> {
> SetChartOptions(1,chartShowArrows|chartShowDates, 0);
> firstbarvisible = BarIndex()==1 OR (Status("barvisible") AND NOT  Ref(
> Status("barvisible"), -1));
> GridMIN = LastValue( LowestSince( firstbarvisible, round((Low
> -40)/10)*10  ) );
> GridMAX = LastValue( HighestSince( firstbarvisible, round((High
> +40)/10)*10 ) );
> steps = (GridMAX - GridMIN)/ gridINCR ;
> for(i=0;i < steps;i++)
>       PlotGrid(GridMIN+i*gridINCR, colorBlack);
> }
> else
> SetChartOptions(1,chartShowArrows|chartShowDates);
>
Bump.

Reply via email to