Improve bot velocity
-
How can I improve the speed of my bot? Could you give me some tips to make my blocks execute faster? I have noticed that some blocks take a long time to execute or update data. For example, when I start the bot and there are comments, it takes a while for all the comment information to appear, or when I try to modify a parameter of a block with a button on the graph, it takes a while for the change to take effect.
¿Cómo puedo mejorar la velocidad de mi bot? ¿Podrían darme algunos trucos para que mis bloques se ejecuten más rápido? He notado que algunos bloques tardan mucho en ejecutarse o en actualizar los datos. Por ejemplo, cuando inicio el bot y hay comentarios, tarda un tiempo en aparecer toda la información del comentario, o cuando intento modificar un parámetro de un bloque con un botón en el gráfico, tarda un tiempo en que el cambio tenga efecto.
-
el bot se ejecutaba normalmente, pero recientemente se ha puesto lento no sé si sea por alguna modificación que le he hecho o por alguna modificación que se ha hecho en el builder de fxdreema
-
@alan-paredes2 usually EAs work by ticks -> everything is updated when the chart receives a new tick, a new price update. This may take 0.1 seconds or 30 seconds.
To speed it up, you must build your EA so that it updates immediately when you make some object interaction.
-
@roar me "Could you give an example of how to make a block operate immediately?"
-
@alan-paredes2 it depends.. Usually you can just place a "Custom mql code" block and write this inside it:
ChartRedraw();
-
Entonces no existe solucion con Fxdreema solo hay solucion usando insertar codigo ....
-
@roar amigo, lograste hacer un filtro de noticias funsional y totalmente automatizado para suspender operaciones o volver a operar antes, durante y despues de las noticias... todo hecho en fxdreema?
-
Hasta donde you sé, y ya llevo 8 años en fxDreema, nadie lo ha conseguido. O si lo ha hecho, no lo ha compartido aquí. Siempre que que he hablado con roar (el más experto en esto, en mi opinión), siempre llego a la conclusión que hay que usar código externo a fxDreema para conseguirlo.
-
@l-andorrà Esque bajo esa logica nos tocaria usar codigo para hacer todo lo que sea realmente relevante en un EA de alta calidad, sin embargo estamos en fxdreema para intentar hacer casi lo mismo pero con no code....... Que pasaria si un buen nuero de usuarios nos unimos para solicitar a los desarrolladores de fxdreema que nos den una solucion en este tema?, sera que hay algun cambio positivo?
-
Generally, I find that to have things work quicker (as in when a tick arrives, and this is when volatility/liquidity comes into it, as a tick is a price change) have the first block in the relevant tree the lowest number and don't allow blocks that consume system recourses to activate until the relevant command has acted. When completing an EA on FX check the flow of blocks is non-restrictive. And on timer (& possibly on chart) works regardless of ticks just at the set time, but not for backtest
-
@jstap Excelente.... Muy buena informacion, gracias amigo.