Skip to content

Module 02 · Idea to live, in order · Lesson 06

From idea to written rules

If you cannot write it as a list a stranger could follow, a computer cannot follow it either.

5 minute read

The lifecycle, in order

Idea → written rules → code → backtest → forward test on demo → small live → review. Every step catches a different kind of mistake. Skipping one does not save time; it moves the discovery to the step where it costs real money.

A complete rule set answers six questions

When do I enter, and in which direction? Where is the stop, decided before entry? When do I exit with a profit, or do I let an opposite condition close me? How much do I risk per trade? When do I not trade (sessions, releases, spread)? When do I stop for the day or week?

"Buy the dip in an uptrend" answers none of them. "On the daily chart, if the close is above the 200-day average and RSI(14) crosses back above 30, buy at the next open with a stop 2× ATR(14) below" answers most of them.

Write the reason, too

Next to each rule, write why you think it should matter. A rule with no reason is a rule you will be tempted to tweak until the backtest looks good — which is the subject of module 4.

Takeaways

  • Idea → rules → code → backtest → demo → small live → review.
  • A rule set must cover entry, stop, exit, size, no-trade times and stop-for-the-day.
  • Write down why each rule should matter before you test it.
Check your understanding

One-question check

Which of these is a rule an EA can execute?

Your rules, our teaching. MarketPanda provides no strategy, no settings that “work” and no signals. Everything here is education; nothing is a recommendation to trade.

Content source: Bundled MarketPanda content.