Dion
This may have been discussed before, but the following FW code
function onAction2() {
if (vLastAlert != 2)
drawShapeRelative(0, vSMA9.getValue(MAStudy.MA),Shape.DIAMOND, "", Color.blue,Shape.LEFT, bar);
vLastAlert = 2;
}
was modified to
function onAction2() {
bar=bar+1;
if (vLastAlert != 2)
drawShapeRelative(0, vSMA9.getValue(MAStudy.MA),Shape.DIAMOND, "", Color.blue,Shape.LEFT, bar);
vLastAlert = 2;
}
in order to draw the diamond shape in a number of locations.
Is this something the FW could add automatically?
This may have been discussed before, but the following FW code
function onAction2() {
if (vLastAlert != 2)
drawShapeRelative(0, vSMA9.getValue(MAStudy.MA),Shape.DIAMOND, "", Color.blue,Shape.LEFT, bar);
vLastAlert = 2;
}
was modified to
function onAction2() {
bar=bar+1;
if (vLastAlert != 2)
drawShapeRelative(0, vSMA9.getValue(MAStudy.MA),Shape.DIAMOND, "", Color.blue,Shape.LEFT, bar);
vLastAlert = 2;
}
in order to draw the diamond shape in a number of locations.
Is this something the FW could add automatically?