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


Bar Delay Between Entries
Updated: Views / Replies:1,069 / 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 90,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

Reply
 
Thread Tools Search this Thread
 

Bar Delay Between Entries

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

Bar Delay Between Entries

Hello,

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.

 
Code
                            
If MarketPosition <> and BarSinceLastEntry >= 6 then     

Begin 
Buy more contracts at market
;
End
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.

 
Code
                            
variablesvar0), var1)  ;


var0 CurrentShares


if 
var0 var0[1] or var0 0 then 
    begin 
    var1 
0;
    
end
    
//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 
    begin 
    var1 
var1 1;
    
end

//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)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

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.

Regards,
ABCTG

Reply With Quote
 
  #3 (permalink)
Elite Member
Los Angeles CA
 
Futures 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)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 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:

Reply



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)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

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


All times are GMT -4. The time now is 03:08 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2017-12-16 in 0.08 seconds with 19 queries on phoenix via your IP 54.163.209.109