Watch how to download trading robots for free
Find us on Twitter!
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
Views:
7378
Rating:
(43)
Published:
2014.08.06 15:37
Updated:
2016.11.22 07:32
\MQL5\Indicators\
SimpleBars.mq5 (6.08 KB) view
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The Exp_SimpleBars Expert Advisor is based on the signals of the trend indicator SimpleBars.

The trade signal is formed when a bar is closing if the color of the indicator bars has changed.

For a correct operation of the EA, place the compiled indicator file SimpleBars.ex5 to terminal_data_older\MQL5\Indicators.

Note that the TradeAlgorithms.mqh library file allows using Expert Advisors with brokers who offer nonzero spread and the option of setting Stop Loss and Take Profit together with position opening. You can download more variants of the library at the following link: Trade Algorithms.

Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests.

Fig. 1 The instances of history of deals on the chart.

Fig. 1 The instances of history of deals on the chart.

Testing results for 2013 at XAUUSD H6:

Fig. 2. Chart of testing results

Fig. 2. Chart of testing results

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

Simple ZigZag Simple ZigZag

Another zigzag version with a simple code that correctly determines peaks.

Exp_KaufWMAcross Exp_KaufWMAcross

The Exp_KaufWMAcross trading system is based on change of the trend direction displayed by the KaufWMAcross indicator.

KaufWMAcross_HTF KaufWMAcross_HTF

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

SimpleBars_Signal SimpleBars_Signal

The SimpleBars_Signal indicator shows information on the current trend using the values of the SimpleBars indicator with a fixed timeframe.