Content:
How to get a license for free!
More →
Crypto exchange
When a newcomer enters the financial markets, their first thought is: "I'll predict the price movement and get rich." Unfortunately, reality quickly sobers them up: trading without a plan is not a job but a gamble. It is the trading strategy that transforms chaotic entries and exits into a conscious business process. In this article, as a trader with many years of experience and a developer of trading systems, I will detail what a strategy is, why it is critically important, and how to earn consistently using it.
In the broadest sense, a trading strategy is a clear set of rules that defines every action you take in the market. It is an algorithm that answers three main questions: when to open a position, when to close a position, and what volume to trade.
Imagine you are an airplane pilot. You don't fly "by sight," orienting by clouds. You follow a flight plan, check instruments, know glide path entry points, and alternate airports. In trading, a strategy is that very flight plan. Without it, you are doomed to a crash landing.
It is important to distinguish strategy from tactics. Tactics are a specific entry today at 10:15 AM. Strategy is the system that generates hundreds of such tactics over months and years, ensuring a positive mathematical expectation.
Many self-taught traders stagnate for years, draining deposits because they ignore the main function of a strategy — protection from oneself. The market is neutral; it is neither friend nor foe. The only enemy of your account is your emotions: greed, fear, hope, and euphoria.
A trading strategy solves the following tasks:
Any working strategy, whether manual trading or code for MetaTrader, consists of four mandatory blocks. If at least one block is missing, it's not a strategy but guesswork.
This is the most obvious part that beginners think about. How to know when to buy or sell? This includes indicators, Price Action patterns, support and resistance levels, and news background. For example: "Buy when the fast moving average crosses the slow one from bottom to top, and the price is above yesterday's closing level."
Stop Loss is your insurance. It is the price at which you admit a mistake and close a losing position. Take Profit is the price for fixing profits. The mistake of most is that they spend 90% of their time looking for an entry and only 10% planning an exit. Professionals do the opposite.
What percentage of the deposit are you willing to risk in one trade? The classic rule of risk management in trading states: no more than 1-2% per trade. This also includes the maximum drawdown rule: if 5% of the deposit is lost in a day, turn off the terminal.
Without this component, the strategy is dead. You must record every trade so that after 3-6 months you can answer questions: What is the ratio of profitable to losing trades? What is the average profit factor? How does the strategy behave during news releases?
A systematic approach implies that the market is not chaos but a probabilistic environment. We don't know where the price will go in the next second, but we know that under certain conditions, there is a 60% probability it will go up.
A systematic trader thinks in series of trades. One loss is not a tragedy but a statistical error. It is the systematic approach that allows the transition from manual stress to the use of trading robots.
Creating your own trading strategy is not magic but a sequential engineering process. I identify seven stages that I have gone through myself and guide my students through. Even if you have never written a line of code, these steps will help structure your thinking. And if you master MQL, you can automate each of these steps.
Before drawing lines on a chart, honestly answer yourself: how much time are you willing to devote to trading? If you work in an office and can only glance at the terminal once an hour, H1 and H4 strategies are suitable for you. If you are ready to sit in front of the monitor all day, you can look towards scalping on M1-M5. Your psychotype is also important: can you endure a series of 5 consecutive losses? If not, you need a strategy with a high win rate (for example, trading from levels with short targets).
Do not spread yourself too thin. Choose one or two instruments. For beginners, I recommend currency pairs like EURUSD or USDJPY — they have high liquidity and clear reactions to news. Also, pay attention to gold (XAUUSD) for trend strategies. Each instrument has its own character: for instance, GBPUSD is more volatile and impulsive, while AUDUSD is calmer and more technical. Study the Average Daily Range (ATR) of the chosen instrument. This will form the basis for calculating stop-loss and take-profit levels.
Every strategy starts with a simple idea. For example: "Price often bounces off round levels like 1.1000, 1.1100, etc." or "After important Non-Farm Payrolls news, the market makes an impulsive move that then corrects by 50%." Write down this hypothesis in plain language. It is at this stage that you must understand what you are looking for on the chart: a trend, a flat, a breakout, or a bounce. Do not try to create a strategy that works always — such things do not exist. Look for a pattern that repeats at least 40-50% of the time, but with a good risk/reward ratio.
Now turn the idea into clear, unambiguous rules. For each trade, the following must be defined:
If a rule cannot be written as a formula or strict instruction, it is subjective and will lead to errors. It is at this stage that many manual traders decide to learn how to create trading robots, because MQL code demands absolute clarity of formulations.
Before running the Strategy Tester in MetaTrader, scroll through the chart manually for 500-1000 candles back. Use the "Tick by Tick" mode or simply drag the chart with the mouse. Your goal is to find at least 30-50 signals according to your rules and record the results in Excel. Calculate:
If at this stage the strategy shows a negative mathematical expectation, do not be discouraged. Perhaps you need to add a filter (e.g., do not trade against the senior D1 trend) or adjust the take-profit to stop-loss ratio. This stage takes 2-3 hours but saves weeks of useless testing in the Strategy Tester.
Here is where the real magic begins. You write the code of a trading advisor in MQL4 or MQL5 that exactly implements your rules from Step 4. Run the advisor in the MetaTrader Strategy Tester over a period of at least 2-3 years. Use the "Every Tick" mode for maximum accuracy. Analyze the report: the profit factor should be above 1.3, drawdown no more than 20-30%, and the number of trades at least 100 (for reliable statistics). If the results are unsatisfactory, return to Step 4 and adjust the rules.
Even if the backtest showed a "Holy Grail," do not rush to deposit all your capital. Trade on a demo account for at least 2-4 weeks to ensure the robot correctly handles market orders, slippage, and news gaps. Then move to a cent or micro account with the minimum lot size. Only after 3-6 months of stable performance on the live market should you gradually increase volumes according to your money management.
Remember: strategy development is an iterative process. The market changes, and your strategy must adapt. Once a quarter, conduct a fresh backtest on recent data and optimize parameters if necessary. Mastering the skills of creating robots makes this process fast and manageable. You are not just a trader; you are an engineer designing your financial future.
The question "How to earn?" has a simple but not easy answer: strictly follow the rules of a system with a positive mathematical expectation.
Mathematical expectation (ME) in trading is calculated using the formula:
ME = (Probability of Profit * Average Profit) — (Probability of Loss * Average Loss).
If ME > 0, you will be in profit over the long term, even if you have only 40% winning trades. The secret to earning is not a "magic indicator" but ensuring that the average profit is greater than the average loss. For example, risk 10 pips, target 30 pips.
A human gets tired, wants to sleep, gets angry or happy. Code in MQL4/MQL5 for MetaTrader lacks these shortcomings. A trading robot (Expert Advisor) is the software embodiment of your trading strategy.
Once you have formalized the rules of entry, exit, and risk management into a clear algorithm, you can write a trading advisor. This provides enormous advantages:
Creating your own trading robots is the logical next step for any disciplined trader. By learning to code your strategies, you free yourself from the screen and let the algorithm do the heavy lifting while you focus on research and optimization.
To solidify understanding, here are a few simple examples that are easy to algorithmize into trading advisor code.
Instrument: Any currency pair.
Timeframe: H1.
Entry: Buy when EMA(20) crosses EMA(50) from bottom to top. Sell — vice versa.
Exit: Stop Loss 30 pips. Take Profit 60 pips.
Risk: Fixed lot 0.1 per $10,000 deposit.
Instrument: Gold (XAUUSD).
Timeframe: M15.
Entry: When the price touches a strong support level (determined by yesterday's low), if a bullish "Pin Bar" candlestick pattern forms on M5.
Exit: Stop Loss below the pin bar low, Take Profit at the nearest local high.
A trading strategy is not a luxury but a means of survival in the world of trading. Without it, your deposit will sooner or later move into the pockets of more disciplined market participants. A systematic approach turns guessing into calculation and stress into routine algorithm operation.
By combining a solid strategy with automation, you create a business that works 24/7. Whether you code it yourself or use ready-made solutions, the principle remains the same: plan your trade and trade your plan.
Telegram community
Comments