Join our fan page
- Views:
- 8621
- Rating:
- Published:
- 2017.05.29 13:50
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator finds candlesticks with a minimum or maximum shadow size. Limitation on the size of the candlestick body.
Inputs:
- The candlestick body parameter
- The minimum size of the candlestick body
- Parameters of the upper shadow
- true -> display candlesticks based on the upper shadow
- The size of the upper shadow (as a percentage of the body)
- true -> minimum size, false -> maximum size
- Symbol code (32-255)
- Parameters of the lower shadows
- true -> display candlesticks based on the lower shadow
- The size of the lower shadow (as a percentage of the body)
- true -> minimum size, false -> maximum size
- Symbol code (32-255)
- The shift parameter
- The vertical shift of the arrows (0-255)
An example of search based on the upper shadow, the size of the upper shadow is set as the MAXIMUM size. In other words, we are looking for the upper shadow, which does not exceed the specified MAX value:
An Expert Advisor based on this indicator is available here: Candle shadow percent.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/17939

The indicator finds candlesticks without an upper or lower shadow. The indicator style is DRAW_ARROW.

The Expert Advisor closes all positions opened on the account, if the current server time has exceeded the time limit specified in the input variables.

The Expert Advisor is based on the indicator with the same name. Lot is calculated based on the risk value as a percentage of free margin.

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