Today, I’m presenting the first indicator of my project, Alchemical Magnum Opus. I’m not sure how far I’ll go with this, but each component of the project will have its own dedicated topic to keep things as organized as possible. Once the main Alchemical Magnum Opus topic is created, all references will be consolidated there.
Enough preamble - let’s get to it.
This panel will eventually open and close trading operations, but for now, it only includes two non-functional buttons. I’ve also added stop-loss and take-profit lines with placeholder data. You can either use a percentage-based stop (which calculates pips based on account balance) or disable it and set a fixed value.
Note: A more refined control system will be implemented soon.
The take-profit works similarly, with the only difference being an added multiplier.
In the DLY P/L section, you can disable extra info like net or gross profit. There’s also a selection option that should account for swaps and commissions.
Open Pips and Open Positions are not yet implemented and will be added in future updates.
I’m currently struggling with pip calculations and would appreciate any advice on how to refine them.
Known Bugs:
- Panel border colors aren’t working correctly (still troubleshooting).
- Occasionally, the graphics glitch - switching timeframes temporarily fixes it. I’ll investigate further for a permanent solution.
Best regards,
Thoth
Update – April 24th: Download the File Again
*) Added two new fields to the Position Panel: Swap and Fee.
*) The Position Panel now only tracks open trades for the symbol where the panel is located.
*) The Balance calculation has been updated to account for all trades across all symbols (as shown in the additional screenshot).
*) Fixed an issue with the Stop Loss, Take Profit, and Median lines. Previously, they were incorrectly based on the Stop Loss level instead of the Median line. This has now been resolved.
*) Minor bug fixes and optimizations.

