question about structure for infinite loop

 

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  ???

thankz

 
i answer me  use  start 
 

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.

 
learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
Reason: