Noganda EA

Spécifications

*MQL5 Bot: “HH_HL_Simple.mq5”*
Copy → Paste → Compile in MetaEditor.
//+------------------------------------------------------------------+
//| HH_HL_Simple.mq5 |
//| WARNING: FOR EDUCATION/DEMO ONLY. YOU CAN LOSE MONEY. |
//| @kasii_trader_nela - Learn first, trade later |
//+------------------------------------------------------------------+
#property copyright "Educational use only"
#property strict
#include <Trade/Trade.mqh>
CTrade trade;

//=== INPUTS YOU CAN CHANGE IN MT5 ===
input double RiskPercent = 1.0; // 1% risk per trade. R150 = R1.50 max loss
input int SL_Points = 200; // 200 points = 20 pips on EURUSD 5-digit
input int TP_Points = 400; // TP = 2x SL. Risk:Reward 1:2
input bool TradeBuy = true; // Allow buy trades
input bool TradeSell = false; // Turn off sell for now. Learn 1 direction first

//+------------------------------------------------------------------+
void OnTick()
{
   // Don't trade if position already open
   if(PositionsTotal() > 0) return;
   
   // Don't trade on weekend/market closed
   if(!SymbolInfoInteger(_Symbol, SYMBOL_TRADE_MODE)) return;
   
   // Get last 3 candles on H1
   double h1 = iHigh(_Symbol, PERIOD_H1, 1); // 1 candle ago high
   double h2 = iHigh(_Symbol, PERIOD TV_H1, 2); // 2 candles ago high
   double l1 = iLow(_Symbol, PERIOD_H1, 1); // 1 candle ago low
   double l2 = iLow(_Symbol, PERIOD_H1, 2); // 2 candles ago low
   
   // Check structure
   bool HH = h1 > h2; // Higher High
   bool HL = l1 > l2; // Higher Low
   bool LH = h1 < h2; // Lower High  
   bool LL = l1 < l2; // Lower Low
   
   // BUY RULE: HH + HL = Uptrend
   if(TradeBuy && HH && HL)
   {
      double lot = GetLotSize(SL_Points);
      double price = SymbolInfoDouble(_Symbol, SYMBOL_ASK);
      double sl = price - SL_Points * _Point;
      double tp = price + TP_Points * _Point;
      
      trade.Buy(lot, _Symbol, price, sl, tp, "HH_HL_BUY_DEMO");
      Print("BUY SIGNAL: HH=",h1,">",h2," HL=",l1,">",l2," Lot=",lot);
   }
   
   // SELL RULE: LH + LL = Downtrend  
   if(TradeSell && LH && LL)
   {
      double lot = GetLotSize(SL_Points);
      double price = SymbolInfoDouble(_Symbol, SYMBOL_BID);
      double sl = price + SL_Points * _Point;
      double tp = price - TP_Points * _Point;
      
      trade.Sell(lot, _Symbol, price, sl, tp, "HH_HL_SELL_DEMO");
      Print("SELL SIGNAL: LH=",h1,"<",h2," LL=",l1,"<",l2," Lot=",lot);
   }
}

//+------------------------------------------------------------------+
//| Calculate lot size based on 1% risk |
//+------------------------------------------------------------------+
double GetLotSize(int sl_points)
{
   double balance = AccountInfoDouble(ACCOUNT_BALANCE);
   double risk_money = balance * RiskPercent / 100.0;
   double tick_value = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE);
   double tick_size = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE);
   double point_value = tick_value / (tick_size / _Point);
   
   double lot = risk_money / (sl_points * point_value);
   lot = NormalizeDouble(lot, 2);
   
   // Respect broker min/max lot
   double min_lot = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_MIN);
   double max_lot = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_MAX);
   if(lot < min_lot) lot = min_lot;
   if(lot > max_lot) lot = max_lot;
   
   return lot;
}
//+------------------------------------------------------------------+

Dossiers :

Répondu

1
Développeur 1
Évaluation
(597)
Projets
690
33%
Arbitrage
43
44% / 44%
En retard
12
2%
Chargé
2
Développeur 2
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
3
Développeur 3
Évaluation
(104)
Projets
127
24%
Arbitrage
23
30% / 52%
En retard
8
6%
Gratuit
4
Développeur 4
Évaluation
(2325)
Projets
2928
63%
Arbitrage
124
44% / 26%
En retard
429
15%
Travail
5
Développeur 5
Évaluation
(8)
Projets
8
0%
Arbitrage
2
50% / 0%
En retard
1
13%
Travail
6
Développeur 6
Évaluation
(545)
Projets
827
62%
Arbitrage
33
27% / 45%
En retard
23
3%
Travail
Publié : 1 code
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
9
Développeur 9
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
10
Développeur 10
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(64)
Projets
68
25%
Arbitrage
12
42% / 42%
En retard
4
6%
Gratuit
13
Développeur 13
Évaluation
(43)
Projets
49
29%
Arbitrage
4
25% / 25%
En retard
0
Gratuit
14
Développeur 14
Évaluation
(6)
Projets
7
43%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
15
Développeur 15
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
16
Développeur 16
Évaluation
(33)
Projets
36
33%
Arbitrage
5
0% / 80%
En retard
0
Travail
Publié : 2 codes
17
Développeur 17
Évaluation
(243)
Projets
287
77%
Arbitrage
13
77% / 0%
En retard
4
1%
Travail
18
Développeur 18
Évaluation
(77)
Projets
244
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
Commandes similaires
I need a simple bot for opening range. Simple Entry / Exit rules, to be able to customize the timeframe, time zone (entry candle) and other normal settings like size, etc
Nyctrad1 30+ USD
Free link free land free land free land free land free free land free land free things free land free land free land free land free land free land free land free Finch I will do it
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
BullyMax Pro 30+ USD
"Act as an expert MQL5 algorithmic trading developer. I want you to create a profitable and efficient Expert Advisor for MetaTrader 5. Do not write the code yet; read the following trading rules, analyze them, and ask me any clarifying questions if needed. Timeframe: [e.g.15 minutes Chart] Entry Logic: [e.g.MACD + RSI + REVERSAL PRICE ACTION. Enter buy when Macd line crosses above the signal line ,RSI above 30 and
I want an indicator that displays the risk reward ratio of each chart candle as a sub window histogram. If the candle closes above the open the histogram displays a green bar above zero the size of which is dependant on the size of the RRR. If the candle closes below the open the histogram displays a red bar below zero the size of which is dependant on the size of the RRR. My attempt that does not work is attached
Hi, I am looking for an experienced MQL5 developer to modify an existing, fully functional MetaTrader 5 Expert Advisor (Source code .mq5 Version 2.62 will be provided). Brief Overview of the EA: It executes trades based on 4 custom Supply/Demand levels (R1, R2, S1, S2) which are inputted manually . It uses two custom indicators for confirmation: SPA (Price Action filter) and AMG (Volume/Momentum filter). The code
I really like this platform. I am interested in trading and need funds for it. I enjoy both crypto and forex trading.I"really appreciate this platform. I am keen on trading and am looking for trading funds. I enjoy trading in both cryptocurrency and forex."
Titan Quantum Algo Engine V2 is an advanced MT5 Expert Advisor designed to identify high-probability market opportunities using trend analysis, breakout detection, and intelligent risk management. The EA automatically executes trades, manages stop-loss and take-profit levels, and helps traders maintain disciplined trading with optimized entry and exit strategies
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
I do not have any startegy, and I want you to create one with your experience, you will provide me EA along with source code. you may use Grid or any logic, but the EA should keep generating profit during Newyourk and Asian session

Informations sur le projet

Budget
30+ USD

Client

Commandes passées1
Nombre d'arbitrages0