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

Futures Portfolio Control Expiration - MetaTrader 5용 expert

조회수:
6990
평가:
(19)
게시됨:
2018.06.06 14:34
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The Expert Advisor demonstrates the use of functions from the Current Next Futures script, which enables automatic switch to a new futures before expiration. The EA opens a position of the appropriate volume on three instruments, which are specified in input parameters. Negative volume values are used for sell positions, positive ones are for buy positions. A few hours before the expiration of the futures (specified in hours_before_expiration), the EA closes the position and opens a new one on the new futures symbol.


Input Values

  • Symbol1 - a short name of the first symbol;
  • Symbol2 - a short name of the second symbol;
  • Symbol3 - a short name of the third symbol;
  • Lot1 - volume for the first symbol;
  • Lot2 - volume for the second symbol;
  • Lot3 - volume for the third symbol;
  • hours_before_expiration - how many hours before expiration the EA should switch to a new futures symbols.

Warning: The Expert Advisor has not been tested in real trading. It is designed for use in the Strategy Tester.

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

Trend_Force Trend_Force

An indicator of trend strength.

RSI_With_Step_MA RSI_With_Step_MA

A smoothed RSI.

WCCI WCCI

A weighted CCI.

maximus_vX lite maximus_vX lite

The Expert Advisor trades using levels. It can have a maximum of two positions of each type (Buy and Sell) in the market.