|
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
|