Search for a GUI/Trade Assistant EA, like mine: Indicators: Money Manager Graphic Tool - Risk Management - Articles, Library comments - MQL5 programming forum - Page 8 #80 (2022).
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am currently in the process of migrating from DAS to MT5.
I am curious to know if MT5 allows fixed risk hotkeys like the one below (I used for DAS when trading stocks).
What this script does is below:
1. Double click on chart price to set stop loss
2. Enter hotkey for entry
3. Automatically calculates my share size to $50 based on the difference between entry price & stop loss (double clicked)
4. Cancels existing stop loss and sets a new one (if adding)
CXL ALLSYMB;StopPrice=Price-0;DefShare=BP*0.97;Price=Ask-Price+0.00;SShare=50/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price= Ask+0.05;TIF=DAY;BUY=Send;DefShare=200;Price=Ask-StopPrice*1+Ask;TriggerOrder=RT:STOP STOPTYPE:RANGE LowPrice:StopPrice HighPrice:Price ACT:SELL QTY:POS TIF:DAY+;
I've been trying to program something similar, but I haven't found a way to get the function working.
Any advice would be greatly appreciated, thank you in advance.