Hallo, I want to write an indicator to mark divergences. The original code comes from an mql5 script. I can't get any further with the function to find the last through to compare it with the current one. Here is the code from mql5: //| Search last trough | //+---------------------------------------...