Al hacer clic en el cuadro de diálogo de archivos en la parte superior de MetaTrader, uno de los mejores opciones es “Abrir Desconectado.” La mayoría de la gente no tiene idea de lo que hace que la opción o por qué es útil.
Cartas sin conexión ofrecen la posibilidad de mostrar los marcos de tiempo a medida, aunque hacerlo requiere programación un script personalizado. Scripts especie a través de los datos en las cartas regulares, luego el código reorganiza que los datos en un nuevo marco de tiempo. El nuevo marco de tiempo aparece en offline gráficos.
Experimento por su cuenta con una de las secuencias de comandos por defecto de MT4:
Abra el navegador. Identificar el script llamado “period_converter.” Arrastre y suelte el guión en un gráfico. Cambie el periodo de algo más que el gráfico de lo que tiene abierta. El ejemplo en la siguiente imagen se vuelve un gráfico H1 en un gráfico de H2. Ajuste el ExtPeriodMultiplier = 2. |
Vaya a Archivo \ Gráficos Desconectado. Seleccione el nuevo período de H2 que aparece en la lista.
Observar, un gráfico de dos horas offline. Una de las características que notarás es que este “desconectado” tabla aparece realmente actualizar con el precio. El guión está escrito de tal manera que se alimenta datos a través de la tabla de fuera de línea a intervalos regulares.
Algunos comerciantes les gusta correr asesores expertos en las cartas fuera de línea. Funciona la mayoría de ellos el tiempo, pero añade problemas potenciales adicionales. La ejecución se ralentizará debido a la forma en que el guión regula garrapatas entrantes. El mismo problema, que es causado por la ejecución de un bucle infinito, hace que la tabla para dejar de trabajar en raras ocasiones. Aquí es donde se producen los grandes problemas. Un EA que ya no recibe la actualización de los precios es un escenario de pesadilla. Las transacciones se dejaron desnudo cuando ocurren estos eventos. No hay mucho que pueda hacer al respecto desde una perspectiva de codificación.
Domingo dice
Tengo un gráfico sin conexión m2 pero no sé cómo configurarlo
Shaun Overton dice
Hola Dennis,
Dices que no sabes cómo configurarlo?
raden dice
Cómo cambiar el cuadro a TF2 o M2?
¿Podrías darme paso a paso?
Muchas gracias
raden dice
Esto es cierto?
Abierto M1
Ejecute el script (Periode convertidor)
Valor de cambio a 2.
No es es?
Shaun Overton dice
Hola Raden,
Eso es exactamente correcto. Usted debe usar el script período convertidor.
hugh.mcgahern dice
You can also use offline charts to track instruments that your broker doesn’t offer.
So how do you activate this feature?
Shaun Overton dice
You’d need a script to create and maintain them. Correo electrónico info@onestepremoved.com and we’ll be sure to send them to you.
Tom dice
I’ve got a very simple strategy running across 25 pares. Though there are several trades each day, it’s a quite “lazy” thing – no scalping whatsoever, relatively large stops (from intraday POV)… and though it’s not the classic basket approach “buy that, sell that” and each pair is optimized to go its own way, the positions hedge each other most of time so the drawdown doesn’t go crazy even in rampant flow shifts. It’s been profitable untouched for months of live trading and years of tick data backtests, pero – like every other strategy – it has its down periods.
After trying to switch the thing off/on during bad days I’ve got the idea to trade its equity chart.
So I made a major shift: let’s keep the strategy running on a demo account (it’s really lazy = not sensitive to fills/slippage) on a server! The demo creates an OFFLINE CHART (all timeframes + M3) displaying equity. With SMB sharing and symlinks pointed to MT4 history folder, and a simple tick-generating indicator, I can use these charts anywhere.
I’m analyzing the demo equity of the untouched strategy via offline charts. I’m using some common indicators and levels (sí, might seem crazy but the equity graph HAS levels to lean on, and they are NOT the kind of levels drawn by naysayers on random charts)… on real account, I just have a kind of a single-instance “trade copier” listening to commands from control panel. Soy “driving” the strategy manually – since the equity curve really has a long bias (being choppy at times), Soy “buying the dips” of the offline chart by closing everything at tops and opening the current demo basket at bottoms, taking every additional trade together with demo to a significant top again 🙂
It’s been highly reliable for me – trading the equity chart in a sophisticated manner (more complex than kinda above/below MA) has booosted my R/R by a factor of 2.6 encima 1500 oficios. Without a custom chart, I couldn’t do such a thing.
I kinda like MT5 in some regards.. but its inability to deal with custom charts/data kills everything that might be good in it.
Shaun Overton dice
Guau, very impressive. It must’ve taken quite a long time just to get that working. Sounds like a good idea – I’ve seen strategies in the past where the signals of the equity curve are better than the market signals. Michael Salas-Moore mentioned studying the signal of signals in my interview with him.
Uniyul dice
Perhaps my question is so dumb, but what is the advantage of using an offline chart vs. not-offline chart? What strategy needs an offline chart or better run on an offline chart? Why it is so complicated so we need a script or EA to use the chart?
You don’t need to answer it if my question is not intelligent enough or call it so stupid.
Gracias.
Shaun Overton dice
Online charts are those that already exist in MT4. If you want to create a chart that’s not available in MT4, like a Renko chart, por ejemplo, then you’d need to use an offline chart.
Sambat dice
After opening the offline chart for M2 chart, open the properties of the offline chart and uncheck the ‘Offline Chart’ box. Now your M2 offline chart is compatible to run any EA that works in normal chart.
Shaun Overton dice
Exactamente!
Andre dice
Hola Shaun,
I run an Expert Advisor that is hosted on MT4 VPS, on 4H Charts based on London Time.
As I am exploring using different brokers with different MT4 Server Times (NY Tiempo, EST, etc.), I am working with a programmer to change the 4H Charts to be-rebased back to London Time, because the results are the best based on London Time 4H Charts.
My programmer has mentioned that there are 2 ways that we could do this: 1 is using an Offline Chart (as above), while the other method is to render the bars Live (Similar to having a Heiken Ashi indicator on top of the charts). So he mentions that there are 2 available options, Offline method or Live method.
Reading your article above (Problems of slower execution due to not having tick-by-tick data and potential naked trades), would having the Programmer Render the new 4H Charts Live and then having the EA run on it (I host it in MT4 VPS) be a better option?
Thanks buddy.
Andre
Shaun Overton dice
Buena pregunta. I would run my EA on H1 charts, build the H4 bars internally within the EA, then place trades accordingly.
OneStepRemoved also offers its own EA programming service if you run into any difficulties.
Tom dice
I’m really frustrated. I’ve followed everything you and other people have said but when i select my new custom offline chart, it stays offline, even if i go to the chart properties and un-check the ‘offline chart’ box it still doesn’t display anything, just a window with the name of the currency pair at the top and the custom time (Hour 2) and the words ‘offline’ next to it, what am i doing wrong?? Gracias de antemano!
Shaun Overton dice
You’re not doing anything wrong… that’s just the way it looks. If you see new ticks coming in on the offline chart, then it’s working.
Tom dice
Thanks for the speedy reply, I discovered that like you said i wasn’t doing anything wrong, it was the indicator i was using that was stopping it from working correctly. Gracias por la ayuda, muy apreciada.
Steve Lapp dice
Is it possible to build a tick chart with the same script (with a certain amount of ticks instead of time frame)?
Shaun Overton dice
Sí!