Professional Documents
Culture Documents
STOCK 1 - Documentation MQL5
STOCK 1 - Documentation MQL5
Note: this is the exact same code as the Mean Reversion entry indicator but should use its own input
parameter for the length argument. Its best to make a function out of the code and call twice, once
for the entry and once for the exit, both with their own input parameter for the length argument.
Pyramiding Trades
Pyramiding trades is an input which has te set the amount of trades that can be open simultaneously.
Note that this means that if a maximum has already been met that no new trade can be opened until
a previous one has been closed due to either a stop loss hit or an exit indicator signal.
(AND)
(AND)
AND
AND
AND
AND
⮚ Candle is closed
Stop-loss:
Position size:
Risk per trade Equals position size times stop loss distance (input risk % per trade)
Pyramiding INTEGER
Trades