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

Get trend - MetaTrader 5용 expert

게시자:
Vladimir Karputov
조회수:
5232
평가:
(27)
게시됨:
2017.03.22 15:54
업데이트됨:
2018.02.27 12:38
Get trend.mq5 (30.15 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Author of the idea — Yuriauthor of the MQL5 code — barabashkakvn

Attention! The Expert Advisor will only work on the M15 timeframe!

Short-term trends. The Expert Advisor uses two iMA indicators and one iStochastic.

System rules:

  1. Compare the moving averages on the 15-minute and 1-hour chart. Trend exists if price on both charts is above or below the moving average.
  2. Once you have identified the trend, analyze the 15-minute chart for compliance with its two conditions (both of them must be met at the same time):
    1. the price should be no more than 20 points above (to buy) or no more than 20 pips below (to sell) the moving average;
    2. the stochastic line should cross the stochastic line below the stochastic level 20 (to buy) or cross the stochastic line down above the level of 80 (to sell).
Calculating parameters:

//--- Calculating initial parameters of indicators to search for entry conditions
   double MA_M15   = iMAGet(handle_iMA_M15,1);
   double MA_H1    = iMAGet(handle_iMA_H1,1);

   double Stoh_slow = iStochasticGet(SIGNAL_LINE,1);
   double Stoh_fast = iStochasticGet(MAIN_LINE,1);
   double Stoh_fast_prew=iStochasticGet(MAIN_LINE,2);

   double price_M15=iClose(1,NULL,PERIOD_M15);
   double price_H1=iClose(1,NULL,PERIOD_H1);

Buy condition:

//--- Checking conditions to perform a deal
   if(price_M15<MA_M15 && price_H1<MA_H1 && (MA_M15-price_M15)<=porog*m_adjusted_point)
     {
      if(Stoh_slow<20 && Stoh_fast<20 && Stoh_fast_prew<Stoh_slow && Stoh_fast>Stoh_slow)
        {

Sell condition:

   if(price_M15>MA_M15 && price_H1>MA_H1 && (price_M15-MA_M15)<=porog*m_adjusted_point)
     {
      if(Stoh_slow>80 && Stoh_fast>80 && Stoh_fast_prew>Stoh_slow && Stoh_fast<Stoh_slow)
        {


EURUSD,M15, c 2016.01.01 по 2017.02.06:

Get trend tester
 

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

Precision trend (histo) Precision trend (histo)

Precision trend (histo).

Precision Trend Precision Trend

The newest version of the Precision Trend Indicator.

MoneyRain MoneyRain

The Expert Advisor increases the lot size after each of profitable deal, if it was preceded by losing trades. Martingale.

AutoFibAutoTrend_NRTR_ZigZag AutoFibAutoTrend_NRTR_ZigZag

The indicator plots price channel and Fibonacci levels based on the latest NRTR_ZigZag peaks