View Single Post
  #44 (permalink)  
Old 03-15-2006, 04:24 AM
sailor sailor is offline
Senior Member
 
Join Date: Oct 2005
Posts: 223
sailor is on a distinguished road
I remmember i had the same problem with the gridbuilder before i posted it a programmer helped me and it should be sommething with divisor i wraped out som of the code from gridbuilder

double Divisor = 0.1/Point;

HighPrice = MathRound(High[Highest(NULL,0,MODE_HIGH, Bars - 2, 2)] * Divisor);
//SL = High[Highest(MODE_HIGH, SLLookback, SLLookback)];
LowPrice = MathRound(Low[Lowest(NULL,0,MODE_LOW, Bars - 1, 2)] * Divisor);
GridS = GridSpace / 10;

sailor
Reply With Quote