EAsiScript enables you to leverage artificial intelligence for creating preset files and developing trading strategies. By providing AI with your strategy requirements and the EAsiTrader documentation, you can generate compliant preset files that are ready for testing and optimization. This approach combines the efficiency of AI with your trading expertise, allowing you to rapidly develop and refine strategies while maintaining full control over their implementation and risk management.
The key to successful AI-assisted development is providing clear strategy requirements and ensuring the AI has access to all necessary documentation. This section will guide you through the process of preparing your requirements, working with AI to generate preset files, and properly testing the resulting strategies.
Before engaging with AI, clearly define the specifics of your trading strategy:
Provide AI with the foundational documentation:
These guides contain all the information AI needs to generate accurate scripts and ensure compliance with EAsiTrader’s requirements.
Provide your strategy requirements in a clear, structured format:
.set
extension (e.g., TrendFollowing.set
)MQL5\Files\EAsiTrader
.set
file in this directoryThese examples demonstrate effective AI prompts for generating EAsiTrader preset files and trading strategies. Each example includes the exact text you should give to the AI, formatted with specific requirements and the mandatory preset file compliance instructions.
When providing any of these example prompts to AI, you MUST include these exact instructions as part of your prompt:
“The preset file must strictly comply with all the ‘Rules for
Creating EAsiTrader Preset Files’. Use the Defaults.set Preset File as
a template. Verify your content by cross referencing your sections and
settings with those from the template. Any deviation or omission
will be considered a failure to complete the task.”
⚠️ WARNING: Omitting these instructions from your prompt will likely result in invalid preset files that will not work correctly in EAsiTrader. Remember that the AI cannot see or access these instructions unless you explicitly include them in your prompt.
Each example below shows a complete prompt that you can copy and use directly with AI. Pay attention to how the required instructions are integrated with the strategy specifications in each prompt.
Copy this complete prompt:
"Create an EAsiScript preset file for a strategy based on RSI levels.
The preset file must strictly comply with all the ‘Rules for
Creating EAsiTrader Preset Files’. Use the Defaults.set Preset File as
a template. Verify your content by cross referencing your sections and
settings with those from the template. Any deviation or omission
will be considered a failure to complete the task.Strategy Details
- Entry: Go long when RSI crosses above 30, go short when RSI crosses below 70
- Stop Loss: 2 times ATR below/above entry price for long/short trades
- Take Profit: Fixed at 50 points for all trades
- Exit: Close trade if the opposite RSI condition occurs
- Execution: Runs on EURUSD on the M30 timeframe"
Copy this complete prompt:
"Please create an EAsiScript Preset File for a strategy using multiple
moving averages.The preset file must strictly comply with all the ‘Rules for
Creating EAsiTrader Preset Files’. Use the Defaults.set Preset File as
a template. Verify your content by cross referencing your sections and
settings with those from the template. Any deviation or omission
will be considered a failure to complete the task.Strategy Details
- Entry: Enter when fast MA crosses above slow MA with RSI confirmation
- Stop Loss: Set below recent swing low with ATR buffer
- Take Profit: Use ATR to calculate 3:1 reward:risk ratio
- Exit: Exit if MA cross reverses or RSI conditions change
- Execution: GBPUSD, H1 timeframe"
Copy this complete prompt:
"Generate an EAsiScript Preset File for a complete trading system.
The preset file must strictly comply with all the ‘Rules for
Creating EAsiTrader Preset Files’. Use the Defaults.set Preset File as
a template. Verify your content by cross referencing your sections and
settings with those from the template. Any deviation or omission
will be considered a failure to complete the task.Strategy Details
- Markets: EURUSD, Primary M15, Secondary H1
- Entry Conditions:
- H1 trend alignment (using MA)
- M15 momentum confirmation (using RSI)
- Volume confirmation
- Risk Management:
- Dynamic ATR-based stops
- Trailing stop after breakeven
- Multiple take profit targets
- Time Filters: Active during London/NY overlap
- Position Sizing: Risk 1% per trade"
Copy this complete prompt:
"Generate an EAsiScript Preset File for a Bollinger Band breakout
strategy.The preset file must strictly comply with all the ‘Rules for
Creating EAsiTrader Preset Files’. Use the Defaults.set Preset File as
a template. Verify your content by cross referencing your sections and
settings with those from the template. Any deviation or omission
will be considered a failure to complete the task.Strategy Details
- Entry: Go long if price breaks above upper band with volume surge
- Stop Loss: Use trailing stop based on 2 ATR
- Take Profit: Use 5% of account equity as target profit
- Exit: Close position if price re-enters the bands
- Execution: GBPUSD, H1 timeframe, with risk of 1% per trade"
Copy this complete prompt:
"Help me create an EAsiScript Preset File for a mean reversion
strategy.The preset file must strictly comply with all the ‘Rules for
Creating EAsiTrader Preset Files’. Use the Defaults.set Preset File as
a template. Verify your content by cross referencing your sections and
settings with those from the template. Any deviation or omission
will be considered a failure to complete the task.Strategy Details
- Entry: Enter long when RSI below 30 and returns above it
- Stop Loss: Place at low of last 5 bars
- Take Profit: Target twice the stop-loss distance
- Exit: Exit on MA cross or RSI above 70
- Execution: USDJPY, M15 timeframe"
Copy this complete prompt:
"Create a preset for trading the Asian session range breakout.
The preset file must strictly comply with all the ‘Rules for
Creating EAsiTrader Preset Files’. Use the Defaults.set Preset File as
a template. Verify your content by cross referencing your sections and
settings with those from the template. Any deviation or omission
will be considered a failure to complete the task.Strategy Details
- Symbol: USDJPY M30
- Range Definition: 00:00-03:00 Tokyo
- Entry: Break of range high/low after range formation
- Filters: Minimum range size using ATR
- Risk: Dynamic based on range size
- Exit: Before Tokyo lunch or at 1:1 reward:risk"
Copy this complete prompt:
"Create a preset for trading key support/resistance levels.
The preset file must strictly comply with all the ‘Rules for
Creating EAsiTrader Preset Files’. Use the Defaults.set Preset File as
a template. Verify your content by cross referencing your sections and
settings with those from the template. Any deviation or omission
will be considered a failure to complete the task.Strategy Details
- Symbol: EURGBP H1
- Indicator: HLines for dynamic S/R levels
- Entry: Reversal candle at S/R with RSI confirmation
- Stop Loss: Beyond the S/R level plus buffer
- Take Profit: Distance to next S/R level
- Filters: Minimum distance between levels using ATR
- Time: Active during London session only"
Copy this complete prompt:
"Generate a preset for trading psychological price levels.
The preset file must strictly comply with all the ‘Rules for
Creating EAsiTrader Preset Files’. Use the Defaults.set Preset File as
a template. Verify your content by cross referencing your sections and
settings with those from the template. Any deviation or omission
will be considered a failure to complete the task.Strategy Details
- Symbol: USDCAD H4
- Entry: Reversal at 00 levels (1.3200, 1.3300, etc.)
- Confirmation: MACD cross and minimum volume
- Stop Loss: ATR-based beyond the level
- Management: Trail stop to breakeven after 20 pips
- Risk: 1% per trade, scaled by distance to stop"
Visit the Presets Page for more examples which you can download to use in EAsiTrader.
Rev:21.12.2024 06:25