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

AutoSet SL TP - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
22209
Rating:
(28)
Published:
2019.02.07 08:54
AutoSet SL TP.mq5 (23.46 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Idea by: Vladislav Andruschenko

mq5 code by: barabashkakvn

The EA place Stop Loss and Take Profit ONCE. In case of successful placing, it is aborted. In fact, this is a one-use EA, almost like a script. I just like it more to place this functionality in an EA.

It only works for the current symbol.

You can specify in its parameters: Stop Loss and Take Profit lot sizes and the type of the position, to which it should be applied (BUY, SELL, or both BUY and SELL). It it is allowed to modify the position, then the EA will change the Stop Loss and/or Take Profit forcedly. For example, modifying a BUY position is allowed and Stop Loss is set as above zero in the parameters, it means that in the BUY position, the Stop Loss will be changed forcedly in accordance with the Stop Loss input.


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/23445

Murrey_Math_Lv_Arr Murrey_Math_Lv_Arr

Indicator Murrey_Math_Lv with the levels shown as labels that can be changed in its input parameters

Breakdown catcher Breakdown catcher

Working with pending Stop orders

Close panel Close panel

A panel to close positions based on class CDialog. Buttons based on class СButton.

Murrey_Math_Lv_Arr_r Murrey_Math_Lv_Arr_r

Indicator Murrey_Math_Lv_Arr limiting the computer resources used in calculating and displaying the indicator on the chart