# Megathron Buttons EA User Guide
## 1. Overview
Megathron Buttons EA is a helper tool designed for manual traders. It provides quick and easy trading through various buttons on the chart.
## 2. Installation
1. Install the EA on your MetaTrader 5 platform
2. Drag and drop it onto your desired chart
3. Configure the EA settings (detailed below)
## 3. Buttons and Their Functions
### Main Buttons
1. **BUY Button** (Green)
- Opens a buy position with specified lot size
- Automatically calculates lot size based on risk percentage
2. **SELL Button** (Red)
- Opens a sell position with specified lot size
- Automatically calculates lot size based on risk percentage
3. **CLOSE Button** (Orange)
- Closes all open positions
- Closes both buy and sell positions
4. **Break Even Button** (Blue)
- Moves stop loss to entry price
- Protects positions from loss
5. **Profit Protection Button** (Purple)
- Moves stop loss to profit level when position reaches specified pips
- Default: 50 pips
6. **Custom Take Profit Button** (Purple)
- Sets custom take profit level
- Default: 300 pips
## 4. Settings and Parameters
### Button Settings
- **ButtonColor**: Background color of buttons
- **ButtonText**: Text on Break Even button
- **ButtonWidth**: Button width
- **ButtonHeight**: Button height
- **XCoord**: Distance from left edge
- **YCoord**: Distance from bottom edge
- **ShowButtons**: Button visibility (on/off)
### Trading Settings
- **PositionSize**: Default lot size
- **NumberOfPositions**: Number of positions to open
- **ProfitPips**: Default profit target (pips)
- **CustomProfitPips**: Custom profit target (pips)
- **Slippage**: Allowed slippage (points)
- **RiskPercent**: Risk percentage per trade
## 5. Usage Examples
### Example 1: Simple Buy Trade
1. Open EURUSD chart
2. Add EA to the chart
3. Click the green BUY button
4. Position will be opened
### Example 2: Profit Protection
1. Have an open position
2. When position reaches 50 pips profit
3. Click the purple Profit Protection button
4. Stop loss will be moved to profit level
### Example 3: Break Even
1. Have an open position
2. Click the blue Break Even button
3. Stop loss will be moved to entry price
## 6. Safety Features
- Automatic lot calculation based on risk percentage
- Insufficient funds check
- Minimum lot check
- Spread check
## 7. Important Notes
1. Test the EA on a demo account before using
2. Adjust risk percentage according to your account size
3. You can position buttons as desired
4. All operations are performed through manual button clicks
## 8. Troubleshooting
- Buttons not visible: Check ShowButtons parameter
- Trade not opening: Decrease RiskPercent value
- Stop loss not moving: Check spread value
## 9. Tips
1. Start with small lots
2. Keep risk percentage between 1-2%
3. Practice on demo account first
4. Position buttons according to your trading style
This guide explains the basic usage of Megathron Buttons EA. If you have any questions or need more detailed information, I'll be happy to help.