Loading…

Daily Plan Sticky Panel

A written trading plan only works if it stays in view, and a checklist only works if ticking an item actually sticks. Daily Plan Sticky Panel reads a plain text file - one rule or checklist line per row - and pins it to a chart corner as a set of clickable rows. Clicking a row toggles a tick mark, and the tick state is written to a terminal GlobalVariable immediately, so detaching and reattaching the indicator, or restarting the terminal entirely, restores exactly what was already ticked rather than resetting the checklist. Each tick's GlobalVariable name embeds today's calendar date. This is a deliberate design choice: it means a new trading day always starts with a completely fresh, unticked checklist with no manual reset step required, since a new date produces new (unset) variable names automatically. Yesterday's tick variables are not actively deleted by this indicator - they are simply abandoned, and MetaTrader's own global variable store already deletes any variable that goes unused for 4 weeks, so cleanup happens on its own without this tool needing to track or manage it. Notes and limitations Ticks are keyed by row position within the file, not by the text of the line itself - inserting or reordering lines mid-day shifts which tick applies to which row. Edit the plan file between sessions, not mid-checklist, to avoid this. The daily rollover is judged from the terminal's own clock (TimeCurrent, i.e. server time), not the trader's local timezone, so the reset moment may not line up with local midnight.

Indicator · MT4 · v1.0 · Free

About Daily Plan Sticky Panel

Daily Plan Sticky Panel is an indicator for MetaTrader 4. It has 12 settings, such as File name, Max rows and Row height. MQL source code included.

Files in the download: DailyPlanStickyPanel.ex4, DailyPlanStickyPanel.mq4, DailyPlanStickyPanel.txt.

Settings

SettingDefaultWhat it does
File nameDailyPlanStickyPanel.txtFile in MQL4\Files\, one plan line per row
Max rows15Maximum checklist rows shown
Row height18
Row width260
CornerCORNER_LEFT_UPPERENUM_BASE_CORNER
X offset10
Y offset10
File check seconds10Seconds between file re-read checks
Unchecked colorclrGainsboroColour on the chart
Checked colorclrLimeGreenColour on the chart
Unchecked bgclrDarkSlateGray
Checked bgC'20,60,20'

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the indicator from the Navigator onto a chart and adjust the settings.

Download the PDF guide

Tags: Trading Sessions · MT4 Indicator · MQL4 Source Code

MetaTrader 4 & 5 indicators · PolyMaria