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

The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones. The EA checks whether the account is netting or hedging. The CPositionInfo, CTrade, CSymbolInfo, and CAccountInfo trade classes are used in this code.

  • Version 1 N candles.

    Search example for N=3:

    N- candles

  • Version 2 N- candles v2.

    What's new in version 2: The "Take Profit", "Stop Loss", and "Trailing" parameters were introduced.

  • Version 3 N-_Candles_v3.

    What's new in version 3: The "Maximum amount of one-direction positions" parameter was introduced.

  • Version 4: N-_Candles_v4.

    What's new in version 4: For netting accounts, the "maximum number of positions" parameter was replaced with the "maximum position volume" parameter.

  • Version 5 N- Candles v5.

    What's new in version 5: The "Working time" parameter was introduced.

  • Version 6: N-_Candles_v6.

    What's new in version 6: The "Black sheep" parameter was introduced.


What's new in version 7

Closing positions at achieving the profit level equal to Closing of positions at achievement of the general profit was added.


Inputs

  • N identical candles which go in a row - number of identical candlesticks in a row;
  • Lot - the volume of the position to be opened;
  • Take Profit - Take Profit; if this value is "0", the parameter is not used;
  • Stop Loss - Stop Loss; if this value is "0", the parameter is not used;
  • Trailing Stop - Trailing Stop; if this value is "0", the parameter is not used;
  • Trailing Step - trailing step; if this value is "0", the parameter is not used;
  • Max positions certain direction (only for hedging) - the maximum number of one-direction positions (for hedging only);
  • Max position volume (only for netting) - the maximum volume of open positions (for netting only);
  • Use trade hours - enable/disable the "working time" parameter;
  • Start hour - trading start hour;
  • End hour - trading end hour;
  • Closing of positions at achievement of the general profit - closing all positions at achieving the profit level (in money terms);
  • magic number - the unique EA identifier;
  • The type of closure at the meeting of the "black sheep" - the closing type for the "blacksheep."

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

Small_Inside_Bar_Strategy Small_Inside_Bar_Strategy

Small_Inside_Bar_Strategy - an Expert Advisor based on indicator Small_Inside_Bar.

ChannelEA2 ChannelEA2

ChannelEA2 - an Expert Advisor working in a channel, using pending stop orders.

Price Impulse Price Impulse

The EA waits for the price to pass XXX points within NNN ticks.

KAMA KAMA

Kaufman Adaptive Moving Average (KAMA)