ZigZag Indicator export values

gerryg12

New member
Joined
Aug 19, 2023
Posts
1
Likes
0
Hello,

I am trying to get the high and low values of the current leg to be exported from the zig zag indicator. The current line is:

rd.exportValue(new ValueDescriptor(Values.DELTA, Enums.ValueType.DOUBLE, get("LBL_DELTA"), null));

--------------------------------------------

// Fill in delta values
for(int i = prev.ind+1; i <= p.ind; i++) {
series.setFloat(i, Values.DELTA, p.top ? series.getHigh(i) - series.getLow(prev.ind) : series.getLow(i) - series.getHigh(prev.ind));

But I think I need to export two of the values above but I do not know how to amend the exportValue line.

Regards,

Gerry

1693053587100.png
 
Top