Тестер перекраски v1.00
Repaint Tester for MT4
Indicator that can test with 100% confidence if an indi is a repainter or not
Just put the right settings and run the indicator in the strategy tester (any TF)
wait for 100 bars (or the number you define), and check the results in the logs every N bars
settings :
extern string IndiName = "";
put here the indi name to test
extern string buffersToTest = "0,1,2,3";
put the buffer numbers you want to check, separated by commas
extern int verifyEveryNBars = 100;//Verify Repainting Every N Bars
it will compare recorded and retrieved values every N bars
extern int precision = 1;// precision (multiples of Point value)
Precision of the test. For convenience, use the value "Point()" value for checking if values are identical or not.
extern bool printDetail = false;
if you want the detail of both values, from the recorded ones to the retrieved ones.
extern bool skipFirstValue = true; //skip first value (because can be different even on non-repainters)
Recommended leaving it to TRUE, because you can have sometimes a different value of the very first value even with non-repainters.
example :
indicator ddd (non repainter). 4 buffers
results :
Code:
CheckForRepainting GBPUSD,H1: NON-REPAINTER
CheckForRepainting GBPUSD,H1: Buffer n°4 (which index is 3) has repainted 0 values over 100 values
CheckForRepainting GBPUSD,H1: Buffer n°3 (which index is 2) has repainted 0 values over 100 values
CheckForRepainting GBPUSD,H1: Buffer n°2 (which index is 1) has repainted 0 values over 100 values
CheckForRepainting GBPUSD,H1: Buffer n°1 (which index is 0) has repainted 0 values over 100 values
indicator hp-t01 (repainter) 1 buffer
results :
Code:
CheckForRepainting GBPUSD,H1: REPAINTER
CheckForRepainting GBPUSD,H1: Buffer n°1 (which index is 0) has repainted 99 values over 100 values