30 Jan 2019, 14:41

From a link on Tutorial By User (FxDreema) I have extrapolated this fantastic listing for the calculation and use of the swing (ZigZag). I managed to plot the values (high - low) of the previous swing on the graph. In addition, the differential (Delta) of the two previous values was always shown on the graph.
Now I would like to back-test the EA, write a file, in .cvs format, which reports the differential (Delta) for each generated swing, in order to make some statistical processing on the .csv file, so generated.
This is the link, with the work to finish ...
https://fxdreema.com/shared/NPjU0bSib

Thanks to those who will help me, correcting my mistakes.