Locking is a situation where a trader simultaneously holds a long (LONG) and a short (SHORT) position of equal volume on the same asset. As a result:
The presented VR Locker Lite trading algorithm demonstrates working with one positive lock:
Operation algorithm:
Important things not to forget:
Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/26947
Trading strategy Heads or Tails
The classic version of the Heads or Tails trading strategy with the analysis of the signal block code.
RatioZigZag
A modification of the ZigZag indicator, where the reversal moment is determined by a specified coefficient.
VR Breakdown level - Trading strategy based on a breakout of the previous High or Low
A simple trading strategy based on breakouts of prior Highs and Lows.
ATR Strength Index
Average True Range input to the RSI formula adds direction to ATR.