거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Alert at Order Closing - MetaTrader 4용 지표

조회수:
32183
평가:
(16)
게시됨:
2010.04.26 10:41
업데이트됨:
2014.04.21 14:54
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Description:

The indicator alerts at order closing, and reports about its profit.

//+------------------------------------------------------------------+
//|                                              AlertCloseOrder.mq4 |
//|                               Copyright © 2010, Vladimir Hlystov |
//|                                         http://cmillion.narod.ru |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2010, Vladimir Hlystov"
#property link      "http://cmillion.narod.ru"
#property indicator_chart_window
int Orders;
//+------------------------------------------------------------------+
int start()
  {
   if (Orders>OrdersTotal()) AlertOrder();
   Orders=OrdersTotal();
   return(0);
  }
//+------------------------------------------------------------------+
void AlertOrder()
{
   string txt;
   double OCP;
   int i=OrdersHistoryTotal()-1;
   if(OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)==true)
   {                                     
      OCP=OrderClosePrice();
      if (OCP==OrderStopLoss()  ) txt="SL";
      if (OCP==OrderTakeProfit()) txt="TP";
      Alert("Order N ",OrderTicket()," close in ",txt," ",
      DoubleToStr(OCP,Digits)," profit ",DoubleToStr(OrderProfit(),2));
}  }
//+------------------------------------------------------------------+

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/9642

Instrument 2 Instrument 2

Displaying of any instrument, synchronisation on bars or on days.

Support and resistance levels Support and resistance levels

This a bollinger band indicator with an extra deviation level. If you keep the period at 25 and deviations of 1.0 and 2.0, It will show you all your resistance and support lines. And also overbought and oversold levels.

EA Moving Average_Money EA Moving Average_Money

I have programmed an EA using Moving Average (from mt4 default Moving Average.mq4) to decide open buy/sell combine with StopLoss using the Money Management.

EA_Email - send an e-mail on your account details every xx minutes EA_Email - send an e-mail on your account details every xx minutes

This EA will send an e-mail about your account details every xx minutes.