EarnForex/cTrader-Position-Sizer ? reverse-engineered prompt
Reverse engineered prompt
Build me a cTrader robot that acts like a position sizing panel for forex trading.
I want it to help me figure out the right trade size based on my risk amount, account balance, the currency pair I’m trading, broker commission, and any other settings a trader would normally care about. It should also show useful info like margin needed, expected profit or loss, portfolio risk, and swaps before I place the trade.
Make it easy to use right on the chart, with a clean panel UI, and let me open a trade either by clicking a button or using a keyboard shortcut. The main goal is to make sizing trades quick, accurate, and simple for someone who doesn’t want to do the math manually.
If you need to look up current cTrader docs or API details online, go ahead and do that.
Are you gonna build this?
make sure you review the code using coderabbit