Welcome to the Traders Laboratory Forums.
Automated Trading Black box systems, strategy automation, algorithmic trading, etc...

Reply
Old 12-22-2009, 06:24 PM   #1

Join Date: Nov 2009
Location: shanghai
Posts: 5
Ignore this user

Thanks: 2
Thanked 1 Time in 1 Post

Howto Remove Spkies in MC

I'm backtest EE Universial Clone in Multicharts 5.5.
It seems profitable. but my datafeed contained some spkies, which I don't know how to remove them automatically. Does multicharts provide some functions just like Quotetracker did (ALT+CTRL+H/L).

Attached Thumbnails
Howto Remove Spkies in MC-spkies.jpg  
topbadbady is offline  
Reply With Quote
Old 12-22-2009, 07:11 PM   #2

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,778
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Howto Remove Spkies in MC

you have to note the date and time of the bad tick,
then go to QuoteManager to edit the data.
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 12-22-2009, 10:28 PM   #3

ochie's Avatar

Join Date: May 2008
Location: Lucea
Posts: 99
Ignore this user

Thanks: 32
Thanked 66 Times in 48 Posts

Re: Howto Remove Spkies in MC

Quote:
Originally Posted by topbadbady »
Does multicharts provide some functions just like Quotetracker did (ALT+CTRL+H/L).
It's been a few versions back since I've done this but after you edit as Tams mentioned, you should clear cache (also from QuoteManager) then reload the symbol from the View menu.

Last edited by ochie; 12-22-2009 at 10:47 PM.
ochie is offline  
Reply With Quote
The Following User Says Thank You to ochie For This Useful Post:
Tams (12-22-2009)
Old 12-23-2009, 08:55 AM   #4

Join Date: Nov 2009
Location: shanghai
Posts: 5
Ignore this user

Thanks: 2
Thanked 1 Time in 1 Post

Re: Howto Remove Spkies in MC

No way to remove those spkies automatically in MC? I just dont want to review 10 years 1 minute data all by hand..... that's the worst choice.

why TSsupport team don't provide us this feature?

I have to write some python scripts to review data file before import into MC database...
topbadbady is offline  
Reply With Quote
Old 12-23-2009, 09:13 AM   #5

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,778
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Howto Remove Spkies in MC

they said bad tick filter was in the plans...

with today's high quality datafeed, they must have put it in the back burner.
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 12-23-2009, 04:25 PM   #6

Join Date: Nov 2009
Location: shanghai
Posts: 5
Ignore this user

Thanks: 2
Thanked 1 Time in 1 Post

Re: Howto Remove Spkies in MC

I write a python script to remove those spikes before import data into MC.

In my case, I use MAEnvelope(5,0.01) and MAEnvelope(5,0.02) filter out spikes and then replaced those spike high/low with nearby bar's high/low. In most cases, MAE(5,0.01) already fulfil my needs. but market volatility changes from time to time. so MAE(5,0.02) is needed when market volatility is too high. If somebody wants to use it on their own case, u'd better change it according to your own market volatility.

This script works in most case. but still have a lot of room to improve.

Btw, This script can process very large data file, let's say 10G or even bigger. what it only takes is time. but it's very fast though. I built up a datafile which contained 40 years 1 minute data. it takes me 160 seconds to revise.


Here are some snaps.


If highest or lowest price is the close or open price. this script just ignore it.

Attached Thumbnails
Howto Remove Spkies in MC-2009-12-23-14-24-46.png   Howto Remove Spkies in MC-2009-12-23-14-27-11.png   Howto Remove Spkies in MC-2009-12-23-14-28-38.png   Howto Remove Spkies in MC-2009-12-23-14-29-24.png   Howto Remove Spkies in MC-2009-12-23-14-29-56.png  

Howto Remove Spkies in MC-2009-12-23-14-32-17.png   Howto Remove Spkies in MC-2009-12-23-15-29-43.png   Howto Remove Spkies in MC-2009-12-23-15-30-01.png   Howto Remove Spkies in MC-2009-12-23-15-30-36.png   Howto Remove Spkies in MC-2009-12-23-15-31-21.png  

Attached Files
File Type: rar removespikes.rar (1.2 KB, 21 views)

Last edited by topbadbady; 12-23-2009 at 04:36 PM.
topbadbady is offline  
Reply With Quote
The Following User Says Thank You to topbadbady For This Useful Post:
Tams (12-23-2009)
Old 12-23-2009, 04:28 PM   #7

Join Date: Nov 2009
Location: shanghai
Posts: 5
Ignore this user

Thanks: 2
Thanked 1 Time in 1 Post

Re: Howto Remove Spkies in MC

Quote:
Originally Posted by Tams »
they said bad tick filter was in the plans...

with today's high quality datafeed, they must have put it in the back burner.
I don't have alternative datafeed at this time.......what a pity.
topbadbady is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


All times are GMT -4. The time now is 10:51 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.