Feature Request: Persistent and Independently Configurable AI Assistant Sessions

 

Feature Request: Persistent and Independently Configurable AI Assistant Sessions

I would like to suggest an important improvement to the MetaTrader 5 AI Assistant.

1. Independent AI Assistant Sessions

The AI Assistant should support multiple independent sessions, similar to separate workspaces or conversations.

For example:

  • Session 1: Trading analysis

  • Session 2: Expert Advisor development

  • Session 3: Strategy Tester analysis

  • Session 4: Risk management

  • Session 5: A specific Expert Advisor project

Each session should maintain its own context without mixing information from other sessions.

2. Independent Instructions / Training for Each Session

Each session should allow the user to define persistent instructions specific to that session.

For example, a session dedicated to an Expert Advisor could contain instructions such as:

  • Project architecture

  • File structure

  • Trading rules

  • Risk-management rules

  • Functions that must not be modified

  • Development workflow

  • Testing requirements

The AI Assistant should retain these instructions and use them whenever that session is opened.

This would allow developers and traders to create specialized AI workspaces inside MetaTrader 5.

3. Persistent Session History

Currently, an important practical limitation is that the useful working context of the AI Assistant can be lost after closing the AI Assistant window or restarting MetaTrader 5.

AI Assistant sessions should therefore be persistent.

Closing:

  • the AI Assistant window,

  • a chart,

  • or MetaTrader 5 itself

should not destroy the session.

When MetaTrader 5 is restarted, the user should be able to reopen the previous AI session and continue from exactly where the work stopped.

Suggested Session Model

A possible structure could be:

AI Assistant
→ Sessions
→ Session Name
→ Persistent Instructions
→ Conversation History
→ Related Charts / Symbols
→ Related Expert Advisor
→ MCP activity / results

For example:

Session: TipTop Development

The session could remember:

  • the TipTop Expert Advisor project,

  • its development rules,

  • previous debugging results,

  • Strategy Tester findings,

  • relevant symbols and charts,

  • previous AI analysis.

The next time MetaTrader 5 starts, the developer could simply reopen the "TipTop Development" session and continue the work without rebuilding the context from the beginning.

Why This Is Important

The new MCP and Agent capabilities in MetaTrader 5 make the AI Assistant much more powerful.

However, as tasks become more complex and long-running, persistent context becomes essential.

Without persistent sessions, users repeatedly need to explain:

  • what project they are working on,

  • what was already tested,

  • what decisions were made,

  • what restrictions must be respected.

Persistent, independently configurable sessions would transform the AI Assistant from a temporary chat window into a real development and trading workspace.

Suggested Features

  • Create / Rename / Delete AI sessions

  • Save sessions automatically

  • Restore sessions after MetaTrader restart

  • Persistent custom instructions per session

  • Associate a session with an Expert Advisor or project

  • Associate a session with specific symbols/charts

  • Search previous sessions

  • Export / import session

  • Session-specific MCP context

  • Optional session memory limits and reset controls

This would be especially useful for long-term Expert Advisor development, trading research, debugging, and Strategy Tester workflows.