I'm using an indicator on NT7 to compute and display predictions of certain events on a price chart. In order to count and compare target and predicted events I use SreamWriter to download all occurrences to a file, and then sum it up in Excel.
Would it be possible to have the sums printed to the output window ?
Here is the type of data I use:
targetSignal = (target == true) ? 1:0;
modelSignal = (model == true) ? 1:0;
scoreTP = (targetSignal + modelSignal == 2) ? 1:0;
scoreFP = (targetSignal == 0 && modelSignal == 1) ? 1:0;
What I need is the sum of each - scoreTP and scoreFP.
Anybody...…??
Comment