Apabila anda klik pada dialog Fail yang di bahagian atas MetaTrader, salah satu pilihan utama adalah “Terbuka Luar talian.” Kebanyakan orang tidak tahu apa pilihan yang melakukan atau mengapa ia berguna.
Carta Offline menawarkan keupayaan untuk memaparkan bingkai masa adat, walaupun berbuat demikian memerlukan pengaturcaraan skrip adat. Skrip mengatur data pada carta tetap, kemudian kod menyusunnya bahawa data ke dalam satu tempoh masa baru. Tempoh masa yang baru muncul dalam carta di luar talian.
Experiment on your own with one of MT4’s default scripts:
Buka navigasi. Kenal pasti skrip dipanggil “period_converter.” Seret dan lepaskan skrip ke carta. Tukar tempoh untuk sesuatu yang lain daripada carta daripada apa yang anda telah buka. Contoh dalam paparan di bawah bertukar carta H1 ke dalam carta H2. Tetapkan ExtPeriodMultiplier yang = 2. |
Pergi ke Fail \ Carta di luar talian. Pilih tempoh H2 baru yang muncul di dalam senarai.
Sesungguhnya, carta offline dua jam. One feature you’ll notice is that this “luar talian” carta sebenarnya muncul untuk mengemas kini dengan harga yang. Skrip ditulis dalam apa-apa cara yang ia suapan data melalui carta di luar talian pada jangka masa yang tetap.
Beberapa peniaga suka untuk menjalankan Expert Advisors pada carta di luar talian. Sebahagian besar daripada mereka masa ia berfungsi, tetapi ia menambahkan masalah yang mungkin berlaku tambahan. Pelaksanaan akan perlahan disebabkan jalan skrip mengawal kutu masuk. Masalah yang sama, yang disebabkan oleh berjalan gelung tak terhingga, menyebabkan carta berhenti kerja pada masa-masa yang jarang berlaku. Di sinilah masalah besar berlaku. EA yang tidak lagi menerima mengemaskini harga merupakan senario mimpi ngeri. Sekerja dibiarkan telanjang apabila peristiwa-peristiwa ini berlaku. There’s not much that you can do about it from a coding perspective.
hari Ahad berkata
Saya mempunyai untuk m2 Carta luar talian tetapi tidak tahu bagaimana ia
Shaun Overton berkata
Hi Dennis,
Do you mean that you don’t know how to set it up?
Raden berkata
Bagaimana untuk menukar Carta TF2 atau M2?
Anda akan memberi saya langkah demi langkah?
terima kasih banyak-banyak
Raden berkata
Adakah ini benar?
M1 terbuka
Jalankan skrip (Penukar Periode)
Perubahan nilai 2.
Bukanlah ia?
Shaun Overton berkata
Hi Raden,
That’s exactly correct. Anda mesti menggunakan skrip penukar tempoh.
hugh.mcgahern berkata
You can also use offline charts to track instruments that your broker doesn’t offer.
So how do you activate this feature?
Shaun Overton berkata
You’d need a script to create and maintain them. E-mel Info@onestepremoved.com and we’ll be sure to send them to you.
Tom berkata
I’ve got a very simple strategy running across 25 pasangan. 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, tetapi – 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 (ya, 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. I’m “driving” the strategy manually – since the equity curve really has a long bias (being choppy at times), I’m “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 lebih 1500 dagangan. 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 berkata
Wow, 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 Moore Halls- mentioned studying the signal of signals in my interview with him.
Uniyul berkata
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.
Terima kasih.
Shaun Overton berkata
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, contohnya, then you’d need to use an offline chart.
Sambat berkata
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 berkata
Betul-betul!
Andre berkata
Hi 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 Masa, EST, dan lain-lain), 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 berkata
Soalan yang baik. 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 berkata
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?? Terima kasih terlebih dahulu!
Shaun Overton berkata
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 berkata
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. Terima kasih atas bantuan yang, banyak dihargai.
Steve Lapp berkata
Is it possible to build a tick chart with the same script (with a certain amount of ticks instead of time frame)?
Shaun Overton berkata
Yep!