Double Top.mq4

MQL4 Indikatoren

Auftrag beendet

Ausführungszeit 41 Minuten

Spezifikation

Can you give this indicator my copyright and make a few changes to the code

1)instead of a triangle can the indicator draw arrow red arrow at bottom pointing up and green arrow at top pointing down.

CODE

 //+------------------------------------------------------------------+

//|                                                   Double_Top.mq4 |

//|                               Copyright © 2013, Gehtsoft USA LLC |

//|                                            http://fxcodebase.com |

//+------------------------------------------------------------------+

#property copyright "Copyright © 2013, Gehtsoft USA LLC"

#property link      "http://fxcodebase.com"


#property indicator_chart_window

#property indicator_buffers 4

#property indicator_color1 DarkGreen

#property indicator_color2 Green

#property indicator_color3 Maroon

#property indicator_color4 Red


extern int MinHeight=10;

extern int MaxDist=20;

extern int MinBars=3;


double Top[], DoubleTop[], Bottom[], DoubleBottom[];

double MinHeightPip;


int init()

{

 IndicatorShortName("Double top");

 IndicatorDigits(Digits);

 SetIndexStyle(0,DRAW_ARROW,0,2);

 SetIndexArrow(0,119);

 SetIndexBuffer(0,Top);

 SetIndexStyle(1,DRAW_ARROW,0,4);

 SetIndexArrow(1,119);

 SetIndexBuffer(1,DoubleTop);

 SetIndexStyle(2,DRAW_ARROW,0,2);

 SetIndexArrow(2,119);

 SetIndexBuffer(2,Bottom);

 SetIndexStyle(3,DRAW_ARROW,0,4);

 SetIndexArrow(3,119);

 SetIndexBuffer(3,DoubleBottom);

 MinHeightPip=MinHeight*Point;

 return(0);

}


int deinit()

{


 return(0);

}


bool IsTop(int index)

{

 int i;

 bool Fl=true;

 for (i=1;i<=MinBars;i++)

 {

  if (High[index-i]>=High[index]) Fl=false;

 }

 if (Fl)

 {

  i=index+1;

  while (i<Bars)

  {

   if (High[i]>=High[index]) return (false);

   if (High[index]-Low[i]>=MinHeightPip) return (true);

   i++;

  }

 }

 return (false);

}


bool IsBottom(int index)

{

 int i;

 bool Fl=true;

 for (i=1;i<=MinBars;i++)

 {

  if (Low[index-i]<=Low[index]) Fl=false;

 }

 if (Fl)

 {

  i=index+1;

  while (i<Bars)

  {

   if (Low[i]<=Low[index]) return (false);

   if (High[i]-Low[index]>=MinHeightPip) return (true);

   i++;

  }

 }

 return (false);

}


bool FindPrevTop(int index)

{

 int i=index+1;

 while (i<Bars && i<=index+MaxDist)

 {

  if (Top[i]==High[i]) return (true);

  i++;

 }

 return (false);

}


bool FindPrevBottom(int index)

{

 int i=index+1;

 while (i<Bars && i<=index+MaxDist)

 {

  if (Bottom[i]==Low[i]) return (true);

  i++;

 }

 return (false);

}


int start()

{

 if(Bars<=MinBars) return(0);

 int ExtCountedBars=IndicatorCounted();

 if (ExtCountedBars<0) return(-1);

 int limit=Bars-2;

 if(ExtCountedBars>2) limit=Bars-ExtCountedBars-1;

 int pos;

 pos=limit;

 while(pos>=0)

 {

  if (IsTop(pos+MinBars))

  {

   Top[pos+MinBars]=High[pos+MinBars];

  }

  else

  {

   Top[pos+MinBars]=EMPTY_VALUE;

  }


  if (IsBottom(pos+MinBars))

  {

   Bottom[pos+MinBars]=Low[pos+MinBars];

  }

  else

  {

   Bottom[pos+MinBars]=EMPTY_VALUE;

  }

  

  if (Top[pos+MinBars]==High[pos+MinBars])

  {

   if (FindPrevTop(pos+MinBars))

   {

    DoubleTop[pos+MinBars]=High[pos+MinBars];

   }

   else

   {

    DoubleTop[pos+MinBars]=EMPTY_VALUE;

   }

  }

  

  if (Bottom[pos+MinBars]==Low[pos+MinBars])

  {

   if (FindPrevBottom(pos+MinBars))

   {

    DoubleBottom[pos+MinBars]=Low[pos+MinBars];

   }

   else

   {

    DoubleBottom[pos+MinBars]=EMPTY_VALUE;

   }

  }

  

  pos--;

 } 

 return(0);

}

Bewerbungen

1
Entwickler 1
Bewertung
(121)
Projekte
134
66%
Schlichtung
36
25% / 56%
Frist nicht eingehalten
22
16%
Frei
2
Entwickler 2
Bewertung
(103)
Projekte
205
41%
Schlichtung
17
29% / 71%
Frist nicht eingehalten
45
22%
Frei
3
Entwickler 3
Bewertung
(725)
Projekte
1045
39%
Schlichtung
47
49% / 23%
Frist nicht eingehalten
84
8%
Frei
4
Entwickler 4
Bewertung
(180)
Projekte
301
30%
Schlichtung
54
24% / 56%
Frist nicht eingehalten
98
33%
Frei
5
Entwickler 5
Bewertung
(362)
Projekte
496
39%
Schlichtung
27
56% / 4%
Frist nicht eingehalten
53
11%
Frei
6
Entwickler 6
Bewertung
(467)
Projekte
701
56%
Schlichtung
44
30% / 32%
Frist nicht eingehalten
114
16%
Arbeitet
7
Entwickler 7
Bewertung
(128)
Projekte
236
65%
Schlichtung
30
37% / 23%
Frist nicht eingehalten
49
21%
Frei
8
Entwickler 8
Bewertung
(251)
Projekte
400
54%
Schlichtung
9
67% / 22%
Frist nicht eingehalten
36
9%
Frei
9
Entwickler 9
Bewertung
(2428)
Projekte
3057
66%
Schlichtung
77
48% / 14%
Frist nicht eingehalten
340
11%
Arbeitet
10
Entwickler 10
Bewertung
(106)
Projekte
314
49%
Schlichtung
42
52% / 19%
Frist nicht eingehalten
22
7%
Frei
11
Entwickler 11
Bewertung
(129)
Projekte
208
54%
Schlichtung
21
24% / 52%
Frist nicht eingehalten
64
31%
Frei
12
Entwickler 12
Bewertung
(46)
Projekte
73
16%
Schlichtung
13
8% / 92%
Frist nicht eingehalten
37
51%
Frei
Ähnliche Aufträge
Connect from Mt5 via binary deriv account api I have mt5 indicator, need to connect with binary deriv account through api. If anyone can setup via API then contact me. everything control mt5
Hello I am looking for a developer to create an 50% retracement Indicator of the previous candle . So once a candle close the Indicator is supposed to take the full candle size from high to low and make a 61% and 50% level on that candle and I would like the candle to show until the next previous candle is done creating. After this I would look to create an ea with it possibly
Hi, I have 2 indicators which are based on the super trend , the alerts on indicator (1) does not work at all , and on the other indicator the alerts do not come on time on time, which is kind of delayed. see attached file below
Looking for an experienced developer to modify my existing TDI strategy , want to add filter for Buy and Sell Signals, Arrows are displayed on chart and what only to leave high accurate arrows Source code to be provided
I have the mq5 file, I need a buffer adding to the indicator, so it appears in the data window so I can reference it later in an EA. As the below screenshot shows, there is a median ray line from yesterday (the dashed horizontal line) - I want this value in the data window called Median Ray. I want this to be a single value per day, so todays Median Ray would be 17868, and so on each day. So I want all the Developing
I would like to develop my own indicator on metatrader 4 and tradingview. We would start with a basic version that we would improve later. It is an indicator based on several analyses and which would provide several indications. I am looking for someone who can develop on MT4 and Mt5, initially I would like to do it on mt4 and then on mt5. If you have expertise in pinescript it is a plus because I would like to
I urgently require swift assistance to convert a complex indicator into a fully functional scanner, capable of automatically sending real-time data, alerts, and notifications via email, ensuring seamless integration and prompt delivery of critical information to facilitate informed decision-making and timely action
I need to improve the code of an indicator that is too heavy and slow when running and when used with iCustom in an EA. No other changes to the indicator are requested: the original features of the indicator should remain as theay are. I'll provide the indicator after job acceptance. I request final source code mq5 file. Thank you Regards
I have a mt5 indicator that is working perfectly but I will like to make it an expert advisor to have an automated trade. I will be glad if I can get a well experienced developer to execute this project. Thanks
O TRABALHO CONSISTE NA MUDANÇA DO HISTOGRAMA DO INDICADOR TREDN DIRECTION AND FORCE DSEMA SMOOTHED PARA O HISTOGRAMA DA FOTO ANEXA, OBEDECENDO AS TRES CORES VERDE (UP, VERMELHOR(DOWN) E CINZA(TREND). O MESMO TEM QUE ODECER O MESMO CALCULO E COLORIR DA MESMA FORMA POREM COM HISTOGRAMA DDE FORMATO DIFERENTE

Projektdetails

Budget
25 USD
Für die Entwickler
22.5 - 22.5 USD
Ausführungsfristen
von 1 bis 5 Tag(e)