0
(0)
नाम:
i-FractalsEx
लेखक: RickD (2007.08.04 09:03)
रेटिंग: 12
डाउनलोड: 18491
डाउनलोड करना:
i-FractalsEx 1
i-FractalsEx.mq4 (1.8 केबी) देखना
extern int Fr.Period = 6; - 6 bars before and 6 bars after the current bar define the fractal

extern int MaxBars = 500; - maximum number of bars for 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-ZigZag! 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

अभी तक कोई वोट नहीं! इस पोस्ट को रेट करने वाले पहले व्यक्ति बनें.

हमें खेद है कि यह पोस्ट आपके लिए उपयोगी नहीं रही!

आइए इस पोस्ट को बेहतर बनाएं!

हमें बताएं कि हम इस पोस्ट को कैसे बेहतर बना सकते हैं?



लेखक: विदेशी मुद्रा विकी टीम
हम अत्यधिक अनुभवी विदेशी मुद्रा व्यापारियों की एक टीम हैं [2000-2023] जो अपनी शर्तों पर जीवन जीने के लिए समर्पित हैं. हमारा प्राथमिक उद्देश्य वित्तीय स्वतंत्रता और स्वतंत्रता प्राप्त करना है, और हमने स्व-शिक्षा का अनुसरण किया है और एक स्व-टिकाऊ जीवन शैली प्राप्त करने के हमारे साधन के रूप में विदेशी मुद्रा बाजार में व्यापक अनुभव प्राप्त किया है।.