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

Nextbar - MetaTrader 5용 expert

게시자:
Vladimir Karputov
조회수:
3937
평가:
(16)
게시됨:
2018.09.27 15:50
Nextbar.mq5 (36.41 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Idea by: Scriptor

MQL5 code author: barabashkakvn

The Expert Advisor operates (opens positions and checks the possibility of closing) only at the moment of bar emergence. The trailing function operates (checks the possibility to move Stop Loss) on every tick.

The volume of the opened position is equal to Lots. Stop Loss, Take Profit and Trailing Stop can be disabled by setting the appropriate parameter to "0.0".


Trading system signals

The EA compares the bar #1 Close price with the Signal bar Close price (the Signal bar value cannot be less than 2, otherwise it is considered to be an error and the EA is unloaded). The difference between the closing prices of these two bars should be greater than Minimum distance.

Another restriction: a signal is generated when there are no open positions.

Signals when Use reverse signals = false:

  • BUY signal: close of bar #1 - close of bar #Signal bar > Minimum distance;
  • SELL signal: close of bar #Signal bar - close of bar #1 > Minimum distance.

If Use reverse signals = true, the generated signal is reversed.

Position lifetime is also checked at a new bar emergence: if it reached Lifetime of the position bars, the position will be closed.

An example of how the reverse of signals influences EURUSD, H1:

Nextbar Use reverse signals true

Nextbar Use reverse signals false

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

DLMv DLMv

A trading system based on the FX Fish 2MA indicator.

i-AnyRange2Cld i-AnyRange2Cld

An indicator of two ranges of arbitrary time intervals.

i-AnyRangeCld i-AnyRangeCld

An indicator of ranges of arbitrary time intervals.

i-AnyRangeCldTail i-AnyRangeCldTail

An indicator of ranges of arbitrary time intervals with the extension of the interval generated within the specified session until the next session.