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.
Hopefully it will be useful for someone.
The arguments passed to the function:
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/13744
The indicator marks the pin bars on the chart based on the parameters set.Forex Fraus (for M1)
The Expert Advisor is based on the Williams Percent Range indicator. It sells in the overbought zone and buys in the oversold zone. Trailing Stop and operation timer are attached to it.