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 9:41 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: TICK based entry
PostPosted: Sun Nov 18, 2012 1:52 am 
Offline

Joined: Tue Dec 14, 2010 11:44 pm
Posts: 50
I want my EA to place a trade based on the position of the SECOND tick on the new bar that is forming relative to the previous candle's open or close. How can I code this using SB or Indicator Builder?
Thanks.
BA


Top
 Profile  
 
 Post subject: Re: TICK based entry
PostPosted: Mon Nov 19, 2012 8:54 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
You will need to go into the code that counts bars and add a tick count after a new bar is created. You need to write code for it since it is not standard.
In mt4 the standard is to trade with the first tick, or to trade every tick


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