Foreword: If you as a programmer have a better suggestion or an idea for a more precise method then the described as it is intended then please propose your suggestion to me in order to achieve the best result available. Basically this EA is intended to work as a scalper. Concept EA Trendscalper (final name: Daisy cutter): Standard function: Entry buy at start of current candle, if Moving Average (simple Moving Average from MT4 --> Indicators --> Trend --> Moving Average) at previous candle has a positive ascent compared to the candle before. Entry sell at start of current candle, if Moving Average at previous candle has a negative descent compared to the candle before. At start of every candle, check slope between previous candle and candle before and if right trend then open order. Maximum one trade per candle shall be possible. Positive minimum ascent for open buy between previous candle and candle before definable: > X % change (X definable variable, % change or how ever slope can be measured by Moving Average indicator) Negative minimum descent for open sell between previous candle and candle before definable: < Y % change (Y definable variable, % change or how ever slope can be measured by Moving Average indicator) Slope 0 = NO opening of a new position (Standard function refers to slope between previous candle and candle before). *(Enhanced Functions) *Enhanced additional functions (dynamic calculations): Length of past slope (length of trend) = positive (buy) or negative (sell) slope reaches into the past over Z candles (Z definable, considering all defined candles), if C % of candles have positive or negative change to previous candle, then open respective order. AND/OR Average change % (sum of % changes between single candles/number of considered candles) over the last W candles (W definable) as a measure for reliability of the indicator Moving Average > X % change (X definable variable, % change or how ever slope can be measured by Moving Average indicator) < Y % change (Y definable variable, % change or how ever slope can be measured by Moving Average indicator). Further options: Fixed lot definable. Risk % definable (% lot of current balance). Stop loss definable. Trailing stop definable. TP definable. Trailing definable. Standard closing: Close position, if profit on next candle, else wait until profit and close order then. Otherwise TP preferably definable. Max. open positions definable. Magic number definable. Slippage definable. Entry: Weekdays for opening buy or sell trades individually definable (true/false), for every day and time. Exit: Definable day and time when all open orders shall be closed. (e.g. for closing all before weekends automatically to avoid shocks afterwards). Currency pairs: should be working on all. Time frames: should be working on all. (c) Christian Schuller