hi guy i , want in my ea control in real time a price of most trade , thinked , i will do with a inifnite loop , i tryed infinite loop + simply print price , but MT4 , go little bit in busy , some one have alternative idea for do that ???
You don't need an "infinite loop". Use proper programming! The "OnTick" event (previously called "start") is already called on every tick. Orders only need to be managed when price changes during tick events.
Learn to code properly by following tutorials, reading documentation and looking at example code both in the Code Base and here on the Forum.
To add comments, please log in or register