At the beginning of the day, an order is issued to delete pending orders that did not work. Then, at a distance of 'Pending: Indent', two opposite (Stop or Limit) pending orders are placed (the type is set in 'Pending Type')
Pic. 1. Two pending orders 2
The Expert Advisor is a joke: the position is opened randomly. Now there is a Stop Loss, Take Profit and much more
Expert is a joke! The position is opened at random!
Allows you to determine the occurrence of a new bar event in a multicurrency Expert Advisor
Modify to allow direct specification of the starting point of the Parabolic SAR.