Example I1: One indicator line used
This is not a ready-to-use trading strategy. A trading strategy requires adjustment to the timeframe and symbol, along with thorough backtesting. The example is intended as a foundation for your own custom strategy and to help you get familiar with the Expert Advisor Builder web application. To import and use an example, please follow the instructions provided here.
Description
This example demonstrates basic indicator gradient conditions for signal generation. The SMA indicator generates signals when its slope crosses above zero, indicating the moving average has started rising. This simple condition identifies potential trend beginnings with minimal complexity.
The gradient crossing approach differs from price-crossing methods by focusing on indicator direction changes rather than absolute positions. This often provides earlier signals as indicators begin turning before price crosses them. The visual signal lines clearly mark when gradient conditions are met.
Single indicator strategies prove valuable for understanding core concepts before adding complexity. This example teaches how indicator slopes generate signals, forming the foundation for more sophisticated multi-indicator approaches.
Recreate the Example
You can either import this example directly or set it up manually. To manually replicate the trading module, make sure a newly added module includes the following key settings and that the professional mode is activated:
Trade Basics
- Operation type = Long signals only drawn
- General signal visualization = On
Signal Generation - Indicators - SMA
- Signal in use = On
- Signal used for = Entry
- Selected indicator = SMA
- Gradient condition = Cross Limit 1
- Gradient limit 1 = 0.00000000
- Draw in chart = On
- Drawing slot = 1
Screenshots
