EA based on Trend Indicator
Traders and programmers,
Im looking for an EA based on Trend indicator with the specifics are below.
- Trend.mq4 attached with these settings(Bands period=15 Bands deviation=5, power period=15 (we can change it)
-any time frame (adjustable)
-lots size 0.1 or (adjustable)
-Open buy for cross up (blue above red)
-Open sell for cross down (red above blue)
-The EA enters a trade on a new candle after crossing, not immediately
-If the next cross happen the trader will close the current trade and open an opposite one.
-stoploss , take profit and trailing stop are optional
-any pair and time frame
-max trades (adjustable)
Thanks in advance for any help and support
This indicator is very old one.
It came from Metatrader 3.
I have no idea who coded it first for MT3. May be Nick Beluck.
Later on Ramdass (russian coder) converted it to MetaTrader 4. And later on many people created many variations of this old well-known indicator:
Usually this indicator is using as a filter in EAs. For the first time we used it in Brainwashing EAs https://www.mql5.com/en/forum/trading_systems and EAs are profitable for same pairs/timeframe during the 2 and half a year forward testing with same settings (coder: Nick Beluck).
Value of this indicator is fully depends on broker's data. It means: different value for different broker. Usually people are using some formula to averaging this value for same period of bars and using the value of the indicator for the broker they want to trade with. Otherwise it will be very different performance.
Later on many people created many other EAs (Terminator and so on) but this EA used as a filter only with any EA coded.
May be there is some EA which is using this indicator as a main one but I did not see sorry.
Just for information.
I am looking for an indicator can show the trends and there strenth?
may be these are ...
I think trendlines are a great way of identifying the market direction. Understanding the direction of an underlying trend is one of the most basic ways to increase the probability of making a successful trade because it ensures that the general market forces are working in your favor. Many technical traders draw trendlines to identify an uptrend or a downtrend and will use this tool as a guide for when to sell as it can also be an early indication of a trend reversal. The break below an uptrend line is in itself a sell signal, attracting new sellers to the market.
If you want to learn more about trenlines check this blog:
Trendlines Potential CharlesMcG’s Blog
How to call this trend indicator from EA ?
I am trying to use this Instant trendline indicator from my EA. How do I use the iCustom call to get the value ?
Thanks for your help.
My apology for send the question twice.
Can someone show me how to use the iCust function to call this indicator from an EA ?
any indicator to show trend and filter sideways market like this ?
i wonder if there is any histogram that we can input several MA, let's say
EMA 21, EMA 34, EMA 55, EMA 89
if EMA 21 > EMA 34 > EMA 55 > EMA 89
the histogram will show uptrend
the histogram will show downtrend
other histogram wil show no trend
somebody can advise me, please ?
if EMA 21 < EMA 34 < EMA 55 < EMA 89
sorry for the mistake
4 MA Trend
This is not my indicator but I got it from another forum on a thread
I am trading and I love this indicator!
Great MA Trend indicator.. I am not sure
of the MA settings 0 is standard SMA, 1 is EMA
not sure of the rest but its in the code I am sure.