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

Determine Broker's Daylight (DST) schedule - MetaTrader 5용 스크립트

조회수:
2187
평가:
(7)
게시됨:
2024.03.14 00:17
업데이트됨:
2024.04.23 23:42
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Script to determine whether your Broker follows the US, UK or AU daylight (DST) schedule.

The script scans the H1 chart bars of the current chart at the expected dates for the daylight changes, and by comparing the changes in server (bar) times at these bars, the DST schedule of your broker can be determined.

The algorithm is simple and fast. Additionally, it  works properly in the strategy tester because it does not depend on price reaction to economic calendar events (like other algos).

DST_AU schedule:


DST_UK schedule:


DST_US schedule:


DST_NONE schedule:

  • the server does not forward its clock during summer.


Sample outputs after running the script on different Fx brokers:

/*
 Server : Exness-MT5Trial
 Time   : 2024.03.13 12:25:13
 Offset : GMT+0
 DST_NONE
*/

another broker:

/*
 Server : OctaFX-Demo
 Time   : 2024.03.14 00:27:05
 Offset : GMT+2
 DST_UK : server dst begins on the last Sunday of March (+1) and ends on the last Sunday of October (-1)
*/

a third broker:

/*
 Server : ICMarketsSC-Demo
 Time   : 2024.03.14 01:42:54
 Offset : GMT+3
 DST_US : server dst begins on the second Sunday of March (+1) and ends on the first Sunday of November (-1)
*/




    Wick or Body High Low Wick or Body High Low

    Searches for Wick or Body based High low in visible bars of chart

    Intraday Currencies Performance Intraday Currencies Performance

    A simple observatory of individual currencies.

    Slope Entry Points Slope Entry Points

    Indicator based on basic slope moving average and cloud around. Indicator shows two types of signals: prepearing - dot and entry - arrow.

    iForexSessions iForexSessions

    Highlights the Forex Market Sessions (Sydney, Tokyo, London, New York).