masoodkhodayi: since i am trading in lower time frames like 1 min and 5 min sometimes there is a quick action needed. like i'm trying to set SL to BE (stop loss to break even point ) asap. i have the script and can apply it to any hotkey of keyboard but extra mouse buttons available will make it faster
Instead of having several Scripts, create a single Expert Advisor (EA) with all their functionality, that monitors the keyboard and mouse and reacts to your input with the use of the OnChartEvent() handler.
![Event Handling Functions - Functions - Language Basics - MQL4 Reference Event Handling Functions - Functions - Language Basics - MQL4 Reference](https://c.mql5.com/36/55/event-handling-functions-functions__4.png)
Event Handling Functions - Functions - Language Basics - MQL4 Reference
- docs.mql4.com
Event Handling Functions - Functions - Language Basics - MQL4 Reference
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
hey
since i am trading in lower time frames like 1 min and 5 min sometimes there is a quick action needed
like i'm trying to set SL to BE (stop loss to break even point ) asap
i have the script and can apply it to any hotkey of keyboard but extra mouse buttons available will make it faster
thnaks