Quotes Monitoring (memory-mapped file) – EA MetaTrader 5

Quotes Monitoring  (memory-mapped file)
This Expert Advisor is example of use of the Memory Mapping DLL for working with File Mapping functions. In this example the Expert Advisor create a virtual (memory-mapped) file and start to update the quotes on symbol. Using this way, Expert Advisors can exchange data (for example, quotes) using common memory-mapped file. The format of … Read more

Writing the quotes to a txt file with the full path and file name – library MetaTrader 4

Writing the quotes to a txt file with the full path and file name - library for MetaTrader 4
Function Description: #import “ITTPSymbol.dll”       int CreateFile(string Path, string symbol, int Priсe); An example of a function call: CreateFile(Path, Symbol(), Ask); As you can see, everything is very simple. The function will create a text file with the name ‘symbol’ and write(overwrite) the ‘Price’ value there. According to the path specified in the value of Patch. … Read more

ms-Сandle. Candle direction indicator, gaps in quotes. – indicator MetaTrader 5

ms-Сandle. Candle direction indicator, gaps in quotes. - indicator for MetaTrader 5
Comparison of Open and Close prices often does not give a correct assessment of the direction of the candle. The indicator determines the direction of the bar based not only on the Open/Close prices. Gaps and gaps in quotes are also determined. Comparison of Open and Close prices often does not give a correct assessment … Read more