It is a simple indicator that places semaphore points on the maximum and minimum of a higher, medium and lower period.
The basis of the zigzag calculation is the algorithm by klot.
Period1=5; Periods are set. If you want to remove a semaphore, set 0.
Dev_Step_1=”1,3″; Deviation and step of each period are set. Two figures comma separated. Deviation and step are like in a simple Zigzag.
Symbol_1_Kod=140; The semaphore symbol on a chart can be changed. The figure is the current symbol code.
This indicator was written during the current work of creating an algorithm of an Expert Advisor according to the system “folding rule by Likhovidov”.