Difference between start() and OnTick()

Post Reply
desmondc
Posts: 7
Joined: Wed Mar 05, 2014 2:53 am

Difference between start() and OnTick()

Post by desmondc »

Hi All,

I just pick up mql4 a few weeks back still learning about it.

I know that start() is used in indicator and OnTick() is used in EA.
Is there actually a difference? can we interchange it?

I do notice someone using start() in an EA hence i am wondering if there is a difference as the MetaEditor's Template we get OnTick()

-DC
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Difference between start() and OnTick()

Post by milanese »

desmondc » Tue Mar 08, 2016 10:26 pm wrote:Hi All,

I just pick up mql4 a few weeks back still learning about it.

I know that start() is used in indicator and OnTick() is used in EA.
Is there actually a difference? can we interchange it?

I do notice someone using start() in an EA hence i am wondering if there is a difference as the MetaEditor's Template we get OnTick()

-DC
read this https://docs.mql4.com/basis/function/events
it will explain you this stuff..

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
desmondc
Posts: 7
Joined: Wed Mar 05, 2014 2:53 am

Difference between start() and OnTick()

Post by desmondc »

Thanks.. i got so many question but will digest this properly and learn it well before asking the next one.. :)
-DC
Post Reply

Return to “Coders Hangout”