MQL5 indicator based on UT bot alert from Trading View

指定

📌 Project: Converting a TradingView Indicator (Pine Script) to MQL5

🎯 Project Objective

The goal of this project is to convert a TradingView Pine Script indicator to MQL5 for use on MetaTrader 5 (MT5). The indicator to be converted is UT Bot Alerts by QuantNomad, which is based on an ATR-based trailing stop and generates buy and sell signals in the form of arrows.

Additionally, the ATR calculation method should be flexible, allowing the user to switch between an Exponential ATR (default) and an SMA-based ATR. The SMA-based ATR should produce results identical to the TradingView SuperTrend indicator by KivancOzbilgic.


✅ Required Features

1️⃣ Trailing Stop Calculation

  • The trailing stop should be based on the ATR (Average True Range).
  • It should adjust dynamically to market movements with the following behavior:
    • If the price is above the stop, it follows upward movements but never decreases.
    • If the price is below the stop, it follows downward movements but never increases.
  • The stop’s sensitivity should be adjustable via an input parameter:
    • 🔹 KeyValue – Multiplier for ATR to define trailing stop sensitivity.

2️⃣ ATR Calculation Method (User-Selectable)

  • The ATR calculation method should be user-selectable between:
    • Exponential ATR (default, like UT Bot Alerts)
    • SMA-based ATR (matching KivancOzbilgic’s SuperTrend indicator on TradingView)
  • This should be controlled by an input parameter:
    • 🔹 ChangeATRMethod – Boolean input ( true = Exponential ATR, false = SMA-based ATR)

3️⃣ Signal Generation

  • A buy signal should be generated when the price breaks above the trailing stop.
  • A sell signal should be generated when the price breaks below the trailing stop.
  • These signals should be displayed as colored arrows:
    • Green for a buy signal
    • Red for a sell signal

4️⃣ Candle Coloring (Customizable)

  • Candles should be colored based on their position relative to the trailing stop:
    • Bullish candle: If the price is above the stop.
    • Bearish candle: If the price is below the stop.
  • Users should be able to customize the candle colors via input parameters:
    • 🔹 BullishCandleColor – Color for bullish candles.
    • 🔹 BearishCandleColor – Color for bearish candles.

5️⃣ ATR Visibility Toggle

  • The user should have the option to display or hide the ATR line on the chart.
  • This should be controlled by an input parameter:
    • 🔹 ShowATR – Boolean input ( true/false ) to enable or disable ATR visibility.

6️⃣ Compatibility with an Expert Advisor

  • The indicator must be readable by an Expert Advisor (EA).
  • Buy/sell signals should be accessible via output buffers so that an EA can read them.

7️⃣ Alert System

  • A MT5 alert should be triggered whenever a new buy or sell signal is detected.
  • The user should have the option to enable or disable alerts via an input parameter:
    • 🔹 EnableAlerts – Boolean input ( true/false ) to toggle alerts ON/OFF.

🔧 Input Parameters

Parameter Description
KeyValue Sensitivity factor for the trailing stop (multiplied by ATR)
ATRPeriod Number of periods used for ATR calculation
ChangeATRMethod Boolean ( true = Exponential ATR , false = SMA ATR )
ShowATR Boolean ( true/false ) to enable or disable ATR display
EnableAlerts Boolean ( true/false ) to enable or disable alerts
BullishCandleColor Customizable color for bullish candles
BearishCandleColor Customizable color for bearish candles

🔄 Conversion Requirements in MQL5

The MQL5 code should adhere to the following principles:

Ensure fast and smooth execution, especially during backtesting and optimization.
Ensure signals are usable by an Expert Advisor (output buffers).
Trigger alerts upon buy/sell signals (if EnableAlerts is true ).
Allow users to customize candle colors dynamically via input parameters.
Allow users to toggle ATR visibility via the ShowATR parameter.
Ensure the SMA-based ATR mode produces identical results to KivancOzbilgic’s TradingView SuperTrend indicator.


🎯 Expected Deliverables

The developer should provide:
✅ A fully functional .mq5 indicator file


📌 Validation Criteria

The indicator will be considered approved if it meets all of the following criteria:

✅ It correctly displays the trailing stop on MT5.
✅ It correctly generates buy/sell signals with arrows.
Candles are colored based on trend direction, with user-defined colors.
✅ The ATR can be toggled on or off via the ShowATR input.
ATR calculation method (Exponential or SMA) works as expected.
✅ The SMA ATR mode produces identical results to KivancOzbilgic’s SuperTrend indicator.
✅ It does not significantly slow down MT5.
✅ It is readable by an Expert Advisor.
✅ It triggers alerts when signals occur (if EnableAlerts is enabled).


🕒 Expected Delivery Time

📅 1 day after contract acceptance


📌 Summary

This conversion should result in a fast and precise MQL5 indicator, with:
Efficient performance
Customizable visuals (candle colors, ATR visibility)
Compatibility with an Expert Advisor
Accurate buy/sell signals matching the UT Bot Alerts indicator on TradingView
An ATR calculation method that can match KivancOzbilgic’s SuperTrend indicator


💬 Next Steps

Please confirm if you have any questions or if additional details are needed before starting. Looking forward to your response. 🚀


応答済み

1
開発者 1
評価
(2)
プロジェクト
3
0%
仲裁
1
0% / 0%
期限切れ
0
取り込み中
2
開発者 2
評価
プロジェクト
1
0%
仲裁
0
期限切れ
0
取り込み中
3
開発者 3
評価
(1)
プロジェクト
1
0%
仲裁
1
0% / 0%
期限切れ
0
仕事中
類似した注文
Hi, I am currently looking for a skilled developer to assist with unblocking and converting an MT4 Expert Advisor (EA) to MT5. Additionally, I need the source script for the EA once the conversion is complete. If you have the expertise in this area, please reach out to discuss further. Thank you
Hello, I need an EA which will read a .txt file, which is generated and periodically updated by another software. Based on the data in this .txt file, EA will place pending orders in MT5 and afterwards will make some adjustments in that .txt file. More details: EA Inputs: "a". Path to the .txt file "b". Frequency of the update (in minutes; say every 5 minutes) "c". Volume_lots (ideally there should be an option to
I am looking for a highly skilled and experienced programmer with expertise in MetaTrader 4 (MT4) and MetaTrader 5 (MT5) platforms. The task involves converting a full MT4 project to MT5 with precision and attention to detail. This conversion should be done efficiently, ensuring compatibility, performance optimization, and smooth functionality in MT5. I am seeking a professional who can provide a clear proposal and
MT4 CODER NEEDED 30 - 100 USD
I am looking for very passionate MT4 programmer who can build and optimize an MT4 expert advisor that run without any issue (error/bug) I need an helpful programmer that will be able to offer an incredible support in developing a very reliable MT4 EA based on the logic of my strategy with thorough optimization to enhance the strategy for massive profitability, note: don't bother to reach out if you can't be able to
I am looking for very passionate MT4 programmer who can build and optimize an MT4 expert advisor that run without any issue (error/bug) I need an helpful programmer that will be able to offer an incredible support in developing a very reliable MT4 EA based on the logic of my strategy with thorough optimization to enhance the strategy for massive profitability, note: don't bother to reach out if you can't be able to
DEVELOPMENT FOR MOMENTUM REVERSAL STRATEGY TRADE MUST ONLY BE ACTIVATED WITHIN THE TRADE ZONE WHICH IS 40 PIPPETTE ABOVE THE LOW OF THE DAY NO TRADE MUST BE TAKEN IF RSI/CCI CONFIRMS OVERSOLD/OVERBOUGHT CONDITION CCI MAIN FUNCTION IS TO UPDATE THE TRADE ZONE AS IT REACTS FASTER THAN RSI THE TREND LINES MUST NOT BE INFINITE, MUST NOT EXCEED THE DAY PERIOD ADD INPUT OPTION TO ALLOW TRADER TUNE THE FOLLOWING DISABLE
Moj postoječi EA otvara na sviječama , trebalo bi ubaciti dio koda kojim bi preciznije otvarao trgovinu tako da bude frofitabilniji i da ne stvara velike minuse. Jer na mojim postavkama TP=300, SL=700 otvara 5 pozitivnih i jednu negativnu trgovinu na testu u stvarnosti je drugačije. Trebalo bi dodati za preciznije otvaranje trgovine i poboljšati profitabilnost
I want someone to help me created an Exprert Advisor with the concept of London Breakout and Grid. The expert advisor should have:- 1. StartTime = "00:00"; // time for start of price establishment window 2. EndTime = "09:00"; // time for end of price establishment window 3. TradeStartTime= "18:00"; // end of daily session; tomorrow is another day! 3. TradeEndTime= "23:00"; // end of daily session; tomorrow is
I have a pine script strategy. I need to create an mt5 EA with pine script strategy. I want to combine it with volume indicator. Please see the attachment. Also I need trailing sl and trailing tp method. I want to set automatic SL and TP when entering a trade
I am looking for someone to program an automated breakout trading system for MNQ/NQ in C#. The strategy is based on a breakout from a range defined between 07:00–08:00 CET, which serves as the entry signal. Trading Parameters: Variable take-profit and stop-loss levels, with a break-even adjustment after partial profit targets are reached. Indicators: Volume delta, RSI, and VIX as optional filters. The system should

プロジェクト情報

予算
35+ USD
締め切り
最低 1 最高 2 日

依頼者

出された注文1
裁定取引数0