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

EA High and Low last 24 hours - MetaTrader 5용 expert

조회수:
6096
평가:
(27)
게시됨:
2017.03.02 12:21
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

An example of receiving the High and Low prices of bars over the past 24 hours.

Hot Keys:

  • The "H" key (case insensitive) — find the High price
  • The "L" key (case insensitive) — find the Low price

To get the High and Low prices, the third form of call CopyHigh and CopyLow is used:

Requesting based on the first and last date of the required time interval:

int  CopyHigh(
   string           symbol_name,      // Symbol name
   ENUM_TIMEFRAMES  timeframe,        // Period
   datetime         start_time,       // Start date
   datetime         stop_time,        // End date
   double           high_array[]      // Array to copy High prices
   );

Requesting based on the first and last date of the required time interval:

int  CopyLow(
   string           symbol_name,     // Symbol name
   ENUM_TIMEFRAMES  timeframe,       // Period
   datetime         start_time,      // Start date
   datetime         stop_time,       // End date
   double           low_array[]      // Array to copy Low prices
   );

The time interval is represented as follows:

         datetime stop_time   = TimeCurrent();              // stop date and time
         datetime start_time  = stop_time-24*60*60;         // start date and time  

start_time <-> stop_time

Visualization:

For convenience, text information is displayed on the chart (the example with low prices):

EA High and Low last 24 hours comment 

 

Also a vertical line is displayed in the chart (it shows the left border of the time interval), and a horizontal line is shown (means the searched price) — (the example with low prices):

EA High and Low last 24 hours lines

The video with a sample search:


 

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

Exp_IBS_RSI_CCI_v4 Exp_IBS_RSI_CCI_v4

Trading system using the IBS_RSI_CCI_v4 indicator

AutoMagic AutoMagic

The library allows to automatically assign 'magic' to an Expert Advisor on any symbol and any timeframe. It allows having up to 65535 magic numbers in one Expert Advisor.

Exp_WeightOscillator_Direct Exp_WeightOscillator_Direct

The trading system is based on direction changes of the wighted oscillator WeightOscillator

MFICandleKeltner MFICandleKeltner

A Keltner Channel drawn relative to the average value of the MFI oscillator as a sequence of candlesticks