need small help from programmers

 

I am not programmer

anyone please explain the meaning of the following code.

if ((MA1now > MA2now) && (MA1previous < MA2previous) && (MA1after > MA2after))

{

CrossUp[i] = Low[i] - Range*1.5;

if (NewBar())

here what is the meaning of Range*1.5

seen different code with the following range's

Range*1.5; Range*1.0; Range*0.5;

what is it mean please

thanks

 
It seems a value is being stored into the user-defined array CrossUp[] upon an MA crossover event. 'Range' is most likely a non-zero, floating-point value. Since it's being subtracted from Low[i] and scales by 1.5, chances are that it's value is less than that or the current Low[i] price otherwise a negative value would be stored and it's not likely that that would be intended. The name implies that it is a 'range' of something.. perhaps the High/Low price of some candle, or candles? It's impossible to tell from what you have provided, can you post more code to put this in context?
Reason: