Está perdiendo oportunidades comerciales:
- Aplicaciones de trading gratuitas
- 8 000+ señales para copiar
- Noticias económicas para analizar los mercados financieros
Registro
Entrada
Usted acepta la política del sitio web y las condiciones de uso
Si no tiene cuenta de usuario, regístrese
hola gran Mladen
Me estoy acordando de ti
gracias
Talaat ETalaat E
Parece que se me olvidó publicarlo
Aquí está : hma_slope_color_nrp_amp_mtf_amp_alerts__arrows_2.01.mq4
Talaat E
Parece que se me olvidó publicarlo
Aquí está : hma_slope_color_nrp_amp_mtf_amp_alerts__arrows_2.01.mq4Hj rey
No hay problema, como dije antes, eres el rey de la codificación
Gracias
Talaat E
BB Stops - Desviaciones EMA - histo de aquí: https://www.mql5.com/en/forum/general actualizado para ser compatible con las nuevas builds de mt4.
Rsi - floating levels - advanced (desde aquí : https://www.mql5.com/en/forum/general): rsi_-_floating_levels_-_advanced_nmc.mq4
Hola Mladen / MrTools,
¿Puedes añadir una flecha y alertas para cuando la media RSI se mueve desde abajo y cierra por encima de la línea de puntos inferior o se mueve desde arriba y cierra por debajo de la línea de puntos superior?
Gracias.
Hola Mladen / MrTools,
¿Puedes añadir una flecha y alertas para cuando la media RSI se mueve desde abajo y cierra por encima de la línea de puntos inferior o se mueve desde arriba y cierra por debajo de la línea de puntos superior?
Gracias.Hola Sykemakaveli, he añadido las flechas y las alertas.
Hola, puede hacer que las flechas se emiten sólo cuando el indicador del nivel de 20 o 80?
Gyazo - cb63fc4539b45e012094b73e1c7a6dc1.png
Талат E Сделают уклон версии и разместить его, как только она будет закончена
Hola, puedes hacer que las flechas se emitan sólo cuando el indicador del nivel de 20 o 80?Gyazo - cb63fc4539b45e012094b73e1c7a6dc1.png
Alibydubby
Ese indicador es un indicador no ligado. No es como el estocástico o el rsi que oscilan entre 0 y 100. La forma más fácil de verlo es cambiar de marco temporal: en gráficos de 1 minuto tendrá valores muy pequeños. Cuanto más alto sea el marco temporal, más grandes serán los valores (es muy similar al macd en cuanto a este tema). Lo mismo ocurrirá cuando cambies de símbolo (cambia de eurusd a usdjpy por ejemplo y verás una gran diferencia en los valores)
Por lo tanto, el uso de algunos niveles fijos no funcionaría de la misma manera que esos niveles se utilizan en estocástico o rsi y en muchos casos los resultados serían más o menos inútiles
Пожалуйста, добавьте стрелку на ощупь границы
Gyazo - bcbd7da7b734e448b844817fd2b063d8.png
//| |
//| 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);
}
Y aquí, también, las flechas en la intersección de las líneas)))
Gracias 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);
}Y aquí, también, las flechas en la intersección de las líneas)))
Gracias 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
Puedes adjuntar los archivos mql por favor (usa la herramienta de adjuntos como se marca en la imagen inferior)