Moath jamal

MQL5 전문가 스크립트

명시

//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
int OnInit()
{
   return(INIT_SUCCEEDED);
}

//+------------------------------------------------------------------+
//| Script deinit function                                            |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
   ObjectDelete(_Symbol);
}

//+------------------------------------------------------------------+
//| Script tick function                                              |
//+------------------------------------------------------------------+
void OnTick()
{
   double maFast, maSlow;
   int idx = StartIndex();

   if (_Symbol == "XAUUSD" || _Symbol == "EURUSD" || _Symbol == "USOIL")
   {
      maFast = iMA(_Symbol, PERIOD_M1, 13, 0, MODE_SMMA, PRICE_CLOSE, idx);
      maSlow = iMA(_Symbol, PERIOD_M1, 26, 0, MODE_SMMA, PRICE_CLOSE, idx);

      if (maFast > maSlow && maFast > maSlow)
      {
         int ticket = OrderSend(_Symbol, OP_BUY, 0.1, Ask, 3, Ask-20*Point, Ask+20*Point, "MyOrder", 0, 0, Green);
         if (ticket > 0)
         {
            OrderModify(ticket, OrderOpenPrice(), OrderOpenPrice()-50*Point, OrderOpenPrice()+50*Point, 0, Blue);
            Alert("Buy order sent!");
         }
      }
      else if (maFast < maSlow && maFast < maSlow)
      {
         int ticket = OrderSend(_Symbol, OP_SELL, 0.1, Bid, 3, Bid+20*Point, Bid-20*Point, "MyOrder", 0, 0, Red);
         if (ticket > 0)
         {
            OrderModify(ticket, OrderOpenPrice(), OrderOpenPrice()+50*Point, OrderOpenPrice()-50*Point, 0, Red);
            Alert("Sell order sent!");
         }
      }
   }
}

//+------------------------------------------------------------------+
//| Script properties                                                 |
//+------------------------------------------------------------------+
input string Expert_Title = "My Trading Bot";
input ulong Expert_MagicNumber = 22655;
input bool Expert_EveryTick = false;
input int Signal_ThresholdOpen = 10;
input int Signal_ThresholdClose = 10;

응답함

1
개발자 1
등급
(7)
프로젝트
8
38%
중재
2
50% / 0%
기한 초과
0
로드됨
2
개발자 2
등급
(8)
프로젝트
9
22%
중재
0
기한 초과
0
무료
비슷한 주문
This request is only about an issue, basically i have an expert with pending orders that operate with trailing stop loss when pending order are activated. Issue came when i have a recovery order open , then expert have to manage and close original order with recovery order/orders without let run trailing. Actually issue is here, basically others order from same pair went anyway with trailing when , as decided, must
I need an EA created by combining the PZ RSI, PZ MACD,and PZ Stochastic into one EA with the grid function The idea of the trading system is as follows: market entries are performed when MACD, RSI and Stochastic K are in the same current trend direction. The EA is created by combining 3 existing PZ EA's
I want to modify my ea to open a buy position if buy arrow appears on the chart, and it will close the open sell position, and also if it reverse after the 3 hit count of the same market price it will close the buy position and open a sell position. Also if the sell arrow appears on the chart it will open a sell position, and it will close the open buy position, and also if it reverse after the 3 hit count of the
Hello, I need a max daily loss script that works for mql5 and mql4. I want to integrate this into my EA and have both versions. I need input for max drawdown %. And the rules will follow prop firm rules. If todays loss (closed + current running trades) reaches 5%. Close all trades and pause until the next trading day. ***My trading account is automatically closed every time I open a trade after crossing the daily
Hello, I need smart and professional programmer that have minimum 300 projects finish for my expert advisor (mq4). I need this project finish quickly, and the function can running well like I need. My EA basicly using Consecutives Signals Candle, MA20, and ATR with some others parameters. If you programmer like I need, so can apply, IF NOT DONT APPLY! I will send the document completely when you apply. Thank you
Hello i need an expert who can help me backtest my Grid system EA and find the best profitable setting where i can use it on a live account. Note: Only applicant with experience and prove of work should apply
Hi , Looking for a ready made profitable EA Robot. It must have a myfxbook. I would like to see track record I would like to see it trade live markets if you can provide Investor password that will be good
can we create an EA history reader that generates a trading logic? For example, when I want to find a good set of numbers for a system including MA20, price action, H1 time frame, it will automatically run to find the optimal set of numbers in terms of time, SL/TP..... Or simply if I don't use any indicator, just use price action and it will read history and give consistent trading logic, for example: 20:00, candle >
I need a trade manager with lot of complicated options and best ui. integrate with Telegram. And I needed for MT4 and MT5 both. Need a good developer with reasonable price
Please don’t just say Ho to me, explain me how you are going to do this job. you Hello I already use the account protection, but someone I feel like it is not protected. I saw some EA use License and DLL protection. I just need a better protection for my EA

프로젝트 정보

예산
30+ USD
기한
에서 10  15 일

고객

넣은 주문1
중재 수0