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
New article Creating an EA that works automatically (Part 04): Manual triggers (I) has been published:
Today we'll see how to create an Expert Advisor that simply and safely works in automatic mode.
This is a way to send market orders to a trade server. We have the following behavior: When CTRL is pressed, the condition is true here, and now we can check the second condition. This second condition indicates whether we are buying at the market price or selling at the market price. For this, we will use arrow keys. If CTRL + Up Arrow are pressed, we are performing a market buy operation following the parameters present in the user interaction area. If CTRL + Down arrow are pressed, this is a market sell operation based on the same parameters.
These parameters are shown in Figure 1:
Figure 1. EA parameters
Author: Daniel Jose