Indicateurs d'élite :) - page 855

 
talaate:
Salut grand Mladen

Je me souviens juste de vous

merci

Talaat E

Talaat E

Il semble que j'ai oublié de le poster

Le voici : hma_slope_color_nrp_amp_mtf_amp_alerts__flèches_2.01.mq4

 
mladen:
Talaat E

Il semble que j'ai oublié de le poster

Le voici : hma_slope_color_nrp_amp_mtf_amp_alerts__flèches_2.01.mq4

Hj king

Pas de problème, comme je l'ai déjà dit, tu es le roi du codage.

Merci

Talaat E

 

BB Stops - déviations EMA - histo d'ici : https://www.mql5.com/en/forum/general mis à jour pour être compatible avec les nouvelles constructions mt4.

 
mladen:
Rsi - niveaux flottants - avancé (d'ici : https://www.mql5.com/en/forum/general): rsi_-_floating_levels_-_advanced_nmc.mq4

Bonjour Mladen / MrTools,

Pouvez-vous ajouter une flèche et des alertes lorsque la moyenne RSI passe d'un niveau inférieur à la ligne pointillée inférieure et clôture au-dessus, ou passe d'un niveau supérieur à la ligne pointillée supérieure et clôture au-dessous ?

Merci !

 
SYKEMAKAVELI:
Bonjour Mladen / MrTools,

Pouvez-vous s'il vous plaît ajouter une flèche et des alertes lorsque la moyenne RSI se déplace de dessous et ferme au-dessus de la ligne pointillée inférieure ou se déplace de dessus et ferme en dessous de la ligne pointillée supérieure ?

Merci !

Bonjour Sykemakaveli, j'ai ajouté les flèches et les alertes.

 

Bonjour, vous pouvez faire en sorte que les flèches soient émises uniquement lorsque l'indicateur du niveau de 20 ou 80 ?

Gyazo - cb63fc4539b45e012094b73e1c7a6dc1.png

младен:
Талаат E Сделают уклон версии и раместить его, как только она будет закончена
 
Alibydubby:
Bonjour, vous pouvez faire en sorte que les flèches ne soient émises que lorsque l'indicateur du niveau de 20 ou 80 ?Gyazo - cb63fc4539b45e012094b73e1c7a6dc1.png

Alibydubby

Cet indicateur est un indicateur non lié. Il n'est pas comme le stochastique ou le rsi qui oscillent entre 0 et 100. Le moyen le plus simple de s'en rendre compte est de changer de cadre temporel : sur des graphiques de 1 minute, il aura de très petites valeurs. Plus le cadre temporel est élevé, plus les valeurs seront grandes (c'est très similaire au macd en ce qui concerne cette question). La même chose se produit lorsque vous changez de symbole (passez de eurusd à usdjpy par exemple et vous verrez une grande différence dans les valeurs).

Donc, l'utilisation de certains niveaux fixes ne fonctionnerait pas de la même manière que ces niveaux sont utilisés dans le stochastique ou le rsi et dans de nombreux cas, les résultats seraient plus ou moins inutiles.

 

Пожалуйста, добавьте стрелку на ощупь границы

Gyazo - bcbd7da7b734e448b844817fd2b063d8.png

//+------------------------------------------------------------------+//| asymmetric bands.mq4 |

//| |

//| forex-tsd elite section only |

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

#property copyright "mladen"

#property link "mladenfx@gmail.com"

#property indicator_chart_window

#property indicator_buffers 3

#property indicator_color1 DimGray

#property indicator_color2 Red

#property indicator_color3 LimeGreen

#property indicator_style1 STYLE_DOT

//

//

//

//

//

extern int bandsPeriod = 14;

extern int bandsMethod = MODE_SMA;

extern int bandsPrice = PRICE_CLOSE;

extern double bandsDeviations = 2;

//

//

//

//

//

double maBuffer[];

double upBuffer[];

double dnBuffer[];

double wuBuffer[];

double wdBuffer[];

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

//| |

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

//

//

//

//

//

int init()

{

IndicatorBuffers(5);

SetIndexBuffer(0,maBuffer);

SetIndexBuffer(1,upBuffer);

SetIndexBuffer(2,dnBuffer);

SetIndexBuffer(3,wuBuffer);

SetIndexBuffer(4,wdBuffer);

return(0);

}

int deinit() { return(0); }

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

//| |

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

//

//

//

//

//

int start()

{

int counted_bars=IndicatorCounted();

int i,limit;

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

if(counted_bars>0) counted_bars--;

limit = MathMin(Bars-counted_bars,Bars-1);

//

//

//

//

//

for(i=limit; i>=0; i--)

{

double price = iMA(NULL,0,1 ,0,MODE_SMA ,bandsPrice,i);

maBuffer = iMA(NULL,0,bandsPeriod,0,bandsMethod,bandsPrice,i);

if (i==(Bars-1))

{

upBuffer = maBuffer;

dnBuffer = maBuffer;

wuBuffer = price-maBuffer;

wdBuffer = price-maBuffer;

continue;

}

//

//

//

//

//

double diff = price-maBuffer;

if(diff>=0)

{

wuBuffer = (wuBuffer*(bandsPeriod-1)+MathPow(diff,2))/bandsPeriod;

wdBuffer = wdBuffer*(bandsPeriod-1)/bandsPeriod;

}

else

{

wdBuffer = (wdBuffer*(bandsPeriod-1)+MathPow(diff,2))/bandsPeriod;

wuBuffer = wuBuffer*(bandsPeriod-1)/bandsPeriod;

}

upBuffer = maBuffer + bandsDeviations*MathSqrt(wuBuffer);

dnBuffer = maBuffer - bandsDeviations*MathSqrt(wdBuffer);

}

return(0);

}

 

Et là aussi, les flèches sur l'intersection des lignes))))

Merci U)

Gyazo - 0abf003bea9e9da4c7ebfbe9fd974931.png

//+------------------------------------------------------------------//|

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

#property copyright "mladen"

#property link "www.forex-tsd.com"

#property indicator_separate_window

#property indicator_buffers 2

#property indicator_color1 PaleVioletRed

#property indicator_color2 DimGray

#property indicator_width1 2

#property indicator_style2 STYLE_DOT

//

//

//

//

//

extern int TrixPeriod = 5;

extern int TrixPrice = PRICE_CLOSE;

extern int SignalPeriod = 8;

//

//

//

//

//

double TrixBuffer[];

double SignBuffer[];

double work[];

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

//|

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

//

//

//

//

//

int init()

{

IndicatorBuffers(3);

SetIndexBuffer(0,TrixBuffer);

SetIndexBuffer(1,SignBuffer);

SetIndexBuffer(2,work);

//

//

//

//

//

IndicatorShortName("Trix ("+TrixPeriod+")");

return(0);

}

//

//

//

//

//

int start()

{

int limit,i,counted_bars=IndicatorCounted();

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

if(counted_bars>0) counted_bars--;

limit = MathMin(Bars-counted_bars,Bars-1);

//

//

//

//

//

for(i=limit; i>=0; i--)

{

work = iEma(iEma(iEma(MathLog(iMA(NULL,0,1,0,MODE_SMA,TrixPrice,i)),TrixPeriod,i,0),TrixPeriod,i,1),TrixPeriod,i,2);

if (work!=0)

TrixBuffer = 10000*(work-work)/work;

else TrixBuffer = 0.00;

SignBuffer = iLinr(TrixBuffer,SignalPeriod,i,0);

}

//

//

//

//

//

return(0);

}

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

//|

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

//

//

//

//

//

double workEma[][3];

double iEma(double price, double period, int r, int instanceNo=0)

{

if (ArraySize(workEma)!= Bars) ArrayResize(workEma,Bars); r = Bars-r-1;

//

//

//

//

//

double alpha = 2.0 / (1.0+period);

workEma[r] = workEma[r-1]+alpha*(price-workEma[r-1]);

return(workEma[r]);

}

//

//

//

//

//

double workLinr[][1];

double iLinr(double price, double period, int r, int instanceNo=0)

{

if (ArraySize(workLinr)!= Bars) ArrayResize(workLinr,Bars); r = Bars-r-1;

//

//

//

//

//

period = MathMax(period,1);

workLinr[r] = price;

double lwmw = period; double lwma = lwmw*price;

double sma = price;

for(int k=1; k=0; k++)

{

double weight = period-k;

lwmw += weight;

lwma += weight*workLinr[r-k];

sma += workLinr[r-k];

}

return(3.0*lwma/lwmw-2.0*sma/period);

}
 
Alibydubby:
Et ici, aussi, les flèches sur l'intersection des lignes)))

Merci U)

Gyazo - 0abf003bea9e9da4c7ebfbe9fd974931.png

//+------------------------------------------------------------------//|

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

#property copyright "mladen"

#property link "www.forex-tsd.com"

#property indicator_separate_window

#property indicator_buffers 2

#property indicator_color1 PaleVioletRed

#property indicator_color2 DimGray

#property indicator_width1 2

#property indicator_style2 STYLE_DOT

//

//

//

//

//

extern int TrixPeriod = 5;

extern int TrixPrice = PRICE_CLOSE;

extern int SignalPeriod = 8;

//

//

//

//

//

double TrixBuffer[];

double SignBuffer[];

double work[];

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

//|

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

//

//

//

//

//

int init()

{

IndicatorBuffers(3);

SetIndexBuffer(0,TrixBuffer);

SetIndexBuffer(1,SignBuffer);

SetIndexBuffer(2,work);

//

//

//

//

//

IndicatorShortName("Trix ("+TrixPeriod+")");

return(0);

}

//

//

//

//

//

int start()

{

int limit,i,counted_bars=IndicatorCounted();

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

if(counted_bars>0) counted_bars--;

limit = MathMin(Bars-counted_bars,Bars-1);

//

//

//

//

//

for(i=limit; i>=0; i--)

{

work = iEma(iEma(iEma(MathLog(iMA(NULL,0,1,0,MODE_SMA,TrixPrice,i)),TrixPeriod,i,0),TrixPeriod,i,1),TrixPeriod,i,2);

if (work!=0)

TrixBuffer = 10000*(work-work)/work;

else TrixBuffer = 0.00;

SignBuffer = iLinr(TrixBuffer,SignalPeriod,i,0);

}

//

//

//

//

//

return(0);

}

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

//|

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

//

//

//

//

//

double workEma[][3];

double iEma(double price, double period, int r, int instanceNo=0)

{

if (ArraySize(workEma)!= Bars) ArrayResize(workEma,Bars); r = Bars-r-1;

//

//

//

//

//

double alpha = 2.0 / (1.0+period);

workEma[r] = workEma[r-1]+alpha*(price-workEma[r-1]);

return(workEma[r]);

}

//

//

//

//

//

double workLinr[][1];

double iLinr(double price, double period, int r, int instanceNo=0)

{

if (ArraySize(workLinr)!= Bars) ArrayResize(workLinr,Bars); r = Bars-r-1;

//

//

//

//

//

period = MathMax(period,1);

workLinr[r] = price;

double lwmw = period; double lwma = lwmw*price;

double sma = price;

for(int k=1; k=0; k++)

{

double weight = period-k;

lwmw += weight;

lwma += weight*workLinr[r-k];

sma += workLinr[r-k];

}

return(3.0*lwma/lwmw-2.0*sma/period);

}

Alibydubby

Pouvez-vous s'il vous plaît joindre les fichiers mql (utiliser l'outil de pièces jointes comme indiqué sur l'image du bas)

Dossiers :
attach.gif  33 kb