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

JS-MA-Day - MetaTrader 5용 expert

게시자:
Vladimir Karputov
조회수:
2116
평가:
(10)
게시됨:
2018.07.09 10:29
JS-MA-Day.mq5 (46.48 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Idea by: JS_Sergey.

MQL5 code by: Vladimir Karputov.

The EA is based on indicator iMA (Moving Average, MA) with timeframe D1.

You can increase your positions (set parameter "Increase positions" to "true"), but you should be careful when setting parameters "Close hour" and "Increase timeframe". An example of erroneously set parameters: You set "Close hour" to "23" and "Increase timeframe" to "PERIOD_H4". In this case, positions will not close at 23-00, since candlesticks open at the period of H4 at the following times: 16-00, 20-00, and 00-00, i.e., we cannot be within the range of 23-00 at all. This is why, if you enable "Close hour" (the value exceeds "-1") for parameter "Increase timeframe", it is better to select H1 or a lower timeframe. When increasing your positions, you can limit the number of open positions ("Max positions") on the current symbol and with the current "magic number".

Stop loss, take profit, and trailing can be disabled. For this, it is sufficient to set the relevant input to zero.

Position size can be managed in two manners: Trading with a constant lot size (parameter "Lots" is above zero, and parameter "Risk" is zero), or dynamically calculating the lot size in risk percents per trade (parameter "Risk" is above zero, and parameter "Lots" is zero).


Inputs

  • Increase positions
  • Increase timeframe
  • Max positions
  • Reverse signals
  • Close hour ("-1" --> off)

//--- Indicator input

  • MA PERIOD_D1: averaging period
  • MA PERIOD_D1: horizontal shift
  • MA PERIOD_D1: smoothing type
  • MA PERIOD_D1: type of price or handle

//--- Trade managing

  • Stop Loss (in pips)
  • Take Profit (in pips)
  • Trailing Stop (in pips)
  • Trailing Step (in pips)
  • Lots (or "Lots">0 and "Risk"==0 or "Lots"==0 and "Risk">0)
  • Risk (or "Lots">0 and "Risk"==0 or "Lots"==0 and "Risk">0)
  • magic number

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

MACD Stochastic 2 MACD Stochastic 2

iMACD (Moving Average Convergence/Divergence, MACD) with adjustable timeframes and a Stochastic of the current timeframe.

2MA Bunny Cross Expert 2MA Bunny Cross Expert

An Expert Advisor based on two indicators iMA (Moving Average, MA).

BreakOut15 BreakOut15

An Expert Advisor based on two indicators iMA (Moving Average, MA). At crossing, we move back from the price at a certain distance and then expect the level obtained to be broken through.

Price Rollback Price Rollback

A trading system that only trades on resverse and from Thursday to Friday only.