Hi Mr.Tools,mrtools wrote: Tue Dec 21, 2021 4:51 am First need to fix the code
this
needs to beCode: Select all
trend[i] = 0.0; if((High[i+1] < Low[i-1]) && (body[i] > body[i+1]) && (body[i] > body[i+2]) && (body[i] > body[i+3]) && (iVolume(NULL,0,i-LagBar)>1)) { trend[i] = 1; } if((Low[i+1] > High[i-1]) && (body[i] > body[i+1]) && (body[i] > body[i+2]) && (body[i] > body[i+3]) && (iVolume(NULL,0,i-LagBar)>1)) { trend[i] =- 1; }
Code: Select all
trend[i] = 0.0; if((High[i+1] < Low[i+1]) && (body[i] > body[i+1]) && (body[i] > body[i+2]) && (body[i] > body[i+3]) && (iVolume(NULL,0,i-LagBar)>1)) { trend[i] = 1; } if((Low[i+1] > High[i+1]) && (body[i] > body[i+1]) && (body[i] > body[i+2]) && (body[i] > body[i+3]) && (iVolume(NULL,0,i-LagBar)>1)) { trend[i] =- 1; }
After I replaced the code now became no arrow on the chart....
