Unisciti alla nostra fan page
- Visualizzazioni:
- 7902
- Valutazioni:
- Pubblicato:
- 2009.12.01 14:45
- Aggiornato:
- 2014.04.21 14:54
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
ADDED:
Added ability to run your own MQL script automatically in case of non-market quotations have place. To work correctly, your script Assign hot keys (alt-b).
You should record the full names of the two MetaTrader windows in the file programs.txt. It allows the application know where to send the combination Alt + b. The example given the file programs.txt.
After performing these steps, write the script that you would like to run in case of non-market quotations have place and copy it to the scripts of the second terminal (inscribed the second in programs.txt).
The program is intended for logging of non-market quotations from brokerage companies with MetaTrader platform.
The program works with two MetaTraders. Quotations from these two are transmitted through advisers Chart1.mq4 and Chart2.mq4 to external application.
The external application controls the divergence of quotations, and when it reaches a user-specified value, and this divergence is observed within a user-specified time the program saves the charts as two bmp - images in the folder c:ChartPlusChar tHistory. One at the time the divergence has place, the second 5 minutes later.
In the name of the bmp file there is time information when there was the divergence in the format: hour-minute-second.
As a reference, of course, it is desirable to choose a firm with the highest renewal rate quotations, and with the best of their purity. These characteristics (demo accounts) at least 84 brokers with a platform MetaTrader measured and presented on the site.
Of course, the difference in this case, may be a result of deviation from the market of any of the two brokers, but each fact can be checked separately.
Unpack the archive to the root, then there will be the folder c: /ChartPlusChart in which 5 files: Chart1.mq4 Chart2.mq4 libSharedVarsDL Lv2.def SharedVarsDLLv2 . dll ChartPlusChart.exe
You will need two MetaTrader platforms of two different brokerage firms. In both open the same currency pairs and run Chart1.mq4 adviser in the first one, and Chart2.mq4 in the second one. The advisers work with the DLL so it is necessary to allow the DLL in the "Tools" menu, "Options". Mark the next item: -Allow dll imports And remove the check mark from the item -Confirm dll function call All files, except for advisers should be in c: / ChartPlusChart
Then run advisers are interested in the pair in both MetaTrader platforms. And run c:ChartPlusChar tChartPlusChart .exe.
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/9364
![Simple Expert Advisor](https://c.mql5.com/i/code/expert.png)
Many people asks to post a simple expert advisor. Here is it.
![Trade-Arbitrage](https://c.mql5.com/i/code/expert.png)
It works without losses. It uses the market inefficiency for the arbitrage.
![The aggressive semi-automated scalping EA](https://c.mql5.com/i/code/expert.png)
Use on 1M charts. Manually choose Only Long, Only Short or Short and Long depending on market direction. Close open orders moving in the opposite direction.
![Sig_CCI](https://c.mql5.com/i/code/indicator.png)
It's based on the simple CCI, it plots arrows for sell and buy signals on the chart.