First of all, let me declare that in this article, I will not talk about how to write EA functions. Anyone who has written EA should know that there are only a few functions, and the most important thing is logic and thinking.
As we all know, in the world of foreign exchange, a set of high-quality foreign exchange EA trading signals can save a lot of things, so today we will talk about the logic contained in the so-called foreign exchange trading signals, and why others can make money with the same foreign exchange trading signals When you get money and use it yourself, you will either resist the position or lose money.
When developing foreign exchange EA, there will be three basic functions, one is initialization (init), and the other is dynamic (Ticket). Initialization is used to initialize some normal variables, and Ticket dynamic is used to monitor the current foreign exchange trading varieties. Real-time dynamic market, and the dynamic market is linked to the time chart,
For example: 1-minute market chart, 5-minute market chart, 1-hour market chart, monthly line chart, etc.
OK, after talking so much, let’s get down to business, we want to use foreign exchange EA signals, we must know some conventional theoretical knowledge
In fact, there is no difference between foreign exchange and coin tossing in essence, but they are different in timeliness. Forex can wait for the market to return, but coin tossing is a single speculation.
But adding timeliness to coin tossing, there is essentially no difference in fluctuating profit changes such as continuous investment of 1 yuan at a time, and fluctuations in profits such as continuous investment and 1 lot of foreign exchange.
Aside from spreads and handling fees, including the support of foreign exchange market information, because foreign exchange often fluctuates without news, and we cannot get first-hand news.
So, we can think of the probability as 55.
In probability, a single rise and fall has nothing to do with it, it is an independent random event.
But if it is in big data, there will be something called "trend", but there are also unilateral and shocks in the trend. Unilateral and shock are also unpredictable.
Therefore, if we want to write a set of our own order brushing EA, we must structure the underlying logic, when we enter the market, and what are the scene modes for entering the market.
for example:
1. How long after the unilateral end, and what data is used to determine the entry.
2. How to determine that the current data trend is oscillating should be proved by historical data or calculation formulas.
3. The mode of entering and exiting the market, whether the current order is suitable for Martin or grid flat investment, including the forced intervention mechanism of each plan.
There are a few points to note
1. If you write foreign exchange EA transactions not for profit, but for swiping orders, you will surely die, because you have sacrificed the spread.
2. The spread of foreign exchange and the water money of lottery tickets are born for the purpose of intervening in order swiping. A single speculation itself requires a certain amount of luck. Doing this frequently and frequently is tantamount to betting against a casino. Gold is unlimited, and our Martin's money is limited.
3. In the case of determining the purpose, there is no difference between high-frequency multiple times and a single large lot, but high-frequency will miss many good opportunities. This is an unsolvable problem. Even with the most perfect mechanism to support it, there will be a risk of being exploded. Just to see if I can find it.
In layman's terms, we can use 0.01 lot, manually do 1 lot or even 10 lots a day, but it's completely different when we enlarge the amount of funds.
Therefore, what we have to do is to turn the process of manual operation from 0.01 lot to 1 lot into logic and put it into the code. This method is called stream of consciousness. Everyone's experience and judgment basis are different. When you play this 0.01, many methods will come back in your mind, including how to get out. What we have to do is to write all these things one by one as a method function, and then set the priority to determine what scheme and mechanism to use in the current scene.
Ok, after talking so much, I just want to tell you one thing, EA is awesome, and it can only replace half of the manual operations. It is impossible to truly liberate your hands, otherwise those foreign bosses would not use their EA to cut leeks. The best foreign exchange trader is to be truly non-greedy and stable. As long as you are stable enough, a simple increase in Martin's position can make a profit.