Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Trailing Activate Close All - expert for MetaTrader 5

Views:
4968
Rating:
(37)
Published:
2022.05.11 08:34
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Assistant

This assistant is designed to assist in manual trading. Works only on the current symbol, no restrictions on Magic number.

For trailing, a new parameter 'Trailing activate if profit is >= ' is used - this is essentially a breakeven for trailing. Trailing activates only after the position reaches profit in 'Trailing activate if profit is >= ' Points. If the position does not have Stop Loss and (or) Take Profit - the assistant will set the specified values (values that were specified in the input parameters). The assistant also monitors the target profit - when the target profit is reached, all positions will be closed.

Trailing Activate Close All

Pic. 1.Trailing Activate Close All

The Expert Advisor works only on the current symbol, but has no restrictions on the Magic number. In this case, the adviser, when modifying a position, copies the Magic of this position.

    Trailing Activate Trailing Activate

    Assistant - works on the current symbol, has the 'Trailing activate if profit is >=' parameter in the trailing parameters

    Rectangle in interval Rectangle in interval

    In a given time interval, a rectangle is constructed.

    Constant Range Channel Constant Range Channel

    A simple indicator plotting a channel with a constant range

    DeMarker gaining position volume 2 DeMarker gaining position volume 2

    Version 2: extended functionality (added a few extra options)