@crypton That is an ambitious project to do. Do you have any experience with Zigzag? It is a very tricky indicator to rely a strategy on, IMHO.