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:
9748
Rating:
(24)
Published:
2016.02.01 09:39
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The newly formed candlestick is analyzed, and an order is placed as soon as the breakout of High or Low of the previous candlestick occurs. Once the price gains profit equal to the value of stop loss, the order is moved to breakeven.

The number of orders is not limited, i.e. a situation occurs — an order is placed. In the screenshot is the result of testing on the daily time frame from the beginning of the year. The chart timeframe is specified in the program as well.

Testing Results

Testing chart

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

DayWPR DayWPR

The Williams Percent Range indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

DayStochastic DayStochastic

The Stochastic indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

Labouchere EA Labouchere EA

The Expert Advisor is based on the lot management according to the Labouchere system.

Guppy Multiple Moving Averages Guppy Multiple Moving Averages

The strategy by Daryl Guppy is implemented using this indicator.