Demark-Angle
16 $
11 $
This code represents an Expert Advisor (EA) for MetaTrader, designed for automated trading based on certain technical indicators, including the DeMarker indicator and moving averages, along with a strategy that uses the angle of moving averages to make buy or sell decisions.
Demark Angle Trading, Forex indicators
General Information
- Version: 1.00
- Developer: Forexgoods.com
Configurable Inputs
- TakeProfit:
0
- Lots:
0.05
- StopLoss:
500
- TrailingStart:
10
- TrailingStep:
10
Main Functions
- Initialization: Generates a unique
MagicNumber
based on the current time. - OnTick: Executes actions on every market tick, including checking trade conditions and managing orders.
- Buy/Sell Conditions: Evaluates market indicators like moving average angles and DeMarker values to determine buy/sell signals.
- Trailing Stop: Adjusts stop-loss levels dynamically to secure profits.
Key Calculations
- Angle Calculation: Determines the angle of the moving average using historical data.
- DeMarker Indicator: Assesses overbought/oversold conditions to guide trades.
Safety Features
- Checks free margin to ensure sufficient funds before opening trades.
- Closes trades based on specific moving average crossovers.
Order Management
- Buy Orders: Opens buy orders based on conditions.
- Sell Orders: Opens sell orders based on conditions.
- Close Orders: Automatically closes orders when conditions are met.
Version | 1.00 |
---|---|
Type | Expert Advisor |
Compatibility | MT4 |
Trading Hours | All Times |
Custom Inputs | Lots, Trailing, Stop Loss, Take Profit, ECN |
Timeframes | M5 and M15 |
Strategy Type | Scalping,Trend Following |
Money Management | Lot Size, Stop Loss, Take Profit |
Supported Pairs | ALL |
Outputs | Automatic Buy/Sell |