Trading Statistics Dashboard for cTrader
Trading Statistics Dashboard for cTrader — an experiment shown in the showcase reel.
Lifecycle
Video
Trading Statistics Dashboard for cTrader — an experiment shown in the showcase reel.
Details
Prompt
Create a professional cTrader indicator named 'Trading Statistics Dashboard'. The indicator should display a modern dashboard in the top right corner of the chart using cTrader controls. The dashboard should be designed so additional statistics can easily be added in future versions. For this first version, focus only on creating the dashboard layout and displaying the following account statistics: - Account Balance - Account Equity - Free Margin - Margin Level - Open Positions - Pending Orders Requirements: - Use a clean professional appearance suitable for both light and dark themes. - Display a dashboard title with a light blue border. - Automatically resize width and height based on the content. - Allow the dashboard position to be changed using parameters (Top Left, Top Right, Bottom Left, Bottom Right). - Include parameters for font size and dashboard opacity. - Refresh automatically whenever account information changes. - Follow official cTrader API best practices. - Keep the code well structured and modular so additional dashboard sections can easily be added later.