I am debugging a custom indicator, which is to modify an exact copy of an existing one.
The member variables of this indicator has Series data. How I can visualize these data in debugging through it?
Right now, I can use visual studio to put break points in the code to step through. I also know how to print output messages to the output window. But is there a way to plot these member variables on a plot, preferably side by side with the price bars in the chart?
Please share how do you visualize the data along debugging. The chart cannot be seen when a break point is hit.
Many Thanks
Best Regards
David WANG
public class ZigZagPlus : Indicator
{
private Series<double> zigZagHighZigZags;
private Series<double> zigZagLowZigZags;
private Series<double> zigZagHighSeries;
private Series<double> zigZagLowSeries;
private double currentZigZagHigh;
private double currentZigZagLow;
private int lastSwingIdx;
private double lastSwingPrice;
private int startIndex;
private int trendDir;

Comment