Download MetaTrader 5
To add comments, please log in or register
Do you have questions on how to turn your idea into reality? Ask them on the Forum!
faustf
84
faustf 2016.05.18 20:22 

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

faustf
84
faustf 2016.05.18 21:59  
i answer me  use  start 
Fernando Carreiro
1602
Fernando Carreiro 2016.05.18 22:21  

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.

whroeder1
13656
whroeder1 2016.05.19 00:53  
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.
/
To add comments, please log in or register