Indicator that marks the 20-bar candlestick
0
If you copy and paste the following code into MetaEditor for MT5, you can do it.
If you ask Chat GPT for the detailed method, it will teach you politely.
↓
//+------------------------------------------------------------------+
//| Display orange dots for 20 bars including the current bar (stable version) |
//+------------------------------------------------------------------+
#property indicator_chart_window
#property strict
input int BarsBack = 20; // How many bars back including the current one
input color DotColor = clrOrange; // Color of the dots
× ![]()