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

Reply
Old 05-26-2010, 12:34 PM   #1

Join Date: Apr 2010
Location: Sunny London
Posts: 1,127
Ignore this user

Thanks: 329
Thanked 541 Times in 352 Posts

Manually Inputted Context Zones

This one is for all the system gurus and programing whizzes.
(Also I am not asking if someone will do it for me, I am asking if anyone has seen it, and or what systems it might be easiest to implement on, multicharts, Ninja etc; and how hard and cumbersome would it be to do, and/or how hard and cumbersome it might be to actually use when trading
I am not a programmer but I do have some rudimentary knowledge of some of the issues)

This is an idea I have about auto trading with input zones (or values) being inputted by a trader throughout the day. This was the trader can determine the context of what to look for and then say if something happens between this zone, then do this on a continual basis swapping between strategies BUT without having to really focus and watch every tick. Ideally as a combo of context/discretionary trading and auto trading whereby once the zones or values are set, then the auto section kicks in.

example; rather than have an auto traded system that fires off all the time, this is turned on an off by the trader throughout the day, without having to focus on the charts/DOM the whole time. That way they can use the context of whats happening to determine what strategy to apply. How to establish the zones I guess can be determined by either a fixed amount eg; 15 ticks, Or the lowest low over 20 bars etc..... whatever they like. The point is this zone is more likely to be subjective. So the trader says there is a breakout, i want the zone to be between this price point and this price point. Now between these levels let the auto trader do its job.

I hope this makes sense, and I also hope this has already been done by some trading system that I dont know about that someone may recommend. OR if its not then this is an opportunity for those great programmers out there.thanks.


Attached Thumbnails
Manually Inputted Context Zones-zone-break.jpg  
SIUYA is offline  
Reply With Quote
Old 05-28-2010, 05:03 AM   #2

Join Date: Apr 2010
Location: Sunny London
Posts: 1,127
Ignore this user

Thanks: 329
Thanked 541 Times in 352 Posts

Re: Manually Inputted Context Zones

clearly not from the response.
I guess that means there is a business opportunity here.
SIUYA is offline  
Reply With Quote
Old 05-28-2010, 04:53 PM   #3

natedredd10's Avatar

Join Date: Dec 2009
Location: wny
Posts: 111
Ignore this user

Thanks: 2
Thanked 38 Times in 25 Posts

Re: Manually Inputted Context Zones

Your trying to quantify "regime change" which happens on all time frames, forever..its probly the fundamental most misunderstood property of markets...
Even if I understood it, bet your ass I wouldn't tell you.. That kind of information is worth its weight in gold ^10
natedredd10 is offline  
Reply With Quote
Old 06-01-2010, 07:07 AM   #4

Join Date: Apr 2010
Location: Sunny London
Posts: 1,127
Ignore this user

Thanks: 329
Thanked 541 Times in 352 Posts

Re: Manually Inputted Context Zones

thanks for the reply nate...however

I am NOT trying to quantify regime change.
I believe as you clearly do, if you could program such measures then its worth gold. I dont believe you can quantify it, hence back test it, hence you cannot auto trade it.

I am looking to see if someone who has good programing knowledge is able to help direct some advice in terms of how hard/cumbersome it might be for the zones being inputted by a trader throughout the day...... that is the user needs to watch it but constantly adjust throughout the day. This way you only need to adjust zones for where you want certain auto trading strategies to occur, not specific price points or triggers. eg; you only want a cross of a MA within a certain area, and no where else.

I believe this would be far less work than just watching and waiting, its kind of like trying to get the best of both worlds. discretionary/context trading and auto trading
SIUYA is offline  
Reply With Quote
Old 06-11-2010, 11:17 AM   #5

natedredd10's Avatar

Join Date: Dec 2009
Location: wny
Posts: 111
Ignore this user

Thanks: 2
Thanked 38 Times in 25 Posts

Re: Manually Inputted Context Zones

Well this is kind of what I'm working on. You should look into bayesian analysis ideas and the concept of priors. The computer does what its good at as far as crunching data but the initial parameters are set and variable based on my speculative talent.
Its hardly non trivial though, after a year I still don't have anything thats better than just looking at a chart.
I think you also have to keep in mind that the computer is good at looking at the vast interrelationships between markets and index components that would be impossible to chart and do analysis on yourself. I'm not really sure you can beat a well trained brain on straight out time series analysis for a single market given the problem though.
Manually marking off zones certainly cuts down on the variables but the variables are still massive for the computer to handle.
I also don't think you can really do this with candle sticks and not tick data. The more trades the system puts on backtesting the more random the results are from the information that is being tossed out with an ohlc summary of the tick data.

this is a pretty cool blog post from today though that i would think would be a piece of the puzzle for what you are trying to do.
http://intelligenttradingtech.blogsp...k-pattern.html

Last edited by natedredd10; 06-11-2010 at 11:23 AM.
natedredd10 is offline  
Reply With Quote
Old 06-11-2010, 12:11 PM   #6

Join Date: Apr 2010
Location: Sunny London
Posts: 1,127
Ignore this user

Thanks: 329
Thanked 541 Times in 352 Posts

Re: Manually Inputted Context Zones

thanks for the link nate.
I am not trying to do a fully automated system..... far from it. The thing I would like to attempt is a far simpler version of events of being able to switch on an off a collection of simple automatic trading systems (or even just Entry systems) if you like.
The tough part as I can see is manually, quickly and easily being able to manually tell a computer when to apply the system..... that is the human brain still provides the context. I also dont really care too much for statistics in the sense most people apply them and look at them, if anything its only being more interested in saying given these areas then what are the stats . This is more gut discretionary trading from experience of knowing (or at least thinking I know of when to apply things) This way you can quickly switch on and off the systems as the market moves.


That way I and the system dont need to understand the relationships between candle charts etc for all such past events. All I need to be able to say to the system is that between this point and this point, that the market has just fallen/risen too much, I wish to be able to apply this..... and then it might be something as simple as a MA cross over, whereby you as the human determine, I think the chop has been enough now, take the next (of the next few) MA cross overs.
(I use this as an example as I use neither candlestick patterns or moving avgs - the candle sticks I use just give me a visual map when I look at
it. Also tick data is not necessary as some of the systems are very simple limit placing orders.)

The picture I have added might show it better. Just say I determine as a trader my zone is based on the previous spike high. A couple of random lines later define my zone, and my stop. After that I can actually say within this zone, apply this system.... and only this system. That way I can just not watch the market so closely in the meantime, and I also know that the system is not going to go haywire in the meantime. Once I have the trade on I the system can mange it or I can exit it manually. I am wondering if there are any off the shelf systems that can easily apply this whereby the zones are quickly placed, and moved etc and varying systems/strategies are able to be used simultaneously.



There seems to be a few people like yourself that have worked on this.... maybe its a lost cause.
However I will persist and I am sure you will persist!!!!
Attached Thumbnails
Manually Inputted Context Zones-oil.jpg  

Last edited by SIUYA; 06-11-2010 at 12:26 PM.
SIUYA is offline  
Reply With Quote
Old 06-25-2010, 08:00 AM   #7

natedredd10's Avatar

Join Date: Dec 2009
Location: wny
Posts: 111
Ignore this user

Thanks: 2
Thanked 38 Times in 25 Posts

Re: Manually Inputted Context Zones

The biggest problem with this type of stuff is in setting the thresholds for what tells the computer to not view things as a zone forming. Like in that above example at the start on the upper part of the zone, that one bar violates the zone by quite a lot and what is telling you to ignore that comes because of the forward bars after that.
If you look at the attached picture, programming the box on the left to capture the zone would be easy but would never really pick up what you want unless you line it up in the past. What you probably need is something like on the right, with smaller windows based off a few number of bars that set a larger window, that sets a larger window, that sets a larger window until you get what you want. Much much harder to do since you also have to keep track of something like if you picture 3 iterations

zone forming 1 = true
zone forming 2 = maybe
zone forming 3 = maybe
zone forming 4 = maybe
zone formed = maybe

zone forming 1 = true
zone forming 2 = true
zone forming 3 = maybe
zone forming 4 = maybe
zone formed = maybe

zone forming 1 = true
zone forming 2 = true
zone forming 3 = FALSE
zone forming 4 = null
zone formed = null

False can't just scrap everything and start over, although maybe you could have it backtrack one level to maybe again and keep going.
Attached Thumbnails
Manually Inputted Context Zones-oil3.jpg  

Last edited by natedredd10; 06-25-2010 at 08:13 AM.
natedredd10 is offline  
Reply With Quote
Old 02-06-2011, 12:10 AM   #8

Ingot54's Avatar

Join Date: Jun 2010
Location: Hervey Bay, QLD Australia
Posts: 502
Ignore this user

Thanks: 595
Thanked 322 Times in 162 Posts

Re: Manually Inputted Context Zones

Quote:
Originally Posted by SIUYA »
This one is for all the system gurus and programing whizzes.
(Also I am not asking if someone will do it for me, I am asking if anyone has seen it, and or what systems it might be easiest to implement on, multicharts, Ninja etc; and how hard and cumbersome would it be to do, and/or how hard and cumbersome it might be to actually use when trading
I am not a programmer but I do have some rudimentary knowledge of some of the issues)

This is an idea I have about auto trading with input zones (or values) being inputted by a trader throughout the day. This was the trader can determine the context of what to look for and then say if something happens between this zone, then do this on a continual basis swapping between strategies BUT without having to really focus and watch every tick. Ideally as a combo of context/discretionary trading and auto trading whereby once the zones or values are set, then the auto section kicks in.

example; rather than have an auto traded system that fires off all the time, this is turned on an off by the trader throughout the day, without having to focus on the charts/DOM the whole time. That way they can use the context of whats happening to determine what strategy to apply. How to establish the zones I guess can be determined by either a fixed amount eg; 15 ticks, Or the lowest low over 20 bars etc..... whatever they like. The point is this zone is more likely to be subjective. So the trader says there is a breakout, i want the zone to be between this price point and this price point. Now between these levels let the auto trader do its job.

I hope this makes sense, and I also hope this has already been done by some trading system that I dont know about that someone may recommend. OR if its not then this is an opportunity for those great programmers out there.thanks.
This is not in my kitchen at all, but after a third reading of this entire thread, it left me needing further breakdown of the steps in this puzzle.

Can I just ask if the use of say Donchian Channels might be of any help, in setting the range? The next part should simply be to switch on the bot.

This video (which I dug up with the assistance of Google) shows software that allows the periods to be set with the use of a slider.

MarketClub Videos: "Silly Season" behind us, it's time to get serious

It is just the idea - forget the commercial side of that.

Set me thinking that if the TF was set at any desired intra-day period, then this might be a giant leap forward in solving the puzzle.

Probably totally useless info, but I like to dig stuff up, and if I could "get it" more clearly, then I might chuck in 5cents worth where I can.

There are also price "boxes' based on H/L/range for set periods, but I think you are too far ahead of me for this not to have been considered as part of the solution.

The short answer is: No - I have not seen this done.

It seems to be a two-part idea you are probing for - a manual trigger for an auto-trader to get to work? You don't want the computer to set the zones - this is YOUR task ... is that correct? Then you want the computer to go to work and auto-trade, once you "tell" it the zone it is confined to?

If I am too uneducated in the tech requirements, or totally off-track, I am hard to offend. There might simply be too large a gap for me to be able to understand and help. I like the concept though - as far as I have understood.
Ingot54 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 11:07 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.