Quick Start Guide
Build your first automated trading strategy in under 5 minutes.
Overview
In this guide, we will build a classic Simple Moving Average (SMA) Crossover strategy. The logic is simple:
- Buy when the fast SMA (10) crosses above the slow SMA (20).
- Sell when the fast SMA (10) crosses below the slow SMA (20).
Step 1: Create a New Strategy
- Log in to the EdgeKeeper Dashboard.
- Click the "New Strategy" button.
- Name your strategy "My First Bot" and click Create.
Step 2: Configure Data Source
When you create a new strategy, you will see two nodes already on the canvas: Fetch Data Price and Timeframe Selector.
- Click on the Fetch Data Price node.
- In the configuration panel (right sidebar), select
OANDA:EUR_USDas the Base Trading Pair. - Click on the Timeframe Selector node (connected to the Fetch Data Price node).
- Set the Timeframe to
1h.
Step 3: Add Indicators
We need two Moving Average indicators.
- Open the Node Library (left sidebar).
- Drag two Moving Average nodes from the Indicators category onto the canvas.
- Connect the
OHLCV Dataoutput of the Timeframe Selector node to theSourceinput of both Moving Average nodes. - Select the first Moving Average node. Set Period to
10(Fast). - Select the second Moving Average node. Set Period to
20(Slow).
Step 4: Define Logic
Now we determine when to buy.
- Drag a Crossover node from the Logic category.
- Connect the Fast SMA output (first node) to Input A.
- Connect the Slow SMA output (second node) to Input B.
- This node will output
Truewhen the Fast SMA crosses above the Slow SMA.
Step 5: Execute Orders
- Drag a Buy node from the Execution category.
- Connect the output of the Crossover node to the
Triggerinput of the Buy node. - (Optional) You can repeat the logic with a Cross Under node and a Sell node to close the position.
Step 6: Run Backtest
Click the Run Backtest button in the top toolbar. Wait a few seconds, and you'll see the performance report in the bottom panel!
🎉 Congratulations! You just built your first algorithmic trading bot without writing a single line of code.