molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Sat May 11, 2024 3:47 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Expert Advisor Activation
PostPosted: Fri Nov 02, 2012 6:40 am 
Offline

Joined: Fri Feb 04, 2011 9:48 pm
Posts: 114
Location: Canada
Are expert advisors active regardless of while profile they are running on? Or do they have to be placed on a chart that in the profile that you have currently active? I notice when I come back to a profile that I have EAs running, they activate again. Or is that in addition to the "once per bar" activation.

EA's activate (if you have completed bars checked) like this:

every time you attach them to a chart
every time a new bar starts
every time the profile which has the chart in which the EA is attached to, is activated
every time you boot the platform

Is this right?

_________________
Building a future with automated trading


Top
 Profile  
 
 Post subject: Re: Expert Advisor Activation
PostPosted: Fri Nov 02, 2012 9:25 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Instead of activate, I will say restart (restart = start from 0). In mt4 and ea will start working if:
every time you attach them to a chart
every time you change the chart timeframe

Expert advisors will continue execution if:
every time a new bar starts - it continues execution. If you trade ticks it will continue execution every ticks. They do not restart
every time the profile which has the chart in which the EA is attached to, is activated - Not sure about this one. You should not leave attached eas to the chart - especially on real account. To be safe, I always attach the ea again and remove it at the end of my trading
every time you boot the platform - same as above.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009