Trading based on preset candlestick combinations (patterns), using Take Profit and Stop Loss.
Candlesticks are marked as "1" (bullish) and "0" (bearish):
The desired combination of candlesticks is selected from the drop-down list:
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/18066
The indicator displays the candlestick size (High-Low) and its direction in the form of a colored histogram.MAX_LOT
The script calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit.