Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2017.01.19 17:12
Experts

TrendMeLeaveMe - expert for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Published by:
Vladimir Karputov
Views:
863
Rating:
votes: 20

Author of the idea — Ahmad Waddah Attar, author of the mq5 code — barabashkakvn.

TrendMeLeaveMe is a MetaTrader 5 EA. The semi-automated Expert Advisor using a trend line (TrendLIne). 

Before launching the EA, simply draw a bullish or a bearish trend. Set the properties, launch the EA and you are free to focus your attention on something else.

This is an automated EA. First, you should draw an upward, downward or horizontal trend:

Trend Line 

Name it buystop or sellstop and set the BuyStop_StepUpperBuyStop_StepLowerSellStop_StepUpper and SellStop_StepLower parameters 

When the price enters the area between your buystop and BuyStop_StepLower levels, the EA opens a buystop order following the BuyStop_StepUpper price. When the price enters the area between your sellstop and SellStop_StepUpper levels, the EA opens a sellstop order following the SellStop_StepLower price. 

The EA always changes the OpenPrice for both order types when the price follows a trend till it leaves the displayed area.

You can adjust BuyStop_StopLoss , BuyStop_Takeprofit and BuyStop_Lot to open a buystop order. You can also set SellStop_StopLossSellStop_Takeprofit and SellStop_Lot for a sellstop order.

Here is how it looks on the charts:




Another example:



 


Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/16921

Simplest Hedging EA ever Simplest Hedging EA ever

Only for hedge accounts. Opening two opposite positions on a new bar.

XXDPO_HTF XXDPO_HTF

The XXDPO indicator with the timeframe selection option available in the input parameters.

Searching Nearest Bar Searching Nearest Bar

Searching Nearest Bar - searching for the nearest bar.

BBand Width Ratio BBand Width Ratio

An implementation of Bollinger Bands width indicator for MetaTrader 5.