Day of the week _ NY_midnight_Marker

10/11/2025
Desktop



📘 Day of the Week _ NY_Midnight_Marker
Day of the Week _ NY_Midnight_Marker is a precision tool designed for intraday traders using the cTrader platform. This indicator draws a vertical line at midnight based on your selected time zone and labels it with the corresponding day of the week. It helps traders visually segment daily trading sessions, making it easier to analyze price behavior across days and align strategies with market cycles.
🔍 What It Does
- Midnight Detection: The indicator identifies the exact moment of midnight in your chosen time zone and marks it on the chart.
- Time Zone Conversion: It converts cTrader’s UTC server time to your selected local time zone using .NET’s
TimeZoneInfoclass. Supported zones include: - New York (Eastern Standard Time)
- UTC
- London (GMT Standard Time)
- Lagos (W. Central Africa Standard Time)
- Vertical Line Drawing: At each detected midnight, the indicator draws a vertical line on the chart using your selected line color.
- Day-of-Week Labeling: It adds a text label directly below the candle’s low at midnight, showing the name of the day (e.g., Monday, Tuesday).
- Custom Color Options: You can choose separate colors for the vertical line and the label text. Available colors include Red, Blue, Green, Yellow, Black, and White.
- Timeframe Filtering: To maintain clarity and relevance, the indicator only runs on intraday timeframes—specifically:
- 1 Minute
- 5 Minute
- 15 Minute
- Smart Label Positioning: Labels are placed just below the candle’s low using a small offset (5 pips), ensuring they don’t clutter the chart or overlap with price action.
⚙️ Parameters
ParameterDescription
Line Color
Sets the color of the vertical midnight line.
Label Color
Sets the color of the day-of-week label text.
Time Zone
Selects the time zone used to calculate midnight.
🧠 Why It’s Useful
- Session Awareness: Helps traders visually separate trading days, especially useful for strategies that depend on daily opens or closes.
- Time Zone Flexibility: Whether you're trading New York hours or London sessions, this tool adapts to your preferred market rhythm.
- Minimalist Design: Adds clarity without clutter—just a clean line and a label to guide your analysis.
- Code Quality: Built with clean C# using cAlgo API, with modular enums and helper methods for maintainability.
0.0
التقييمات: 0
تقييمات العملاء
لا توجد تقييمات لهذا المنتج حتى الآن. هل جرَّبته بالفعل؟ كن أول من يخبر الآخرين!
قد يعجبك أيضًا






.png)









