i will plot the array on chart, but have not really a plan. the only what i know is on console.
protected override void OnBarUpdate()
{
// Use this method for calculating your indicator values. Assign a value to each
// plot below by replacing 'Close[0]' with your own formula.
if (CurrentBar < 50) return;
double[] x = new double[CurrentBar];
for (int i = CurrentBar; i > 0; i--)
{
x[CurrentBar - i] = Input[i];
}
wavelet_spectrum( x );
for(int i = 0; i < x.Length; i++)
Print(x[i]);
Print("");
}
wh
Comment