거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
27589
평가:
(34)
게시됨:
2015.12.11 11:08
\MQL4\Include\Common\ \MQL4\Include\Divergence\ \MQL4\Experts\
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The Expert Advisor uses signals provided by the DivergenceViewer indicator. This does not require the indicator to be present in the terminal folder. The EA configuration parameters include the "Divergence parameters" block, which duplicates the similar parameters of the indicator.

The EA opens deals when a divergence of a specified class is registered. The Stop Loss level is set behind the local extremum, reached by the price over the divergence formation period, at the distance of "Offset for Stop Loss, pts.". The Take Profit level depends on the distance between the deal opening price and the Stop Loss level. This ratio can be adjusted using the "Ratio of the TP size to SL" parameter.

For the Expert Advisor to properly detect the divergences, it is necessary to specify the amount of bars, sufficient for the correct calculation of the base indicator values, in the "Start bars count" parameter. For example, to calculate the values of the William Blau base indicator with the parameters 8000, 1, 1, the chart is required to have at least 8000 bars.

The detailed description of the Expert Advisor and thorough test results are given in the article The Divergence Expert Advisor.

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

iPulsar - indicator of critical price levels iPulsar - indicator of critical price levels

The indicator registers the price level breakout moments and the significance of these levels.

High, Low and Close of the previous day, week or month High, Low and Close of the previous day, week or month

The indicator shows the High, Close and Low of the previous day, week or month with time shift.

Close all locked orders Close all locked orders

The function closes all locked orders. This really saves money on the spread.

Lot-SL propotion Lot-SL propotion

The function returns the lot size, which is calculated based on the stop loss size and the risk specified in the variable.