Forum

strategy tester

Hello I wrote the code in the "OnBookEvent" function to reach the depth of the market. This code has no problem when executed as a script and returns the requested parameter as an alert. But when I run the same code as an expert advisor in MetaTrader environment, it does not print any data for me

Supply volume

How can I get the volume of supply corresponding to the lowest selling price at exactly one time in the past