Spezifikation

//+------------------------------------------------------------------+
//| GoldTraderEA.mq5 |
//| Copyright 2024, Your Name |
//| www.yourwebsite.com |
//+------------------------------------------------------------------+
#property strict

#include <Trade\Trade.mqh>

input double Lots = 0.1; // Lot size
input int MA_Period = 14; // Moving Average period
input int BB_Period = 20; // Bollinger Bands period
input double BB_Deviation = 2.0; // Bollinger Bands deviation

CTrade trade;

double MovingAverage, BB_Upper, BB_Lower, Fractals_Up, Fractals_Down;

int OnInit()
  {
   Print("Gold Trader EA Initialized");
   return(INIT_SUCCEEDED);
  }

void OnTick()
  {
   MovingAverage = iMA(Symbol(), PERIOD_CURRENT, MA_Period, 0, MODE_SMA, PRICE_CLOSE);
   BB_Upper = iBands(Symbol(), PERIOD_CURRENT, BB_Period, BB_Deviation, 0, PRICE_CLOSE, MODE_UPPER);
   BB_Lower = iBands(Symbol(), PERIOD_CURRENT, BB_Period, BB_Deviation, 0, PRICE_CLOSE, MODE_LOWER);
   Fractals_Up = iFractals(Symbol(), PERIOD_CURRENT, MODE_UPPER);
   Fractals_Down = iFractals(Symbol(), PERIOD_CURRENT, MODE_LOWER);

   double AskPrice = SymbolInfoDouble(Symbol(), SYMBOL_ASK);
   double BidPrice = SymbolInfoDouble(Symbol(), SYMBOL_BID);

   // Check for buy signal
   if (BidPrice > MovingAverage && BidPrice > BB_Upper && BidPrice > Fractals_Up && OrdersTotal() == 0)
     {
      if(trade.Buy(Lots, NULL, AskPrice, 0, 0, "Buy Order"))
         Print("Buy order opened successfully");
      else
         Print("Error opening buy order: ", GetLastError());
     }

   // Check for sell signal
   if (AskPrice < MovingAverage && AskPrice < BB_Lower && AskPrice < Fractals_Down && OrdersTotal() == 0)
     {
      if(trade.Sell(Lots, NULL, BidPrice, 0, 0, "Sell Order"))
         Print("Sell order opened successfully");
      else
         Print("Error opening sell order: ", GetLastError());
     }
  }

void OnDeinit(const int reason)
  {
   Print("Gold Trader EA Deinitialized");
  }

Bewerbungen

1
Entwickler 1
Bewertung
(13)
Projekte
17
12%
Schlichtung
7
14% / 57%
Frist nicht eingehalten
4
24%
Frei
2
Entwickler 2
Bewertung
(167)
Projekte
192
11%
Schlichtung
37
38% / 35%
Frist nicht eingehalten
5
3%
Arbeitet
3
Entwickler 3
Bewertung
(137)
Projekte
160
23%
Schlichtung
5
0% / 60%
Frist nicht eingehalten
4
3%
Arbeitet
4
Entwickler 4
Bewertung
(10)
Projekte
25
28%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
1
4%
Beschäftigt
5
Entwickler 5
Bewertung
(104)
Projekte
134
42%
Schlichtung
19
16% / 53%
Frist nicht eingehalten
20
15%
Arbeitet
6
Entwickler 6
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
7
Entwickler 7
Bewertung
(1)
Projekte
3
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
8
Entwickler 8
Bewertung
(449)
Projekte
508
33%
Schlichtung
25
40% / 48%
Frist nicht eingehalten
7
1%
Beschäftigt
9
Entwickler 9
Bewertung
(59)
Projekte
65
31%
Schlichtung
2
0% / 0%
Frist nicht eingehalten
0
Beschäftigt
10
Entwickler 10
Bewertung
(7)
Projekte
9
22%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
11
Entwickler 11
Bewertung
(17)
Projekte
33
64%
Schlichtung
0
Frist nicht eingehalten
5
15%
Arbeitet
12
Entwickler 12
Bewertung
(4)
Projekte
1
0%
Schlichtung
3
0% / 67%
Frist nicht eingehalten
0
Arbeitet
13
Entwickler 13
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
Hello developers, I want a robot volatility 10 I want the robot to have 9 winning trades and 1 losing trade guaranteed I have a picture that shows what I want. Anyone who can do this and has experience in this can contact me so we can work together no mt5 or mt4
Hey, great developer I have a thinkorswim script I want to convert it into TradingView. Can you please let me know if you can i will be looking for great developer that will bid for it best regards
Tradingview developer 30 - 35 USD
Hey greetings. I am in need of tradingview developer that can modify an open source PineScript indicator code to add additional features. Kindly bid for this project if it is what you handle and let proceed with the project
hi. I hv a strategy on tradingview need to convert to MT4/MT5 expert advisor for algo trading. would like to add some tradingview strategy setting to the EA(not included in my tradingview code): recalculate after order is filled, order size: xx% of equity
looking for help to get my ibkr automated, i have strategies already built in composer and have JSON for them, i really just need to he setup and explanation on how to maintain it and add new strategies
Hi there - Overview We are seeking an experienced developer to create a Forex Robot Expert Advisor (EA) tailored to specific trading strategies and conditions. The EA will focus on the London trading session and will automate trades based on pre-defined calculations and market movements. *Responsibilities:* 1. *London Session Analysis:* - Develop functionality to highlight the London trading session on the forex
Pending stop order software in the form of MQL4 expert advisor is what In need If any of the settings of the usual pattern of the EA is not clear to you, then I will explain that part
MT4 Developer Needed 30 - 35 USD
Hey greetings. Am in need of a programmer that can find the best configuration for best profit/ risk of mt4 EA . All I have is the ex4 file of the EA . Kindly bid for it if it is what you can do for me . Thanks
I have two not very sophisticated bots that need to be converted from python to MQL5. The bots are very similar, they use 99% of the same methodology, the only difference being that one is a trend-following bot, and the other is a mean reversion bot. I need the parameters to be at the top of the script so that they can be easily changed and optimised. The entire codebase is already done in python (sl,tp, trailing
Dears, i am looking for developer to make expert advisor in forex to me and i have a strategy , i need the ea to be customize and has some options to be changeable

Projektdetails

Budget
1596+ USD
Ausführungsfristen
von 1 bis 70 Tag(e)

Kunde

Veröffentlichte Aufträge1
Anzahl der Schlichtungen0