Bar Delay Between Entries - MultiCharts | futures io social day trading
futures io futures trading

Bar Delay Between Entries
Updated: Views / Replies:1,243 / 3
Created: by quantarb Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

Bar Delay Between Entries

  #1 (permalink)
Elite Member
Wayne, NJ USA
Trading Experience: Intermediate
Platform: Multicharts, Deltix DCS
Broker/Data: Interactive Brokers/IQ Feed
Favorite Futures: ETF Options
Posts: 41 since Oct 2012
Thanks: 7 given, 37 received

Bar Delay Between Entries


Iím trying to find a way to have at least a certain number of bars between each entry. For example, I want there be at least six bars between each entry. After another new entry, the strategy must wait at least six bars before it is allowed to add to the position again.

Iím unable to use BarsSinceEntry(0) since it refers to the first entry of the current open position. I tried to create my own function BarsSinceLastEntry to retrieve the information I need.

If MarketPosition <> and BarSinceLastEntry >= 6 then     

Buy more contracts at market
However, my current code isnít working properly. When I insert it the strategy will stop adding to existing positions. Below is my own code for my own function BarsSinceLastEntry. I plotted it as an indicator and the functions appears to be working as intented. Iím not sure where I went wrong. Any ideas or suggestions would be greatly appreciated.

variablesvar0), var1)  ;

var0 CurrentShares

var0 var0[1] or var0 0 then 
//There must be a new entry - long or short  if CurrentShares increases.  This resets the bar count.  

if var0 var0[1] and var0 >= 1 then 
var1 1;

//If there is an open position, and the CurrentShares remains the same, add one to the bar count.  
var1 BarsSinceLastEntry

Reply With Quote
  #2 (permalink)
Hamburg Germany
Trading Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
Posts: 1,857 since Apr 2013
Thanks: 309 given, 1,144 received

You might want to take a look into the reserved words PosTradeExitBar and PosTradeEntryBar. They make it possible to receive the specific entry and exit bar even with multi-leg positions.

Another approach would be to monitor a change in your market position or number of trades and save the bar number at this moment. Then you can block new trade entries as long as the new bar number < saved bar number + X.


Reply With Quote
  #3 (permalink)
Elite Member
Los Angeles CA
Trading Experience: Advanced
Platform: IB, MultiCharts
Favorite Futures: ES
Posts: 5 since Jan 2014
Thanks: 1 given, 0 received

I am having the same issue. Eagerly awaiting more info

Reply With Quote
  #4 (permalink)
The Netherlands
Trading Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
Jura's Avatar
Posts: 774 since Apr 2010
Thanks: 2,347 given, 666 received

grew View Post
I am having the same issue. Eagerly awaiting more info

What is "the same issue"? QuantArb talks about two things that aren't necessarily related: 'bar delay between entries and 'code stops adding to new positions'. Please be more specific if you want help.

Reply With Quote
The following user says Thank You to Jura for this post:


futures io > > > > Bar Delay Between Entries

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

Battlestations! Show us your trading desks w/GFF Brokers ($750 in Prizes)


Tax Topics for Traders in 2019 w/Ryan Curran CPA

Elite only

Surviving the coming Bear Market w/Adam Grimes

Elite only

Trading Preparedness w/GFF Brokers

Jan 22

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email delay Rad4633 Tech Support 2 January 3rd, 2013 04:38 PM
How to step forward bar by bar (F12) with full bar not half bar? mercyman MetaTrader 1 October 23rd, 2012 05:49 PM
NT7 Delay before new bar draws wldman NinjaTrader 16 August 28th, 2012 05:11 PM
need help stopping multiple entries on the same bar cboss EasyLanguage Programming 2 October 2nd, 2011 12:04 AM
500 ms delay. How to create one arjfca MultiCharts 1 July 6th, 2011 09:47 AM

arb, barssinceentry, code, indicator, indicators, information, market position, marketposition, multicharts, strategy

All times are GMT -4. The time now is 08:45 PM. (this page content is cached, log in for real-time version)

Copyright © 2019 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432 WhatsApp Business,
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2019-01-15 in 0.19 seconds with 14 queries on phoenix