Easy Mode
Easy Mode provides a visual, no-code interface for creating trading strategies in Tradecraft. Instead of writing JavaScript code, you use an intuitive form-based editor to define your buy and sell rules. Easy Mode is perfect for beginners, traders who want to quickly test ideas, or anyone who prefers a visual approach to strategy creation.

What is Easy Mode?
Easy Mode is a simplified strategy builder that allows you to:
Create strategies visually - Use dropdowns and input fields instead of code
Set up in minutes - Define buy and sell conditions without programming knowledge
Start simple - Begin with basic profit-taking strategies and add complexity as needed
Preview changes instantly - See your strategy structure update as you configure it
Switch to Advanced - Seamlessly transition to Advanced Mode when you need more control
Easy Mode vs Advanced Mode
Interface
Visual form builder
JavaScript code editor
Learning Curve
Beginner-friendly
JavaScript knowledge recommended
Setup Time
Minutes
Can take longer for complex strategies
Flexibility
Pre-defined patterns
Unlimited customization
Buy Conditions
Price dips, time delays
Any logic you can code
Sell Conditions
Fixed targets, trailing stops
Custom indicators, complex conditions
Best For
Quick testing, simple strategies
Advanced patterns, custom indicators
When to Use Easy Mode
Easy Mode is ideal for:
Learning trading strategies - Understand strategy structure without coding complexity
Quick prototyping - Test strategy ideas rapidly before committing to code
Standard patterns - Implementing common strategies (take profits, trailing stops, DCA)
Beginners - Get started with automated trading without programming skills
Testing concepts - Validate strategy logic before building complex implementations
When to Switch to Advanced Mode
Consider switching to Advanced Mode when you need:
Custom technical indicators - Moving averages, RSI, custom calculations
Complex conditions - Multiple AND/OR logic combinations
Historical data analysis - Access to price tick history for lookback logic
State management - Tracking custom variables across executions
Advanced patterns - Sophisticated multi-phase strategies with dynamic logic
💡 Tip: You can start in Easy Mode to build the foundation of your strategy, then switch to Advanced Mode to add custom logic. However, once you manually edit code in Advanced Mode, you cannot switch back to Easy Mode for that strategy.
Easy Mode Interface
Strategy Configuration Sections
The Easy Mode editor is organized into three main sections:
1. Buy Conditions
Configure when and how your strategy enters a position:
Entry timing - Wait for price dips or immediate entry
Position size - How much to buy (percentage)
Time-based filters - Delays or token age requirements
2. Sell Conditions
Define your exit strategy with multiple sell targets:
Take profit levels - Sell at specific profit multipliers (2x, 5x, 10x)
Partial exits - Sell portions of your position at different levels
Trailing stops - Lock in profits while allowing upside
Stop losses - Protect against downside risk
3. Risk Management (Optional)
Additional safety features:
Maximum hold time - Exit after a specific duration
Hard stop loss - Absolute loss threshold
Minimum profit before trailing - Only activate trailing stops after gains
Take Profit Targets
Take profit targets allow you to sell portions of your position at predefined profit levels.
How It Works:
Set multiple profit targets (e.g., 2x, 5x, 10x)
For each target, specify what percentage to sell
Percentages are relative to remaining position
Strategy executes sells sequentially as targets are hit
Example Configuration:
Target 1: Sell 25% at 2x profit
Target 2: Sell 50% at 5x profit
Target 3: Sell 100% at 10x profitPosition Breakdown:
Start: 100% position
After 2x: 75% remaining (sold 25%)
After 5x: 37.5% remaining (sold 50% of 75%)
After 10x: 0% remaining (sold 100% of 37.5%)
Stoploss
A hard stoploss exits your position when price drops below a specific threshold.
How It Works:
Set a loss percentage from entry price (e.g., 20%)
If price drops to that level, immediately sell
Executes before any take-profit targets
Switching Between Easy and Advanced Mode
You can switch from Easy Mode to Advanced Mode at any time:
Click the mode toggle switch in strategy editor
Your Easy Mode configuration converts to JavaScript code
You can now edit the code directly
Add custom logic, indicators, or conditions
Benefits:
Start with solid foundation from Easy Mode
Add advanced features incrementally
Learn JavaScript by seeing generated code
Why Can't I Switch Back?
If you manually edit JavaScript code in Advanced Mode, the system cannot reliably convert it back to Easy Mode format because:
Custom logic may not map to Easy Mode options
Advanced features (indicators, custom conditions) aren't available in Easy Mode
Hand-written code may use patterns Easy Mode doesn't support
Last updated
