Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/13769
Elementary trailing stop able to distinguish its "own" orders among others by comment and/or Magic number. It also distinguishes the financial instrument that needs to be trailed.PinBar
The indicator marks the pin bars on the chart based on the parameters set.