Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 10017
- Rating:
- Published:
- 2017.08.10 12:50
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator marks all performed trades with short horizontal lines, if such trades have corresponding arrows.
//+------------------------------------------------+ //| Indicator input parameters | //+------------------------------------------------+ //---- Indicator display settings input string Sirname="AutoTradeLevels"; // The name for the indicator labels input uint Len=3; // The length of price labels as the number of candlesticks
Fig. 1. The AutoTradeLevels indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/18635

Two ZigZag indicators are used for analysis.

The indicator draws a channel using the High and Low values of a candlestick of a higher timeframe specified in the indicator input parameters.

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

Trading strategy: the breakout of a High/Low in the selected time interval.