Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
StrangeIndicator_HTF - indicator for MetaTrader 5
- Views:
- 4095
- 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
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 percentThe indicator finds candlesticks with a minimum or maximum shadow size. Limitation on the size of the candlestick body.
CloseAllPositions
The script closes all open positions on the current account.
ClosePositionsBySymbolThe script closes all positions of the current symbol.