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
Vómito, Edward, vómito =)
Lo entiendo, pero ¿por qué no se podría haber hecho de la forma que he descrito anteriormente?
No habría tenido ningún efecto en la velocidad de procesamiento de la información:
Si había alguna información sobre la herramienta, registre la fecha en que apareció por primera vez y guárdela en la memoria: ¡8 bytes!
Incluso puedes no almacenarlo, pero cuando haces SymbolSelect(), lo pones en memoria.
Cuando lo abordamos con la función SeriesInfoInteger (SERIES_TERMINAL_FIRSTDATE), obtenemos:
A -1 - sin datos
Б. 0 - no hay datos disponibles pero no están listos
В. A - fecha de la primera información
Entonces todo sería claro y transparente.
-1 - Ir al servidor
0 - Esperamos a la siguiente iteración para comprobar y/o construir las series temporales
> 0 Construir series de tiempo
Por su referencia entendí que casi lo hizo, resulta que no.
Al parecer, un programador empezó a escribir y otro terminó
Su implementación es buena para FOREX, pero muy inconveniente para FORTS.
En el caso de FORTS, es posible que las cotizaciones no se produzcan durante mucho tiempo y que las series temporales se descarguen de la plataforma.
y hay que repetir todo el proceso de recuperación de datos de nuevo, ¡y con inicio de sesión en el servidor!
Utilice los Asesores Expertos para trabajar con datos de múltiples símbolos, todo será cómodo y fácil. Los indicadores en el entorno de MT5 están diseñados principalmente para calcular rápidamente sus datos de series temporales y mostrar los resultados del cálculo en el gráfico. A medida que la plataforma fue evolucionando, ganaron muchas funciones disponibles para los expertos, pero las restricciones arquitectónicas básicas se mantuvieron. Y no hay ninguna razón para eliminar por completo las diferencias entre los indicadores y los EA. Una vez más me gustaría recordarle que la diferencia más importante es que los Asesores Expertos tienen su propio flujo de procesamiento. Los indicadores se calculan en un flujo de servicios, y este flujo realiza muchas otras funciones. Por eso, incluso la funcionalidad que tenemos en común con los Asesores Expertos se implementa de forma diferente.
En cuanto al acceso al historial, no existe una solución universal. El terminal no puede predecir de antemano lo que quiere el usuario, es decir, si el Asesor Experto quiere obtener sólo una fecha o quiere solicitar todo el historial disponible. El terminal opta por el acceso rápido al marco temporal, es decir, a petición del usuario, intenta almacenar en caché el estado actual (sincronizado con el servidor) del historial en su totalidad. Sí, hay una clase de aplicaciones en las que este enfoque no es conveniente. Pero si el programador no se centra en la demanda de reescribir el terminal "personalmente", encontrará una solución en la funcionalidad existente. Si no hay ninguna solución, sólo entonces se plantea la cuestión de ampliar la funcionalidad.
Describa un problema concreto con un código específico, sin generalizaciones. De lo contrario, se obtiene una funcionalidad incomprensible de una sola función hinchada en "todo está mal" y "todo es inconveniente".
Utilice los Asesores Expertos para trabajar con datos de múltiples símbolos, todo será cómodo y sencillo. Los indicadores en el entorno de MT5 están diseñados principalmente para realizar cálculos rápidos sobre sus datos de series temporales y mostrar los resultados del cálculo en el gráfico. A medida que la plataforma fue evolucionando, ganaron muchas funciones disponibles para los expertos, pero las restricciones arquitectónicas básicas se mantuvieron. Y no hay ninguna razón para eliminar por completo las diferencias entre los indicadores y los EA. Una vez más me gustaría recordarle que la diferencia más importante es que los Asesores Expertos tienen su propio flujo de procesamiento. Los indicadores se calculan en un flujo de servicios, y este flujo realiza muchas otras funciones. Por ello, incluso la funcionalidad compartida con los Asesores Expertos se implementa de forma diferente.
En cuanto al acceso a la historia, no existe una solución universal. El terminal no puede predecir de antemano lo que quiere el usuario, es decir, si el Asesor Experto quiere sólo una fecha o si quiere solicitar todo el historial disponible. El terminal ha optado por un acceso rápido al marco temporal, es decir, a petición del usuario, intenta almacenar en caché el estado actual (sincronizado con el servidor) del historial en su totalidad. Sí, hay una clase de aplicaciones en las que este enfoque no es conveniente. Pero si el programador no se centra en la demanda de reescribir el terminal "personalmente", encontrará una solución en la funcionalidad existente. Si no hay ninguna solución, sólo entonces se plantea la cuestión de ampliar la funcionalidad.
Describa un problema concreto con un código específico, sin generalizaciones. De lo contrario, se obtiene una funcionalidad incomprensible de una sola función hinchada en "todo está mal" y "todo es inconveniente".
¡Hola, Anton!
Permítanos "desglosar" su respuesta:
1. " Utiliza a los expertos para trabajar con datos de múltiples caracteres, todo será cómodo y sencillo".
Necesito un historial (cierre) de 3 símbolos con asignación a un gráfico.
¿Hay alguna otra forma de obtener el historial de cierre de EA?
¡Y tengo que hacer un "huerto" para sacar resultados de un EA (en una ventana aparte)!
2. "En cuanto al acceso a la historia, no hay una solución universal. El terminal no puede predecir de antemano lo que quiere el usuario, es decir, si el Asesor Experto quiere obtener sólo una fecha o quiere solicitar todo el historial disponible".
No es necesario predecir los deseos del consumidor. Sólo hay que "decir" en qué estado se encuentran los datos en el símbolo ¡¡¡Y TODO!!!
Así, el usuario sabrá exactamente qué acciones debe realizar a continuación.
3."Pero si un programador no se centra en el requisito de reescribir el terminal "personalmente", encontrará una solución en la funcionalidad existente.
No he dicho, ni mucho menos, que exija hacer algo "por sí mismo", y la solución, por supuesto, siempre se encontrará en la funcionalidad existente.
4. "Si no hay ninguna solución, es cuando se plantea la cuestión de ampliar la funcionalidad. "
No es necesario ampliar la funcionalidad, basta con introducir pequeños cambios para facilitar el uso y la rapidez.
5. "Describa un problema concreto con un código específico, sin generalizar.De lo contrario, se obtiene la funcionalidad mal entendida de una sola función hinchada en "todo está mal" y "todo es inconveniente""
Bien, me prepararé para una explicación "ampliada" del problema con un código específico.
Sólo que, por desgracia, no puedes "confiar" en el libro de referencia...
Gracias por responder.
Como siempre, la posición del usuario es que yo soy el centro del universo y el mundo gira a mi alrededor. Hay que utilizar la funcionalidad que está disponible. Sobre todo porque se ha demostrado más de una vez cómo obtener los datos.
Como siempre, la posición del usuario es que yo soy el centro del universo y el mundo gira a mi alrededor. Tienes que utilizar la funcionalidad que tienes. Además, se ha demostrado más de una vez cómo obtener los datos.
Y tú crees que es al revés. ¿El centro del universo son los promotores y el mundo gira en torno a ellos? ¿Es así?
Entonces, responda a una pregunta: ¿para quién se está desarrollando este terminal? ¿Lo hacen para sí mismos o para el usuario?
Si lo hacen por ellos mismos, no hay preguntas... Está bien.
Y si es para el usuario, entonces su opinión debería ser escuchada al menos...
........
Describir un problema específico con código específico, sin generalizaciones. De lo contrario, resulta que la funcionalidad mal entendida de una sola función se convierte en "todo está mal" y "todo es inconveniente".
Describiendo:
Bróker FORTS cuenta real.
Problema: no obtengo datos de series temporales.
1. Las imágenes muestran que hay datos en el terminal.
2. Aquí está el código:
3. Y aquí está el resultado:
¿Cómo se reproduce?
Terminal conectada para abrir, historial de todos los símbolos borrado del disco antes de la puesta en marcha
Registro de indicadores desde el momento del inicio
Como puede ver, en menos de un segundo desde el momento del inicio, los datos del símbolo están disponibles para el indicador.
¿Cómo se reproduce?
Terminal conectada para abrir, historial de todos los símbolos borrado del disco antes de la puesta en marcha
Registro de indicadores desde el momento del inicio
Como puede ver, en menos de un segundo desde el momento del inicio, los datos del símbolo están disponibles para el indicador.
¡Buenas tardes!
Es decir, ¿segundos no es tiempo para el comercio electrónico?
En otras palabras, con un símbolo sincronizado y series temporales sincronizadas, no podemos obtener
Barras(inmediatamente) - ¿es esto normal?
(Para mí) es un error.
2. Cuando hay datos en TERMINAL (ver fig. todas las barras después del 16 de marzo), nos vemos obligados a ir al servidor, ¿es esto normal?
Las molestias y el tiempo que se tarda en obtener la información(para mí) son evidentes.
¡Buenas tardes!
¿Así que un SEGUNDO en el comercio electrónico no es tiempo?