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

Trade Sessions Indicator - MetaTrader 5용 지표

조회수:
72776
평가:
(94)
게시됨:
2010.03.15 11:19
업데이트됨:
2016.11.22 07:32
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

This indicator is based on DRAW_FILLING buffers.

The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.

Trade Sessions Indicator

The unaccuracy in the trade session times is possible, the values are from the first site I have found :))

It is possible to change its values in the block of constants, the GMT time is used.

// Time constants are specified across Greenwich
const int   AsiaOpen=0;
const int   AsiaClose=9;
const int   AsiaOpenSummertime=1;   // The Asian session shifts
const int   AsiaCloseSummertime=10; // after the time changes
const int   EuropaOpen=6;
const int   EuropaClose=15;
const int   AmericaOpen=13;
const int   AmericaClose=22;

There is an opportunity to use the time changes to the summer time, at present time it's a primitive and realized with the function TimeDaylightSavings();

//+--------------------------------------------------------------------+
// Summertime determination is reserved for the future calculations
//+--------------------------------------------------------------------+
bool Summertime(datetime time)
{
   if(TimeDaylightSavings()!=0)
      return(true);
   else
      return(false);
} 

So, after the time change to the summer time, all of the history changes it's time and vice versa.

The first version of the indicator has been published at MQL4

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

Price_Channel Price_Channel

It's a well-known indicator that shows maximal and minimal prices (and average values) of the last n bars.

WININET_TEST WININET_TEST

Here is a simple example that shows how to download page(file) from Internet using the library wininet.dll.

Ticks Ticks

Example of a tick chart.

DemoBufferPattern DemoBufferPattern

To demo buffer-pattern: Candles + Fractals + ZigzagColor + ColorMaLine.