Rejoignez notre page de fans
- Vues:
- 6257
- Note:
- Publié:
- 2017.03.02 12:21
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
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:
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:
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 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):
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):
The video with a sample search:
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/17528
![Exp_IBS_RSI_CCI_v4](https://c.mql5.com/i/code/expert.png)
Trading system using the IBS_RSI_CCI_v4 indicator
![AutoMagic](https://c.mql5.com/i/code/library.png)
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](https://c.mql5.com/i/code/expert.png)
The trading system is based on direction changes of the wighted oscillator WeightOscillator
![MFICandleKeltner](https://c.mql5.com/i/code/indicator.png)
A Keltner Channel drawn relative to the average value of the MFI oscillator as a sequence of candlesticks