Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 4026
- Rating:
- Published:
- 2017.05.29 13:50
- Updated:
- 2023.03.29 13:47
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The StrangeIndicator indicator with the timeframe selection option available in its input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
To provide correct operation of the indicator, add the compiled StrangeIndicator.mq5 indicator file to terminal_data_folder\MQL5\Indicators.
Fig1. Indicator StrangeIndicator_HTF
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/17942
![Candle shadow percent](https://c.mql5.com/i/code/expert.png)
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.
![Candle shadow percent](https://c.mql5.com/i/code/indicator.png)
The indicator finds candlesticks with a minimum or maximum shadow size. Limitation on the size of the candlestick body.
![CloseAllPositions](https://c.mql5.com/i/code/script.png)
The script closes all open positions on the current account.
![ClosePositionsBySymbol](https://c.mql5.com/i/code/script.png)
The script closes all positions of the current symbol.