Indicadores Multi Timeframe - página 922

 
luffy:
Hola chicos, ¿alguien puede ayudarme?

Sólo unos minutos para mirar mi código.

Por favor, envíeme un Pm.

Será un honor.

( No puedo publicar mi código de mierda aquí, será más difícil de eliminar )

Siempre puedes publicar preguntas sobre la codificación en un hilo como este : https://www.mql5.com/en/forum/184889/page2 o este https://www.mql5.com/en/forum/173219

 

İ no puede encontrar estos scripts.Buy y vender scripts incluye sólo cada comercio 0.1 lote y trailling parada 10 pip .please ayudarme?

 
beco616161:
İ no puede encontrar estos scripts.Buy y vender scripts incluye sólo cada comercio 0.1 lote y trailling parada 10 pip .please ayudarme?

Tu post con la misma pregunta fue movido aquí : https://www.mql5.com/en/forum/173386

Usted puede comprobar que la secuencia de comandos para el inicio

 

heikenashi3.ex4Mladen nadie me responde.por favor ayúdeme. fundé HEİKENASHİ3 el indicatör.pero no puedo codificar flecha en este indikatör.por favor ayúdeme

Archivos adjuntos:
gbpusdm4.png  39 kb
 
beco616161:
heikenashi3.ex4Mladen nadie me responde.por favor ayúdame. fundé HEİKENASHİ3 el indicatör.pero no puedo codificar flecha en este indikatör.por favor ayúdame

Beco616161, necesitaría el código fuente original mt4(no descompilado) para poder modificar el indicador.

 

podría alguien por favor hacer este indicador a MTF

gracias

Archivos adjuntos:
weiswave3_1.mq4  10 kb
 

MRTOOLS muy gracias por la ayuda.i código fundado.

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

//| Heiken Ashi.mq4 |||

//| Copyright 2004, MetaQuotes Software Corp. |

//| Plataforma comercial MetaTrader 5 / Meta Quotes Software Corp.

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

//| Para Heiken Ashi recomendamos la siguiente configuración del gráfico ( pulse F8 o |

//| seleccione en el menú 'Gráficos'->'Propiedades...'): |

//| - En la pestaña 'Color' seleccione 'Negro' para 'Gráfico de Líneas' ||| - En la pestaña 'Común' seleccione 'Negro'.

//| - En la pestaña 'Común' desactive la casilla 'Gráfico en primer plano' y | //| seleccione 'Gráfico de líneas'.

//| seleccione el botón de radio 'Gráfico de líneas' | //| - En la pestaña 'Común' desactive la casilla 'Gráfico en primer plano' y

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

#property copyright "Copyright 2004, MetaQuotes Software Corp."

#property link "http://www.metaquotes.net"

#property indicator_chart_window

#property indicator_buffers 4

#property indicador_color1 Rojo

#propiedad indicador_color2 Azul

#property indicador_color3 Rojo

#propiedad indicador_color4 Azul

//---- buffers

double ExtMapBuffer1[];

double ExtMapBuffer2[];

double ExtMapBuffer3[];

double ExtMapBuffer4[];

//----

int ExtCountedBars=0;

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

//| Función de inicialización de los indicadores personalizados

//|------------------------------------------------------------------|

int init()

{

//---- indicadores

SetIndexStyle(0,DRAW_HISTOGRAM, 0, 1, Red);

SetIndexBuffer(0, ExtMapBuffer1);

SetIndexStyle(1,DRAW_HISTOGRAM, 0, 1, Azul);

SetIndexBuffer(1, ExtMapBuffer2);

SetIndexStyle(2,DRAW_HISTOGRAM, 0, 3, Rojo);

SetIndexBuffer(2, ExtMapBuffer3);

SetIndexStyle(3,DRAW_HISTOGRAM, 0, 3, Azul);

SetIndexBuffer(3, ExtMapBuffer4);

//----

SetIndexDrawBegin(0,10);

SetIndexDrawBegin(1,10);

SetIndexDrawBegin(2,10);

SetIndexDrawBegin(3,10);

//---- mapeo de buffers de indicadores

SetIndexBuffer(0,ExtMapBuffer1);

SetIndexBuffer(1,ExtMapBuffer2);

SetIndexBuffer(2,ExtMapBuffer3);

SetIndexBuffer(3,ExtMapBuffer4);

//---- inicialización realizada

return(0);

}

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

//| Función de desinicialización del indicador Custor ||

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

int deinit()

{

//---- TODO: añada su código aquí

//----

return(0);

}

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

//| Función de iteración del indicador personalizada ||

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

int inicio()

{

double haOpen, haHigh, haLow, haClose;

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

ExtCountedBars=IndicatorCounted();

//---- comprobar posibles errores

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

//---- se vuelve a contar la última barra contada

if (ExtCountedBars>0) ExtCountedBars--;

int pos=Barras-ExtCountedBars-1;

while(pos>=0)

{

haOpen=(ExtMapBuffer3[pos+1]+ExtMapBuffer4[pos+1])/2;

haClose=(Open[pos]+High[pos]+Low[pos]+Close[pos])/4;

haHigh=MathMax(High[pos], MathMax(haOpen, haClose));

haLow=MathMin(Low[pos], MathMin(haOpen, haClose));

si (haOpen<haClose)

{

ExtMapBuffer1[pos]=haLow;

ExtMapBuffer2[pos]=haHigh;

}

else

{

ExtMapBuffer1[pos]=haHigh;

ExtMapBuffer2[pos]=haLow;

}

ExtMapBuffer3[pos]=haOpen;

ExtMapBuffer4[pos]=haCerrar;

pos--;

}

//----

return(0);

}

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

 

por favor haga este indicador a mtf. Gracias.

Archivos adjuntos:
 
beco616161:
MRTOOLS muy gracias por help.i código fundado.

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

//| Heiken Ashi.mq4

//| Copyright 2004, MetaQuotes Software Corp.

//| Plataforma comercial MetaTrader 5 / Meta Quotes Software Corp.

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

//| Para Heiken Ashi recomendamos la siguiente configuración del gráfico ( pulse F8 o |

//| seleccione en el menú 'Gráficos'->'Propiedades...'): |

//| - En la pestaña 'Color' seleccione 'Negro' para 'Gráfico de Líneas' ||| - En la pestaña 'Común' seleccione 'Negro'.

//| - En la pestaña 'Común' desactive la casilla 'Gráfico en primer plano' y | //| seleccione 'Gráfico de líneas'.

//| seleccione el botón de radio 'Gráfico de líneas' | //| - En la pestaña 'Común' desactive la casilla 'Gráfico en primer plano' y

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

#property copyright "Copyright 2004, MetaQuotes Software Corp."

#property link "http://www.metaquotes.net"

#property indicator_chart_window

#property indicator_buffers 4

#property indicador_color1 Rojo

#propiedad indicador_color2 Azul

#property indicador_color3 Rojo

#propiedad indicador_color4 Azul

//---- buffers

double ExtMapBuffer1[];

double ExtMapBuffer2[];

double ExtMapBuffer3[];

double ExtMapBuffer4[];

//----

int ExtCountedBars=0;

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

//| Función de inicialización de los indicadores personalizados

//|------------------------------------------------------------------|

int init()

{

//---- indicadores

SetIndexStyle(0,DRAW_HISTOGRAM, 0, 1, Red);

SetIndexBuffer(0, ExtMapBuffer1);

SetIndexStyle(1,DRAW_HISTOGRAM, 0, 1, Azul);

SetIndexBuffer(1, ExtMapBuffer2);

SetIndexStyle(2,DRAW_HISTOGRAM, 0, 3, Rojo);

SetIndexBuffer(2, ExtMapBuffer3);

SetIndexStyle(3,DRAW_HISTOGRAM, 0, 3, Azul);

SetIndexBuffer(3, ExtMapBuffer4);

//----

SetIndexDrawBegin(0,10);

SetIndexDrawBegin(1,10);

SetIndexDrawBegin(2,10);

SetIndexDrawBegin(3,10);

//---- mapeo de buffers de indicadores

SetIndexBuffer(0,ExtMapBuffer1);

SetIndexBuffer(1,ExtMapBuffer2);

SetIndexBuffer(2,ExtMapBuffer3);

SetIndexBuffer(3,ExtMapBuffer4);

//---- inicialización realizada

return(0);

}

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

//| Función de desinicialización del indicador Custor ||

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

int deinit()

{

//---- TODO: añada su código aquí

//----

return(0);

}

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

//| Función de iteración del indicador personalizada ||

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

int inicio()

{

double haOpen, haHigh, haLow, haClose;

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

ExtCountedBars=IndicatorCounted();

//---- comprobar posibles errores

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

//---- se vuelve a contar la última barra contada

if (ExtCountedBars>0) ExtCountedBars--;

int pos=Barras-ExtCountedBars-1;

while(pos>=0)

{

haOpen=(ExtMapBuffer3[pos+1]+ExtMapBuffer4[pos+1])/2;

haClose=(Open[pos]+High[pos]+Low[pos]+Close[pos])/4;

haHigh=MathMax(High[pos], MathMax(haOpen, haClose));

haLow=MathMin(Low[pos], MathMin(haOpen, haClose));

si (haOpen<haClose)

{

ExtMapBuffer1[pos]=haLow;

ExtMapBuffer2[pos]=haHigh;

}

else

{

ExtMapBuffer1[pos]=haHigh;

ExtMapBuffer2[pos]=haLow;

}

ExtMapBuffer3[pos]=haOpen;

ExtMapBuffer4[pos]=haCerrar;

pos--;

}

//----

return(0);

}

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

Beco616161, añadido alertas y flechas.

Archivos adjuntos:
 
mrtools:
Beco616161, agregó alertas y flechas.

muy muy gracias MRTOOLS pero estas señales heiken ashi no son como yo quiero.

Por favor, comprueba la imagen. Por favor, ayúdame. ¿Cómo codificar la flecha de alerta de la barra completa?

Archivos adjuntos:
gbpusdm4_1.png  40 kb
Razón de la queja: