A deriv ea needed

MQL5 Indicators Experts

Specification

script is designed to automate trading decisions for Deriv synthetic indices (such as VIX 75 and Step Indices) based on the features we discussed earlier. Here's a summary of what the script does:

  1. Trendline Break Detection:

    • Calculates a trendline on a smaller timeframe (5 minutes by default).
    • Checks for a break above or below the trendline, indicating a potential change in the market direction.
  2. Determining Trend Direction on a Larger Timeframe:

    • Determines the trend direction on a larger timeframe (60 minutes by default).
    • Uses the larger timeframe's trend to decide whether to open a trade in the same direction.
  3. Opening Trades:

    • If a trendline break occurs and the larger timeframe indicates a buy trend, it opens a buy trade.
    • If a trendline break occurs and the larger timeframe indicates a sell trend, it opens a sell trade.
  4. Managing Open Positions:

    • Checks open positions for potential adjustments.
    • Applies trailing stop if the trade is in profit and meets a minimum target profit.
    • Closes a trade if it reverses and does not go into a profit.
    • Closes a trade if it reaches the specified take-profit level.
  5. Pullback Trading:

    • Checks for pullbacks on the smaller timeframe after a trendline break.
    • If the overall trend is a buy, it opens a sell trade as a scalp during a pullback.
    • If the overall trend is a sell, it opens a buy trade as a scalp during a pullback.
  6. Customizable Parameters:

    • The script allows you to customize various parameters such as lot size, slippage, stop loss, take profit, and more.

Remember to thoroughly test this script in a demo environment before using it in a live trading scenario. Additionally, closely monitor the performance and behavior of the script and be prepared to make adjustments based on market conditions and your trading strategy. Trading involves risk, and it's important to trade responsibly.

User
You
can it avoid consolidating market trends or adapt to a consolidating market trend
ChatGPT
ChatGPT

The script provided in the previous messages focuses on trendline breakouts and pullbacks. While it can identify potential trends and pullbacks, it doesn't specifically address market consolidation. Adapting a script to avoid entering trades during consolidating market conditions or adapting to such conditions requires additional logic.

Here are some general approaches to handle consolidating markets:

  1. Volatility Filters:

    • Integrate volatility filters to determine whether the market is in a low-volatility or consolidating phase.
    • During low volatility, you might choose to avoid entering new trades or use different, range-based strategies.
  2. Price Range Analysis:

    • Monitor the price range over a specific period. In a consolidating market, prices tend to move within a range.
    • Avoid entering trades when the price is within a predefined range.
  3. Additional Indicators:

    • Integrate additional technical indicators (e.g., Bollinger Bands, Average True Range) to identify periods of consolidation.
    • Use these indicators to filter trade signals or adjust risk management parameters during consolidation.
  4. Adaptive Trend Detection:

    • Develop adaptive trend detection mechanisms that consider recent market behavior.
    • Incorporate machine learning or adaptive algorithms to adjust to changing market conditions.
  5. Time-Based Filters:

    • Implement time-based filters to avoid trading during certain hours when markets are prone to consolidation.

Adapting a script to handle consolidating markets often involves a combination of these techniques. The specific implementation will depend on the characteristics of the market you're trading and your trading strategy. Here's a simplified example of how you might modify the script to include a volatility filter using the Average True Range (ATR) indicator:


Responded

1
Developer 1
Rating
(174)
Projects
199
12%
Arbitration
38
37% / 34%
Overdue
5
3%
Working
Published: 2 codes
2
Developer 2
Rating
(75)
Projects
124
44%
Arbitration
14
29% / 50%
Overdue
17
14%
Free
3
Developer 3
Rating
(37)
Projects
59
27%
Arbitration
26
19% / 54%
Overdue
10
17%
Working
Published: 1 code
4
Developer 4
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
Similar orders
Hello, good day to you Developers, I am looking for someone that can deliver on a project with the following requirements: The job I am about to give out will involve "Tradingview" and "Metatrader 5" Tradingview: for analysis, as the Strategy uses one second charts/candles, Metatrader 5: for executing and managing the trades. For this EA to work well for the project's aims, SPEED of execution is of upmost
Bhalzdeep 30+ USD
Anything is possible no job too big no job too small. Equal opportunity entity if we don't have it then we can get it. Completely satisfied customers is our top priority
1. Objective Create an MT5 automation script (or set of scripts) that fully automates my strategy optimization workflow, including: • Batch optimization runs • Automatic filtering of results • Automatic forward testing • Exporting and organizing results into structured files/folders The goal is to reduce manual work and allow one‑click execution of the entire pipeline. 2. Platform & Environment • MetaTrader 5 •
I'd like to optimize in Strategy Tester by Custom Optimization of strategies ran by Win Rate %. I can't find a way to view each scenario's win rate without running them individually and looking at Backtest
Would it be possible to connect Futures prop firm with Rithmic or Tradeovate platform to Ninjatrader automated trading ? If anyone can do this for me I will be happy to get started with the person right away
hello great developer I want to modify my NT8 indicator to change its arrow printing logic so that arrows appear on the first candled dot, not after the series. no repaint and no back painting. all in real time. This will help me get timely signals. Scope of work - Modify NT8 indicator logic to print arrows on the first candled dot. - Ensure arrow print matches 90%+ accuracy compared to the current functionality. -
Saya ingin dibuatkan Expert Advisor untuk MetaTrader 5 berbasis strategi EMA 50/200 + Breakout 20 candle dengan sistem risk percentage otomatis. EA harus memiliki fitur ATR stop loss, trailing stop, break even, max spread filter, dan daily loss limit. Dilarang menggunakan martingale, grid, atau averaging. Target RR minimal 1:2 dan drawdown di bawah 20%
I am building a professional-grade survival EA for USDJPY designed to: Repeatedly pass FTMO-style challenges Sustain long-term funded accounts Deploy safely across multiple prop accounts This is not a retail scalper. This is a controlled EMA pullback engine with strict risk governance and anti-correlation logic . All parameters must be configurable. Defaults must match exactly as listed. Core Strategy – EMA Pullback
I’m after someone to make me a forex ex for meta trader 5 it will be trading GBPUSD only but having to align with EURUSD and rules and entry’s based off weekly and daily vwap with 20 EMA
Key Requirements: ​ Zone Detection: The EA must read "Weak Support/Resistance" zones generated by my indicator (I will provide the .mq4/ex4 file). ​ Execution Logic: - Identify the candle with the longest wick within the detected liquidity zone. ​Place a Pending Order (Buy Stop/Sell Stop) 20 points (2 pips) before the breakout level of that wick. ​ Trade Management: ​Fixed SL: 40 points (4 pips). ​Fixed TP: 40 points

Project information

Budget
30 - 100 USD