4 Timeframe CCI and RSI with Averages (MQL4)

Termos de Referência

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
#property strict

// Inputs
input int EMA_Fast = 9;
input int EMA_Slow = 21;
input int RSI_Period = 14;
input double Lots = 0.1;
input int StopLoss = 20;      // وقف خسارة (بـ نقاط)
input int TakeProfit = 40;    // هدف (بـ نقاط)
input int Slippage = 3;

// Global Variables
double emaFast, emaSlow, rsiVal;

//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
{
    if (OrdersTotal() == 0)  // لا تفتح صفقة جديدة إذا كان هناك صفقة مفتوحة
    {
        emaFast = iMA(NULL, PERIOD_M5, EMA_Fast, 0, MODE_EMA, PRICE_CLOSE, 1);
        emaSlow = iMA(NULL, PERIOD_M5, EMA_Slow, 0, MODE_EMA, PRICE_CLOSE, 1);
        rsiVal = iRSI(NULL, PERIOD_M5, RSI_Period, PRICE_CLOSE, 1);

        // ----- BUY SIGNAL -----
        if (emaFast > emaSlow && rsiVal > 30 && rsiVal < 70)
        {
            OrderSend(Symbol(), OP_BUY, Lots, Ask, Slippage,
                      Ask - StopLoss * Point, Ask + TakeProfit * Point,
                      "EMA_RSI_Buy", 0, 0, clrGreen);
        }

        // ----- SELL SIGNAL -----
        if (emaFast < emaSlow && rsiVal > 30 && rsiVal < 70)
        {
            OrderSend(Symbol(), OP_SELL, Lots, Bid, Slippage,
                      Bid + StopLoss * Point, Bid - TakeProfit * Point,
                      "EMA_RSI_Sell", 0, 0, clrRed);
        }
    }
}
//+------------------------------------------------------------------+

Respondido

1
Desenvolvedor 1
Classificação
(397)
Projetos
513
23%
Arbitragem
60
57% / 25%
Expirado
60
12%
Carregado
2
Desenvolvedor 2
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
3
Desenvolvedor 3
Classificação
(45)
Projetos
46
24%
Arbitragem
34
9% / 85%
Expirado
10
22%
Livre
4
Desenvolvedor 4
Classificação
(43)
Projetos
66
12%
Arbitragem
12
58% / 42%
Expirado
1
2%
Livre
5
Desenvolvedor 5
Classificação
(258)
Projetos
269
29%
Arbitragem
1
100% / 0%
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
6
Desenvolvedor 6
Classificação
(645)
Projetos
873
48%
Arbitragem
29
38% / 17%
Expirado
63
7%
Livre
7
Desenvolvedor 7
Classificação
(28)
Projetos
34
35%
Arbitragem
0
Expirado
2
6%
Trabalhando
8
Desenvolvedor 8
Classificação
(28)
Projetos
39
23%
Arbitragem
14
0% / 93%
Expirado
4
10%
Livre
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Publicou: 1 código
10
Desenvolvedor 10
Classificação
(144)
Projetos
186
41%
Arbitragem
24
58% / 21%
Expirado
13
7%
Livre
11
Desenvolvedor 11
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(44)
Projetos
60
5%
Arbitragem
6
0% / 67%
Expirado
5
8%
Livre
14
Desenvolvedor 14
Classificação
(6)
Projetos
7
14%
Arbitragem
1
0% / 100%
Expirado
1
14%
Livre
15
Desenvolvedor 15
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
My EA is semi Auto EA..with Master and slave concept Using Heiken Ashi +Heiken Smooth and Moving Average What to do?1. Remove some previous feature 2.Change some rules of 4 slave to pending Order 3. Check the coding is clean. 4. create panel dialog box
These are orderflow footprint indicator I would like to know if you can algorithmisie and build a stacked imbalance bot from them .. Kindlt let me know if you can do it and check the file before replying me
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Mr quetta 100+ USD
Yes, that is exactly what I need. The bot should not be restricted to a fixed list of currency pairs. It should technically scan all available Quotex pairs in real time and automatically select the pair where the market conditions are strongest. The bot should analyze each pair using multiple confirmations, such as short-term price momentum, trend direction, market structure, support/resistance, candle formation
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading

Informações sobre o projeto

Orçamento
30 USD
Prazo
de 1 para 30 dias