MultiCharts lag time? - MultiCharts | futures io social day trading
futures io futures trading


MultiCharts lag time?
Updated: Views / Replies:29,980 / 171
Created: by bobbakerr Attachments:2

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
 2  
 
Thread Tools Search this Thread
 

MultiCharts lag time?

  #91 (permalink)
Elite Member
Riverdale, Idaho, USA
 
Futures Experience: Intermediate
Platform: Optimus Futures + MultiCharts + TradeStation
Broker/Data: Optimus Futures, Rithmic Data, TradeStation
Favorite Futures: CL, ES
 
bobbakerr's Avatar
 
Posts: 106 since Aug 2010
Thanks: 211 given, 39 received


Jura View Post
 
Code
                            
// Resetting variables every tick between from 15:12 til 15:59
If Time 1511 and Time 1600 then begin
  BuySig 
0
  
SSSig 0
  
Min 9999
  
Max 0;
end;

Condition1 Time 1500;  // Mountain Time        (GMT - 6; UTC - 7)
// Long and short orders need this condition to be true when entering a trade

// Time exit after 15:10
If MarketPosition >= and Time 1510 then 
    Sell next bar at market

Enter trades before 15:00;
Exit open positions after 15:10;
Reset variables between 15:12 and 15:59.

Shouldn't these variables be reset after a trade is closed, so the following trade can use the right values?


I thought they would get re-set as the trades went on. They are calculated constantly. But I inserted code to have them all reset after the Limit Order is placed to make the Entry. The problem with this is if the order is not filled, then everything is reset without getting into the position:
 
Code
                            
If MarketPosition<>and BuySig=1 then begin
  
If Condition1=True then
    Buy next bar at LongEntry
{InsideAskLimit;
    
BuySig=0SSSig=0Min=9999Max=0LongEntry=0;
end;
If 
MarketPosition<>-and SSSig=-1 then begin
  
If Condition1=True then
    SellShort next bar at SSEntry
{InsideBidLimit;
    
SSSig=0BuySig=0Min=9999Max=0SSEntry=9999;
end
This then gives results of:
ES (.25 Range Bars): + 39,645 Net on 320 R.T.'s; 85.0% Success Ratio; -1158 Longest Losing Streak.
CL (.02 Range Bars): + 181,390 Net on 4722 R.T.'s; 55.9% S.R.; -2039 L.L.S.
CL (40-sec. Bars): + 296,907 Net on 3036 R.T.'s; 80.3% S.R.; -611 L.L.S.
CL (12-Tick Bars): + 31,086 Net on 3298 R.T.'s; 41.2% S.R.; -4048 L.L.S.

There were fewer Signals, and some results improved, some got worse. I don't know yet whether to keep this change in. So far it's in.


Quoting 
... Anyway, before going further off topic, what kind of data do you use Bob, Rithmic right? I guess you've also backtested on that data?

For Actual Live Trading, yes I do use Rithmic. But for this backtesting, I'm using OpenECry's data. It allowed me to go back in time whereas Rithmic didn't.

And no, I don't consider you a 'smartass'. I think we all want this code to work properly and you have been very helpful. I appreciate that and all the help from the rest of you guys. Thanks again.

Reply With Quote
 
  #92 (permalink)
Elite Member
Riverdale, Idaho, USA
 
Futures Experience: Intermediate
Platform: Optimus Futures + MultiCharts + TradeStation
Broker/Data: Optimus Futures, Rithmic Data, TradeStation
Favorite Futures: CL, ES
 
bobbakerr's Avatar
 
Posts: 106 since Aug 2010
Thanks: 211 given, 39 received


Jura View Post
... Btw, if you want to reset the variables after exiting a position, it might be worth trying to save the MarketPosition into a variable, so you can reference the MarketPosition value from previous bars (I don't know if you want to do that). Something like this perhaps:

 
Code
Variables:
    MP(0),                    // Saves the Market Position so it's possible to access previous values
    barsInPosition(0)     // Example variable which we want to reset
    ;
    
if currentbar = 1 then cleardebug;    
    
MP = MarketPosition;            // Save the MarketPosition in the current value of 'MP'

if MP = MP[1] then            // If the MarketPosition on this bar is the same as the previous bar, we add one to the counter.
    barsInPosition = barsInPosition + 1
else                                // If the MarketPosition on this bar is different than the previous one, reset the counter to 1.
    barsInPosition = 1;

// Print output
Print(Date:6:0, "_", time_s:6:0, " MarketPosition: ", MP, " MarketPosition Previous bar: ", MP[1],
    " Bars in Position: ", barsInPosition:0:0);


Stupid me. I respond to the posts sequentially. If I would have read a little further down, I could have used your code to reset those variables. I'll do this change next!

-------------------------------------------------
EDIT:

I changed the variable resetting code as per Jura. The results barely changed:
ES (.25 Range Bars): + 39,819 Net on 320 R.T.'s; 85.3% Success Ratio; -1158 Longest Losing Streak.
CL (.02 Range Bars): + 181,383 Net on 4724 R.T.'s; 55.9% S.R.; -2039 L.L.S.
CL (40-sec. Bars): + 296,907 Net on 3036 R.T.'s; 80.3% S.R.; -611 L.L.S.
CL (12-Tick Bars): + 31,086 Net on 3298 R.T.'s; 41.2% S.R.; -4048 L.L.S.


Last edited by bobbakerr; July 10th, 2011 at 01:26 PM. Reason: Code change as per Jura
Reply With Quote
 
  #93 (permalink)
Elite Member
Riverdale, Idaho, USA
 
Futures Experience: Intermediate
Platform: Optimus Futures + MultiCharts + TradeStation
Broker/Data: Optimus Futures, Rithmic Data, TradeStation
Favorite Futures: CL, ES
 
bobbakerr's Avatar
 
Posts: 106 since Aug 2010
Thanks: 211 given, 39 received


This post is aimed mostly at MultiCharts.

I've been watching ES trade all morning. It's way less volatile than CL, with around 10 times as much volume.

I see REPEATEDLY missed signals, by as much as 3 minutes to 14 minutes! And then MultiCharts will finally insert those signals onto the chart roughly about where they were supposed to be -- 3 to 14 minutes earlier than the time that MC finally realized that these signals should have been given.

Why is that? And how can anything be traded Automatically with a time lag like that ???

I was using Open E Cry for my data feed. The data on the charts 'kept up' fine. I had the DOM from Rithmic's data feed also showing, and things were agreeing.

Any response, MultiCharts?

Reply With Quote
 
  #94 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,356 given, 83,237 received

I'd like to see a video of your problems in action.

You can download CamStudio for free, and record a video in SWF format that captures the bug and then upload it as an attachment to the forum. If it is a large file, you may need to zip it first before uploading. It is a straightforward program to use.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #95 (permalink)
Elite Member
Riverdale, Idaho, USA
 
Futures Experience: Intermediate
Platform: Optimus Futures + MultiCharts + TradeStation
Broker/Data: Optimus Futures, Rithmic Data, TradeStation
Favorite Futures: CL, ES
 
bobbakerr's Avatar
 
Posts: 106 since Aug 2010
Thanks: 211 given, 39 received

Mike, I'll send you my code and YOU do it. I'm fed up.

Reply With Quote
 
  #96 (permalink)
Elite Member
Washington, DC
 
Futures Experience: Intermediate
Platform: Multicharts
Broker/Data: InteractiveBrokers/IB
Favorite Futures: CL\EUR
 
Posts: 15 since Jan 2011
Thanks: 10 given, 8 received


bobbakerr View Post
And then MultiCharts will finally insert those signals onto the chart roughly about where they were supposed to be -- 3 to 14 minutes earlier than the time that MC finally realized that these signals should have been given.

Bob:

Are you saying the MC chart is keeping current with your feeds but it "back-inserts" signals while running?
Also - What version of MC are you running?

Jack

Reply With Quote
 
  #97 (permalink)
Elite Member
Riverdale, Idaho, USA
 
Futures Experience: Intermediate
Platform: Optimus Futures + MultiCharts + TradeStation
Broker/Data: Optimus Futures, Rithmic Data, TradeStation
Favorite Futures: CL, ES
 
bobbakerr's Avatar
 
Posts: 106 since Aug 2010
Thanks: 211 given, 39 received

Exactly! And it happens about 1/2 the time. I'm running Version 6.2 Build 4338.

Reply With Quote
 
  #98 (permalink)
Elite Member
Riverdale, Idaho, USA
 
Futures Experience: Intermediate
Platform: Optimus Futures + MultiCharts + TradeStation
Broker/Data: Optimus Futures, Rithmic Data, TradeStation
Favorite Futures: CL, ES
 
bobbakerr's Avatar
 
Posts: 106 since Aug 2010
Thanks: 211 given, 39 received

In trying to overcome this 'lag time' thing, I have been experimenting with different ways to get signals to be timely. One of them is to tell the program to Buy if the Current Inside Bid of Data2 is greater than the last Close of Data2. If so, then it's supposed to Buy off of Data1. But it doesn't work. I'll put that fragment of code below and if anyone can figure out how to get this to be recognized and actually work, I'd sure appreciate it. Thanks.

 
Code
If Time {of data2}=CurrentTime and InsideBid of data2>C[1] of data2 then Buy next bar at Market;
The 'InsideBid' and 'InsideAsk' terms only work on the CURRENT Bids and Asks. So that is why I have 'CurrentTime' in there. But as I watch the live proceedings, the statement is just completely ignored. No Buys or Shorts ever occur off of it.

Reply With Quote
 
  #99 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,356 given, 83,237 received


bobbakerr View Post
Mike, I'll send you my code and YOU do it. I'm fed up.

Sorry, I don't have time for such a thing - I was just trying to help you, and the video showing what your describing would be beneficial to understanding the problem.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #100 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,356 given, 83,237 received



bobbakerr View Post
Exactly! And it happens about 1/2 the time. I'm running Version 6.2 Build 4338.

First thing is to upgrade to version 7, about a million bug fixes...

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote

Reply



futures io > > > > MultiCharts lag time?

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
John Ehlers Zero Lag ebtrader ThinkOrSwim Programming 4 December 15th, 2017 10:55 PM
how the macd zero lag indicator works DarrenH NinjaTrader 6 September 13th, 2013 04:31 PM
Queue a backtest in multicharts same symbol on multiple time frames? crbucks MultiCharts 4 June 23rd, 2011 11:33 AM
MBTrading Data Error-Lag Sad Planet Reviews of Brokers and Data Feeds 3 May 5th, 2011 06:05 AM
MACD_Zero Lag Indicator Explanation GilR NinjaTrader 4 February 25th, 2011 07:36 AM


All times are GMT -4. The time now is 02:47 AM.

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-18 in 0.15 seconds with 20 queries on phoenix via your IP 54.163.209.109