Code: Select all
var:renko_red_green(0);
if C of data2 crosses over C[1] of data2 then begin //RENKO UP
renko_red_green=2;
end;
if C of data2 crosses under C[1] of data2 then begin //RENKO DOWN
renko_red_green=1;
end;
plot1(renko_red_green);
see the pics below
in the first graph there is a chart renko box size 7 ... 1 tick resolution.
in the second graph there is a chart with 20 points .. under the same chart before renko
in each .. An indicator appears when renko 'red plots 1 ... and when' green plots 2
But there is an error in the chart multiframe .. SEE PICS BELOW