Join our fan page
- Published by:
- Vladimir Karputov
- Views:
- 5150
- Rating:
- Published:
- 2018.03.01 12:00
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Author of the idea: Andrey, author of the mq5 code: barabashkakvn.
The Expert Advisor checks two parameters: the profitability of the last closed trade and the account balance.
Input Parameters
- Stop Loss (in pips) - Stop Loss value;
- Take Profit (in pips) - Take Profit value;
- magic number - unique identifier for the EA.
Testing on EURUSD,M30
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/19968
![TrailingStopAndTake](https://c.mql5.com/i/code/expert.png)
Simple trailing of stop loss and take profit orders of open positions.
![Vector](https://c.mql5.com/i/code/indicator.png)
An oscillator of market movement, mood and trend.
![Channels](https://c.mql5.com/i/code/expert.png)
Trading in a channel based on a Moving Average with the period of 220 and three Envelopes with the periods of 220 and different heights. Position trailing.
![Instantaneous Trend Line (generalized)](https://c.mql5.com/i/code/indicator.png)
This version differs from the original Instantaneous Trend Line in one important part: instead of using fractional alpha parameter for calculation, this version uses period which makes it the same category as averages are and the usage becomes a bit more intuitive than the original version.