TradePad_Sample
This EA is a trade pad/dashboard utility that creates a visual table of symbol buttons on the chart, color-coded by trend direction (up, down, flat). It does not open trades itself; it provides an interactive panel for the trader to click symbols and monitor trend states via periodic timer updates.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
This EA is not a trading strategy EA but rather an interactive trade pad dashboard utility. It creates a table of rows and columns via the CTradePad class, where each cell represents a symbol button. Button colors change dynamically based on trend state: up-trend displays olive drab, down-trend displays hot pink, flat displays dark gray, and unknown trend displays cornsilk. Entry and exit conditions are entirely determined by the user manually — clicking symbol buttons on the panel triggers operations, and the EA itself generates no trading signals. Position sizing and money management also fully rely on the trader's manual decisions, with the EA providing no automated position or money management features. A timer refreshes button colors every configured number of seconds to reflect the latest trend state. The panel supports drag-and-drop repositioning so the user can move it anywhere on the chart.
Strengths
- Provides an intuitive visual trading panel for traders to quickly switch and monitor multiple symbols
- Supports drag-and-drop panel repositioning with a flexible and customizable user interface
- Color-codes trend states for at-a-glance market direction display
- Timer automatically refreshes trend colors to keep information up-to-date
Weaknesses
- The EA does not execute any trades itself, serving only as an auxiliary tool with limited single-purpose functionality
- The CreatePad function always returns false (res is never set to true), indicating a clear logic defect
- Lacks error handling — no feedback when CTradePad object creation fails
- Trend determination logic is encapsulated in an external class, making its accuracy impossible to evaluate directly
Possible improvements
- Fix the return value logic of CreatePad and DeletePad functions to correctly reflect whether operations succeeded
- Add error handling and logging to provide useful feedback when panel creation or operations fail
- Add persistence for panel configuration so user's panel position and settings are preserved after restart
Risk assessment
Overall risk: Safe
- This EA does not execute any automated trades, posing no trading risk
- The external CTradePad class's SetButtons method may trigger trade operations, but requires active user click confirmation
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
TableRows | 5 | Number of table rows |
TableTop | 40 | Table top Y coordinate offset |
TableLeft | 20 | Table left X coordinate offset |
CellWidth | 70 | Cell width in pixels |
CellHeight | 40 | Cell height in pixels |
TimerPeriodSeconds | 5 | Timer refresh period in seconds |
UpTrendColor | OliveDrab | Uptrend color |
DownTrendColor | HotPink | Downtrend color |
FlatColor | DarkGray | Flat/ranging trend color |
UnknownTrend | Cornsilk | Unknown trend color |
Similar Utility EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.