당사 팬 페이지에 가입하십시오
- 조회수:
- 6118
- 평가:
- 게시됨:
- 2018.06.06 12:47
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The Highest Lowest indicator searches for bars having High above the High of bars on the left and on the right, as well as bars having Low below the Low of bars on the left and on the right:
Fig. 1. Highest Lowest
The indicator is displayed using the DRAW_ARROW style.
Since the indicator analyzes the bar on the right, the value of the indicator may change in some cases. For example, the following bar can be redrawn:
Fig. 2. Highest Lowest The bar can be redrawn
This bar will not be redrawn:
Fig. 3. Highest Lowest The bar can not be redrawn
If you want to see the default indexing of bars in indicators, uncomment code in OnCalculate:
/*
int bar_0=0;
int bar_rates_total_minus_1=rates_total-1;
Comment("prev_calculated=",prev_calculated,"\n",
"time[",bar_0,"]=",time[bar_0],"\n",
"time[",bar_rates_total_minus_1,"]=",time[bar_rates_total_minus_1]);
*/
This code displays on the screen the value of the prev_calculated variable, the time of the bar with the 0 index and the time of the bar with the index of rates_total-1.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/20300
![EA Stop Order](https://c.mql5.com/i/code/expert.png)
The Expert Advisor places a grid of pending Buy Stop and Sell Stop orders.
![HLBands](https://c.mql5.com/i/code/indicator.png)
An indicator of daily levels.