Is it possible to create your own tool with a generated random price wander chart consisting of minute bars on the MT4 chart? - page 5
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
should we reinvent the wheel? mt4 strategy tester generates ticks quite well, in the folder C:\Program Files\MetaTrader - Alpari\tester\history there is file EURUSD60_0.fxt, if we open it in MT4 (file-autonomously open chart), we will see: http://imglink.ru/pictures/24-10-10/b2f76a0f7e0c6926db0a748880718ebc.jpg
Take your data or a non-standard TF, substitute it for the historical data in the folders, then run the strategy tester and write yourself the tester's tick data - the minimum effort
If only one could download one's own ticks into the tester in the same way, it would be perfect.
But metaquotes seem to have blocked this option.
If you could also hook your own ticks into the tester in the same way, it would be a real beauty.
But the meta-quotes seem to have blocked this option.
Well, if your ticks are better than MT's, then trade in the tester by your tick history - no one banned you from opening a file for reading
If you could also hook your own ticks into the tester in the same way, it would be a real beauty.
But the meta-quotes seem to have blocked this option.
Unblocker.
Well, if your ticks are better than MT's, then in the tester, trade on your tick history - no one has forbidden you to open a file for reading
Will the visual testing work on the new ticks?
Everything will work, do not build the trading logic block by the current symbol, but by analysis of the data in the file and open orders by the symbol on which the EA is hovering
the other issue is that the correct data loading must be prepared beforehand
everything will work, build the trading logic block not on the current symbol, but on the analysis of the data in the file and open orders on the symbol on which the Expert Advisor is hovering
The trading functions take the Bid/Ask prices from the current ticks in the terminal, not from external ones. This means that orders cannot be placed.
I'm telling you - trade logic from a file, and open by the current symbol - as it should be
Write random numbers into 2 files, take and read from these files into arrays and process the arrays with MA
iMAOnArray(1)>iMAOnArray(2) --> BUY
{BUY}: ticket = OrderSend(Symbol(),OP_BUY,lots(),MarketInfo(Symbol(),MODE_ASK),slippage,0,0,comm,magic,0,Green);)
here's the logic for placing orders, if you need other prices, you need to import quotes into the terminal or change the .hst files
ZS: if you don't understand it - why do you need ticks?
{BUY}: ticket = OrderSend(Symbol(),OP_BUY,lots(),MarketInfo(Symbol(),MODE_ASK),slippage,0,0,comm,magic,0,Green);)
here's the logic for placing orders, if you need different prices, you need to import quotes into the terminal or replace the .hst files
The orders can be seen visually in the tester, which requires only the ticks of the terminal itself so that the orders can be correctly placed on the chart. Of course, we can use anything we want for calculation. This can only be solved by unblocking the ticks file.