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

s-LastPinkEventDate - MetaTrader 5용 스크립트

게시자:
[삭제]
조회수:
6832
평가:
(29)
게시됨:
2010.10.19 11:53
업데이트됨:
2016.11.22 07:32
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Since build 344 of the client terminal display of economic calendar news using special graphical objects (OBJ_EVENT) is added.

A script that outputs as a demonstration of the Economic Calendar with current economic data, the date of the last major(Pink) event.

s-LastPinkEventDate

s-LastPinkEventDate

Use the function datetime last_pink_event_date()

//+------------------------------------------------------------------+
//| The function returns the date of the last event                  |
//| marked in pink (economic indicator                               |
//| is less than expected).                                          |
//+------------------------------------------------------------------+
datetime last_pink_event_date()
  {
   string  name="";
   int total=ObjectsTotal(0)-1;

   for(int i=total; i>=0; i --)
     {
      name=ObjectName(0,i);

      if(ObjectGetInteger(0,name,OBJPROP_TYPE,0)  !=  109) continue; // Object type - Event
      if(ObjectGetInteger(0,name,OBJPROP_COLOR,0) != Pink) continue; // Object color - Pink

      datetime date=(datetime)StringSubstr(name,0,16); // Highlight the event date from the text string

      return(date); //return the date
     }

   return(0);
  }

Recommendations:

  • On weekends there there are no data objects on the chart
  • Special graphical objects are present and activated
2MA_RSI 2MA_RSI

This Expert Advisor uses two Moving Averages and RSI indicator.

is7n_trend.mq5 (new) is7n_trend.mq5 (new)

This trend indicator is based on moving averages.

ClearView - PricePointer, RoundNumberMarker, PeriodSeparator plus template ClearView - PricePointer, RoundNumberMarker, PeriodSeparator plus template

Enhance your charts by adding intelligent markers for important price points and the start/end of year/month/week/day/session Includes a price pointer that changes color whenever price is near an important price point (e.g. historical high/low)

i-OrdersMQL5 i-OrdersMQL5

The indicator shows deals history on the chart.