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

 
IgorM:

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.

 
Andrei01:

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
 
Andrei01:

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.

Unlocker.
 
hrenfx:
Unblocker.
Thank you!
 
IgorM:

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
And the visual testing will work on new ticks?
 
Andrei01:
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

 
IgorM:


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 by the current ticks in the terminal, not by external ones. This means that orders may not be placed.
 
Andrei01:
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?

 
IgorM:

{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 could be visually checked in the tester - this requires only ticks of the terminal itself and the orders would 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.
 
Andrei01:
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.
In my opinion, there are no tick files in MetaTrader.
Reason: