A custom cTrader indicator that draws vertical lines at user‑defined times to mark key trading sessions or events.
Designed for Smart Money Concepts (SMC) / ICT strategies, this tool helps visualize intraday timing and market context.
- Up to 8 configurable vertical lines per day
- Customizable time, color, style, and thickness for each line
- Option to show historical lines across past trading days
- UTC offset parameter for flexible timezone alignment
- Clean, modular architecture with enums, helpers, and services
- Open‑source, free to use and share
| Parameter | Type | Default | Description |
|---|---|---|---|
| Line X Time (HH:mm) | string |
varies | Time of the vertical line (e.g. 08:00). |
| Line X Color | enum |
varies | Line color (White, Red, Blue, Yellow, Green, Purple, Grey, Orange). |
| Line X Style | enum |
Dashed | Line style (Solid, Dotted, Dashed). |
| Line X Thickness | enum |
One | Line thickness (1–8). |
| Show Historical Lines? | bool |
false | If true, draws lines for all past trading days. |
| UTC Offset (minutes) | int |
60 | Offset from UTC in minutes (e.g. 60 for CET). |
Note: Each line (1–8) has its own set of parameters.
Example:Line 1 Time,Line 1 Color,Line 1 Style,Line 1 Thickness.
- Install the indicator in cTrader Automate (Visual Studio or cTrader Editor).
- Configure line times and styles in the indicator parameters.
- Adjust the UTC offset to match your local timezone or broker server time.
- Enable Show Historical Lines if you want to see past sessions marked on the chart.
- Enums: Define line style, color, thickness.
- Helpers:
LineVisualMappermaps enums to cTrader API types. - Models:
LineDefinitionencapsulates line properties and parsing logic. - Services:
LineDrawerhandles drawing logic and UTC conversion. - Indicator:
SMCTimingIndicatororchestrates initialization, daily updates, and history rendering.
Vertical lines marking key intraday times for one trading day. Ideal for SMC/ICT session structure visualization.
Historical lines drawn across multiple trading days. Useful for backtesting and pattern recognition.
Each line has customizable time, color, style, and thickness. History mode and UTC offset are also available.
- Clone or download this repository.
- Open in Visual Studio with cTrader Automate SDK installed.
- Build the project and load the
.algofile into cTrader. - Alternatively, import directly via cTrader Store (free).
- v1.0.0 – Initial release with 8 configurable lines, history option, and UTC offset.
Released under the MIT License.
You are free to use, modify, and distribute this indicator.
Contributions are welcome!
- Fork the repo
- Create a feature branch
- Submit a pull request
For questions or feature requests, open an Issue on GitHub.
Community discussions and feedback are encouraged.


