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 Thu May 09, 2024 3:49 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: An Every Tick EA
PostPosted: Mon Jul 23, 2012 4:22 am 
Offline

Joined: Fri Jul 20, 2012 4:19 am
Posts: 38
Hi

I have troubles doing an "Every Tick" EA, i don't know, if you put "SHIFT=0 or SHIFT=1" and also, i don't put "PRICE_CLOSE" or another option.

PS: If anyone has an example of "Every Tick EA" please attach it :D


Top
 Profile  
 
 Post subject: Re: An Every Tick EA
PostPosted: Sat Jul 28, 2012 9:48 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
For every tick most likely you want to use the current bar or shift = 0 (it really depends on the ea logic though)
For the indicators you can use any price but need to be aware of the way it works. The only price that does not change is the open, ie
first tick of the bar, close=open=high=low
second tick open = value of the first tick; open,high,low keep changing because the bar is forming. This is why some people that trade ticks use bid and ask and do not rely a lot on indicators


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