I want to convert my indicator from Trading view to MQL5

Auftrag beendet

Ausführungszeit 1 Tag
Bewertung des Kunden
Very good
Bewertung des Entwicklers
Detailed and clear description, convenient for work

Spezifikation

I need an indicatorv for MQL5, It uses CCi and 2 EMA, the strategy is; Ema 50 and 200, when Above ema 50 we look for buy signal and when below we look for sell, the CCI should be 20 period with 150 and -150 once the price is overbought and oversold and it renter the level 150 and -150 with the confermition of ema we have the signal

I want to add the alert to the signal


#property indicator_chart_mode ANY

#property indicator_separate_window true  // Optional: Separate window for indicator

#include "iCustom\\iCustom.mqh" // Include for custom indicator functions (if needed)

int  ema50Length = 50;
int  ema200Length = 200;
int  cciLength = 20;
double overbought = 150;
double oversold = -150;

double ema50[], ema200[], cci[];

bool trendBullish, trendBearish;
bool buySignal[], sellSignal[]; // Arrays for storing signals

// Function to calculate EMA (replace with custom function if needed)
double iCustom_EMA(double price[], int period) {
  double sum = 0.0;
  for (int i = 0; i < period; i++) {
    sum += price[Close];
  }
  return sum / period * (2.0 / (period + 1.0));
}

int OnInit() {
  ema50 = ArrayDimension(ema50Length);  // Allocate arrays
  ema200 = ArrayDimension(ema200Length);
  cci = ArrayDimension(cciLength);

  buySignal = ArrayDimension(Bars);  // Allocate arrays for signals
  sellSignal = ArrayDimension(Bars);

  return(INIT_SUCCEEDED);
}

int OnCalculate(const int start, const int end) {
  if(start == 0) {
    // Initialize arrays on the first call
    for (int i = 0; i < ArraySize(ema50); i++) {
      ema50[i] = iCustom_EMA(Close, ema50Length);  // Replace with custom EMA function if needed
      ema200[i] = iCustom_EMA(Close, ema200Length);  // Replace with custom EMA function if needed
    }
  }

  for (int i = start; i <= end; i++) {
    // Calculate CCI
    cci[i] = iCustom_CCI(Close, cciLength);  // Replace with custom CCI function if needed

    // Calculate trend and signals
    trendBullish = ema50[i] > ema200[i];
    trendBearish = ema50[i] < ema200[i];

    buySignal[i] = trendBullish && iCustom_CrossOver(cci[i], oversold);  // Replace with custom crossover function if needed
    sellSignal[i] = trendBearish && iCustom_CrossUnder(cci[i], overbought);  // Replace with custom crossunder function if needed
  }

  // Plotting (modify colors, styles, and window as needed)
  PlotLine(ema50, SHIFT, colorBlue, 1, title="EMA 50");
  PlotLine(ema200, SHIFT, colorRed, 1, title="EMA 200");

  PlotIcon(buySignal, SHIFT, STYLE_ARROWUP, colorGreen, 10);  // Consider using labels or different icons
  PlotIcon(sellSignal, SHIFT, STYLE_ARROWDOWN, colorRed, 10);   // Consider using labels or different icons

  return(0);
}

Bewerbungen

1
Entwickler 1
Bewertung
(6)
Projekte
6
0%
Schlichtung
2
50% / 0%
Frist nicht eingehalten
1
17%
Frei
2
Entwickler 2
Bewertung
(6)
Projekte
7
0%
Schlichtung
2
0% / 100%
Frist nicht eingehalten
0
Arbeitet
3
Entwickler 3
Bewertung
(493)
Projekte
1022
58%
Schlichtung
30
27% / 23%
Frist nicht eingehalten
133
13%
Arbeitet
4
Entwickler 4
Bewertung
(58)
Projekte
78
59%
Schlichtung
13
38% / 54%
Frist nicht eingehalten
9
12%
Frei
5
Entwickler 5
Bewertung
(4)
Projekte
4
0%
Schlichtung
2
0% / 100%
Frist nicht eingehalten
1
25%
Frei
6
Entwickler 6
Bewertung
(1)
Projekte
1
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
Veröffentlicht: 2 Beispiele
7
Entwickler 7
Bewertung
(159)
Projekte
215
76%
Schlichtung
4
50% / 25%
Frist nicht eingehalten
18
8%
Frei
Veröffentlicht: 2 Artikel
Ähnliche Aufträge
Cash Flow EA 30+ USD
I want a trading robot with proper risk management and good trading strategies it must make money ,place stop loss below the entry and place a take profit no loss only wins mostly trade major
Busco un robot para trading de scalping en oro o forex, el robot debe ser rentable en esos mercados, podemos automatizar mi estrategia basada en medias móviles con estrategia de scalping o bien si él desarollador tiene uno que funcione así y sea rentable podemos ver la opción de un demo o cuenta de lectura para estar seguros de la rentabilidad en el robot
MT4 EA TO TAKE TRADES FROM (A) HYDRA TREND RIDER AND (B) IQ GOLD GANN LEVELS ON MQL5.COM The MT4 version of these two indicators can be found on the mql5.com website with the following links: Hydra Trend Rider: https://www.mql5.com/en/market/product/111010?source=Site +Profile+Seller IQ Gold Gann Levels: https://www.mql5.com/en/market/product/134335?source=Site +Profile+Seller (1) ENTRY (a) Hydra Trend Rider
I have a strategy for US100 where I want a bot to trade according to my strategy, contact me who have proven experience in making bots for MT4 or MT5
Xcopcash 30 - 400 USD
It the most grate trading robot vacuum forex cleaner it's best helper in the whole south Africa it profitable and helps lots of people in Africa it's high quality standard are maintained ina official website this I created byAkhan I siyo
Job Description We are looking for an experienced MQL5 developer to build a professional Expert Advisor (EA) for MetaTrader 5 based on a detailed quantitative trading model. The EA will trade XAUUSD (Gold) on the M5 timeframe using a Session Breakout + Fibonacci Retracement strategy with advanced institutional-level filters. The system includes volatility filters, liquidity sweep detection, London session
I need an experienced MQL5 developer to modify my existing MT5 EA by replacing the current entry logic with a new breakout strategy and implementing strict prop-firm safety protections. The EA must behave exactly as specified below. If the final EA does not match the logic described, I will request revisions until it does. SYMBOL AND TIMEFRAME Symbol: USDJPY Timeframe: M15 only TRADING SESSION Trades may only open
I am looking to purchase an existing and profitable Expert Advisor (EA) designed for Gold (XAUUSD) scalping. This is not a request to develop a new EA . I am only interested in a ready system that is already trading profitably on a live account . Requirements • Designed for Gold / XAUUSD • Compatible with MetaTrader 5 (MT5) • Scalping strategy (preferably M1 or M5) • Verified live trading performance (preferably 6
2 FX pairs M15 execution with higher timeframe bias Session-based trading (UK time) Fixed % risk per trade Controlled pyramiding (add to winners only) Strict daily loss limits (FTMO-style) Proper order handling (SL always set) Basic logging (CSV) Strategy logic will be provided in detail after NDA / agreement. Must deliver: Source code (.mq5) Compiled file (.ex5) Clean, well-commented code Short support window for
Hi, are you able to create a script/indicator on tradingview that displays a chart screener and it allows me to input multiple tickers on the rows. then the colums with be like "premarket high, premarket low, previous day high, previous day low" . When each or both of the levels break, there will pop up a circle on the chart screener, signaling to me what names are above both PM high and previous day high or maybe

Projektdetails

Budget
30 - 60 USD
Ausführungsfristen
von 1 bis 2 Tag(e)