FE Fibo Expansion – Metatrader ਲਈ ਸੂਚਕ 4

# FE Fibo Expansion – Metatrader ਲਈ ਸੂਚਕ 4

612
0
ਦੇਿਹੱਸੇਦਾ

Hello to all traders..

This is FE fibo expansion that I create using 2 object(ਪੀ[2]) in array that represent their properties for each direction UP or DOWN.

Here is a class look like:

```class ___
{
public:
int
aa,bb,cc;
double
A,
B,
C;
___():
aa(0),bb(0),cc(0),
A(0.0),B(0.0),C(0.0)
{}
~___() {}
} ਪੀ[2];
```

Where for each direction they must have 3 prices A, B and C that is upper, lower and a price between upper and lower.
While, aa, bb, and cc are the bar locations for their respective prices A, B and C earlier.

ਫਿਰ, I used the fractal formula and a little modification to determine the 3 points upper, lower and price between them along with its directions.

I use loop from the recent bar location:

```//---
int i=0;
int m=0,n=0;
bool stop=false;
double hi=0.0,lo=0.0;
//---
A=0.0;
B=0.0;
C=0.0;
ਲਈ(m=0,n=0,i=0; i<Bars-5&&!stop; i ++)
{
hi=(
iHigh(_ਚਿੰਨ੍ਹ,0,i+2)>=iHigh(_ਚਿੰਨ੍ਹ,0,i+0) &&
iHigh(_ਚਿੰਨ੍ਹ,0,i+2)>=iHigh(_ਚਿੰਨ੍ਹ,0,i + 1) &&
iHigh(_ਚਿੰਨ੍ਹ,0,i+2)>=iHigh(_ਚਿੰਨ੍ਹ,0,i+3) &&
iHigh(_ਚਿੰਨ੍ਹ,0,i+2)>=iHigh(_ਚਿੰਨ੍ਹ,0,i+4))
?iHigh(_ਚਿੰਨ੍ਹ,0,i+2):0.0;
lo=(
iLow(_ਚਿੰਨ੍ਹ,0,i+2)<=iLow(_ਚਿੰਨ੍ਹ,0,i+0) &&
iLow(_ਚਿੰਨ੍ਹ,0,i+2)<=iLow(_ਚਿੰਨ੍ਹ,0,i + 1) &&
iLow(_ਚਿੰਨ੍ਹ,0,i+2)<=iLow(_ਚਿੰਨ੍ਹ,0,i+3) &&
iLow(_ਚਿੰਨ੍ਹ,0,i+2)<=iLow(_ਚਿੰਨ੍ਹ,0,i+4))
?iLow(_ਚਿੰਨ੍ਹ,0,i+2):0.0;
//---
//---
//--------------------------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------------------------
ਜੇ(hi!=0.0)// ------------up------------
{
ਜੇ(ਪੀ[1].C!=0.0)
{
ਜੇ(n==2)
{
ਜੇ(ਪੀ[1].B<hi&&ਪੀ[1].C<ਪੀ[1].B)
{
ਪੀ[1].B=hi;   //this modify B[1] before A[1] exist
P[1].bb=i+2;
}
}
ਜੇ(n==1)
{
ਜੇ(ਪੀ[1].C<hi)
{
ਪੀ[1].B=hi;   //this B[1] dn
P[1].bb=i+2;
n++;
}
else {
n--;
ਪੀ[1].C=0.0;
}
}
}
//---
ਜੇ(ਪੀ[0].C==0.0)
{
ਜੇ(m<1)
{
ਪੀ[0].C=hi;   //innitial C[0] up
P[0].cc=i+2;
m++;
}
}
else {
ਜੇ(m==2)
{
ਜੇ(ਪੀ[0].C<hi)
{
ਪੀ[0].A=hi;   //this A[0] up
P[0].aa=i+2;
m=0;
stop=true;
}
}
ਜੇ(m==1)
{
ਜੇ(ਪੀ[0].C<hi)
{
ਪੀ[0].C=hi;   //this modify C[0] before B[0] exist
P[0].cc=i+2;
}
}
}
//---
}
//else
if(lo!=0.0)// ------------dn------------
{
ਜੇ(ਪੀ[0].C!=0.0)
{
ਜੇ(m==2)
{
ਜੇ(ਪੀ[0].B>lo&&ਪੀ[0].C>ਪੀ[0].B)
{
ਪੀ[0].B=lo;   //this modify B[0]before A[0] exist
P[0].bb=i+2;
}
}
ਜੇ(m==1)
{
ਜੇ(ਪੀ[0].C>lo)
{
ਪੀ[0].B=lo;   //this B[0] up
P[0].bb=i+2;
m++;
}
else {
m--;
ਪੀ[0].C=0.0;
}
}
}
//---
ਜੇ(ਪੀ[1].C==0.0)
{
ਜੇ(n<1)
{
ਪੀ[1].C=lo;   //innitial C[1] dn
P[1].cc=i+2;
n++;
}
}
else {
ਜੇ(n==2)
{
ਜੇ(ਪੀ[1].C>lo)
{
ਪੀ[1].A=lo;   //this A[1] dn
P[1].aa=i+2;
n=0;
stop=true;
}
}
ਜੇ(n==1)
{
ਜੇ(ਪੀ[1].C>lo)
{
ਪੀ[1].C=lo;   //this modify C[1] before B[1] exist
P[1].cc=i+2;
}
}
}
//---
}
//else
//
//---
//---
//---

ਜੇ((ਪੀ[0].C==0.0&&ਪੀ[1].C==0.0)||(hi==0.0&&lo==0.0))
{
continue;
}

}// loop```

If it found 3 points of either UP or DOWN direction, the loop breaks.

I have to take out the 3 points earlier.

```   ਜੇ(ਪੀ[0].A!=0.0&&ਪੀ[0].B!=0.0&&ਪੀ[0].C!=0.0)
{
DrawExpansion(tool,"FE ->",Time[ਪੀ[0].aa],ਪੀ[0].A,Time[ਪੀ[0].bb],ਪੀ[0].B,Time[ਪੀ[0].cc],ਪੀ[0].C,-1);
}
//---
ਜੇ(ਪੀ[1].A!=0.0&&ਪੀ[1].B!=0.0&&ਪੀ[1].C!=0.0)
{
DrawExpansion(tool,"FE ->",Time[ਪੀ[1].aa],ਪੀ[1].A,Time[ਪੀ[1].bb],ਪੀ[1].B,Time[ਪੀ[1].cc],ਪੀ[1].C,1);
}
```

And finally draw using OBJ_EXPANSION object..and I use a single function DrawExpansion(…).

```void DrawExpansion(string name,string label,datetime t1,double p1,datetime t2,double p2,datetime t3,double p3,int fl=0)
{
//---
ObjectDelete(name);
color wrn=(fl>0)?clrSkyBlue:(fl<0)?clrTomato:clrWhite;
ਜੇ(ObjectFind(0,name)!=0)
ObjectCreate(name,OBJ_EXPANSION,0,t1,p1,t2,p2,t3,p3);
ObjectSet(name,OBJPROP_FIBOLEVELS,5);
ObjectSet(name,OBJPROP_FIRSTLEVEL+0,0.618);
ObjectSet(name,OBJPROP_FIRSTLEVEL+1,1.000);
ObjectSet(name,OBJPROP_FIRSTLEVEL+2,1.618);
ObjectSet(name,OBJPROP_FIRSTLEVEL+3,2.618);
ObjectSet(name,OBJPROP_FIRSTLEVEL+4,4.236);
//---
ObjectSet(name,OBJPROP_LEVELCOLOR,clrMediumPurple);
ObjectSet(name,OBJPROP_LEVELWIDTH,1);
ObjectSet(name,OBJPROP_LEVELSTYLE,0);
ObjectSet(name,OBJPROP_COLOR,wrn);
//---
ObjectSetFiboDescription(name,0,label+"  "+DoubleToStr(0.618*100,1)+"  ");
ObjectSetFiboDescription(name,1,label+"  "+DoubleToStr(1.000*100,1)+"  ");
ObjectSetFiboDescription(name,2,label+"  "+DoubleToStr(1.618*100,1)+"  ");
ObjectSetFiboDescription(name,3,label+"  "+DoubleToStr(2.618*100,1)+"  ");
ObjectSetFiboDescription(name,4,label+"  "+DoubleToStr(4.236*100,1)+"  ");
//---
}```

Here, I use

0.618,

1.000,

1.618,

2.618 ਅਤੇ

4.236 level.

FE Fibo Expansion is a Metatrader 4 (MT4) indicator and the essence of the forex indicator is to transform the accumulated history data.Subway provides for an opportunity to detect various peculiarities and patterns in price dynamics which are invisible to the naked eye.

ਇਸ ਜਾਣਕਾਰੀ ਨੂੰ ਦੇ ਆਧਾਰ 'ਤੇ, ਵਪਾਰੀ ਨੂੰ ਹੋਰ ਕੀ, ਮਤ ਲਹਿਰ ਨੂੰ ਮੰਨ ਅਤੇ ਇਸ ਅਨੁਸਾਰ ਹੀ ਆਪਣੀ ਰਣਨੀਤੀ ਨੂੰ ਅਨੁਕੂਲ ਕਰ ਸਕਦਾ ਹੈ.

How to install the software?

• Download the mq4 file from the zip file.
• Copy the mq4 file to your Metatrader Directory / ਮਾਹਰ / ਸੂਚਕ /
• ਸ਼ੁਰੂ ਕਰੋ ਜ ਆਪਣੇ Metatrader ਕਲਾਇੰਟ ਨੂੰ ਮੁੜ ਚਾਲੂ ਕਰੋ
• ਤੁਹਾਨੂੰ ਆਪਣੇ ਸੰਕੇਤਕ ਨੂੰ ਟੈਸਟ ਕਰਨ ਲਈ ਚਾਹੁੰਦੇ ਹੋ, ਜਿੱਥੇ ਚੁਣੋ ਚਾਰਟ ਅਤੇ ਟਾਈਮਫ੍ਰੇਮ
• Search “Custom Indicators” in your Navigator mostly left in your Metatrader Client
• Right click on the mq4 file.
• ਇਕ ਚਾਰਟ ਨੂੰ ਨੱਥੀ
• ਸੈਟਿੰਗ ਜ ਪ੍ਰੈਸ ਠੀਕ ਹੈ ਨੂੰ ਸੋਧ
• Indicator should be available on your Chart

How to remove tim.mq4 from your Metatrader 4 ਚਾਰਟ?

• ਇੰਡੀਕੇਟਰ ਨੂੰ ਆਪਣੇ Metatrader ਕਲਾਇੰਟ ਵਿੱਚ ਚੱਲ ਰਿਹਾ ਹੈ, ਜਿੱਥੇ ਕਿ ਚਾਰਟ ਦੀ ਚੋਣ ਕਰੋ
• ਸੱਜਾ ਚਾਰਟ ਵਿੱਚ ਕਲਿੱਕ ਕਰੋ
• “Indicators list”
• ਇੰਡੀਕੇਟਰ ਚੁਣੋ ਅਤੇ ਹਟਾਓ

MT4 ਇੰਡੀਕੇਟਰਸ ਹੇਠ ਡਾਊਨਲੋਡ:

FE Fibo Expansion – Metatrader ਲਈ ਸੂਚਕ 4[/sociallocker]
ਦੇਿਹੱਸੇਦਾ