i-FractalsEx

0
(0)
이름:
i-FractalsEx
작가: RickD (2007.08.04 09:03)
평가: 12
다운로드됨: 18491
다운로드:
i-FractalsEx 1
i-FractalsEx.mq4 (1.8 kb) 보다
extern int Fr.Period = 6; - 6 바 이전과 6 bars after the current bar define the fractal

extern int MaxBars = 500; - caclucalion의 최대 막대 수

 

i-FractalsEx 2

11 코멘트: 1 2 새 댓글을 게시하려면, 제발 로그인 또는 등록하다

pls do we have this indicator as EA,kindly forward to me

 

[email protected]

17.07.2013 12:18 08023105152

I did a little improved and more flexibile version of this nice indicator.

#define major   1
#define minor   0

#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 LimeGreen
#property indicator_width1  1
#property indicator_width2  1

extern int leftPeriod = 6;
extern int rightPeriod = 6;
extern int errorInPips = 0;
extern int nrOfPips = 4;
extern int MaxBars = 2500;

double upper_fr[];
double lower_fr[];

int minPeriod, maxPeriod;
double factorPipsToPrice;//  = 1/MathPow(10,nrOfPips);
double errorInPrice;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

void init() {
  SetIndexBuffer(0, upper_fr);
  SetIndexBuffer(1, lower_fr);

  SetIndexEmptyValue(0, 0);
  SetIndexEmptyValue(1, 0);

  SetIndexStyle(0, DRAW_ARROW);
  SetIndexArrow(0, 217);//SYMBOL_ARROWDOWN);//234

  SetIndexStyle(1, DRAW_ARROW);
  SetIndexArrow(1, 218); //233 SYMBOL_ARROWUP  

  minPeriod = MathMin(leftPeriod,rightPeriod);
  maxPeriod = MathMax(leftPeriod,rightPeriod);

  factorPipsToPrice = 1/MathPow(10,nrOfPips);
  errorInPrice = errorInPips * factorPipsToPrice;  
}

void start() 
{
  int counted = IndicatorCounted();
  만약에 (counted < 0) 반품 (-1);
  만약에 (counted > 0) counted--;

  int limit = MathMin(Bars-counted, 최대바);

  //-----

  double dy = 0;
  ~을 위한 (int i=1; 나 <= 20; i++) {
    dy += 0.3*(높은[나]-낮은[나])/20;
  }

  ~을 위한 (i=minPeriod; 나 <= limit+minPeriod; i++) 
  {
    upper_fr[나] = 0;
    lower_fr[나] = 0;

    만약에 (is_upper_fr(나, leftPeriod, rightPeriod)) upper_fr[나] = High[나]+2*dy;
    만약에 (is_lower_fr(나, leftPeriod, rightPeriod)) lower_fr[나] = Low[나]-2*dy;
  }
}

bool is_upper_fr(int bar, int leftPeriod, int rightPeriod) { 
  int i;

  ~을 위한 (i=1; 나<=leftPeriod; i++) 
  {
    만약에 (bar+i >= Bars) 반품 (거짓);
    만약에 (높은[술집] < 높은[bar+i] - errorInPrice) 반품 (거짓);
  }

  ~을 위한 (i=1; 나<=rightPeriod; i++) 
  {
    만약에 (bar-i < 0) 반품 (거짓);
    만약에 (높은[술집]< 높은[bar-i] - errorInPrice) 반품 (거짓);
  }

  반품 (진실);
}

bool is_lower_fr(int bar, int leftPeriod, int rightPeriod) {
  int i;
  ~을 위한 (i=1; 나<=leftPeriod; i++) 
  {
    만약에 (bar+i >= Bars) 반품 (거짓);
    만약에 (낮은[술집] > 낮은[bar+i] + errorInPrice) 반품 (거짓);
  }
  ~을 위한 (i=1; 나<=rightPeriod; i++) 
  {
    만약에 (bar-i < 0) 반품 (거짓); 
    만약에 (낮은[술집] > 낮은[bar-i] + errorInPrice) 반품 (거짓);
  }
  반품 (진실);
}

Improvements:

1. changed colors,

2. changed arrows (exactly like Williams fractals)

3. custom left period and custom right period of the fractal,

4. custom number of pips

5. custom error in pips (more flexible comparing between current bar and left/right bars)

06.10.2010 17:52 mishhh

WOULD SOMEBODY PLEASE HELP ME. I DOWNLOADED IFRACTALsEX.MQ4, BUT IT DOES NOT COME UP ON CHART. iNDICATOR WINDOWS SAYS ITS THERE BUT NOTHING SHOWS. I TRIED "COMPLING", STILL DOESNT WORK. WHAT SHOULD I DO ?????????????????

26.07.2009 11:44 yogibear13

Wonderful, 정밀한 Fractals-지그재그! I love this Indicator! Thank You very, very much!

28.05.2009 19:25 Poster

This indicator looks nice for average traders for a start.

감사해요

15.11.2007 11:57 webwareshop

The problem with Fractal indicators is usually you have to wait for the length of the fractal after its occurrence to actually find out it was a fractal. It appears this is the case for this indicator.

Do the arrows plot on the current price bar or six ( 기본 ) periods after the occurrence of the high?

11.11.2007 22:39 gumpat

ruffneck75 wrote:
What do the arrows mean,which is to buy and which is to sell...

Dear ruffneck 75:
I think Yellow arrow (From bottom to top) means BUY & Red arrow (From top to bottom) means SELL. It seems very good signals at H4 and Upper time frames but if not be currective.
did u test it in different time frames for know currection specification of this inidicator?

06.11.2007 23:28 ma3x4x

2 Questions: 1성: Is it Corrective indicator or not? Seems very good BUY / SELL Signals at 4 Hours Time Frame and Upper than, But if arrows not be currective.
2차: Are arrows genesis after candlesticks Finishing or can be change during chandle generation from buy to sell (or sell to buy) ?
06.11.2007 23:22 ma3x4x

What do the arrows mean,which is to buy and which is to sell...
03.11.2007 23:46 ruffneck75

but what's means this? when the arrow do appears?

이 게시물이 얼마나 유용했나요??

평가하려면 별표를 클릭하세요.!

평균 평점 0 / 5. 투표수: 0

현재까지 투표가 없습니다! 이 게시물을 가장 먼저 평가해 보세요..

이 게시물이 귀하에게 도움이 되지 못했다니 죄송합니다!

이 게시물을 개선해 보겠습니다.!

이 게시물을 개선할 수 있는 방법을 알려주세요.?



작가: 외환 위키 팀
우리는 경험이 풍부한 Forex 트레이더 팀입니다. [2000-2023] 우리 자신의 조건에 따라 삶을 살기 위해 헌신하는 사람들. 우리의 주요 목표는 재정적 독립과 자유를 얻는 것입니다., 우리는 자기 교육을 추구하고 Forex 시장에서 자립 가능한 라이프 스타일을 달성하기 위한 수단으로 광범위한 경험을 얻었습니다..