logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
hayseed  
#1 Posted : Wednesday, August 24, 2005 11:39:27 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

gary had a good question about my use of the phrase , 'on a chart with many experts attached '....... , from prior post, its really just a combination of experts into one.... to attach multiple experts first combine them into 1.... i have an expert called '3 musketeers', all for one and one for all..... it started out just 3 but quickly grew to 6 or 7 the equis meta provided experts combined.... that chart has the equis 'stochastic oscillator ', ' macd', ' chande momentum oscillator' . ' directional movement' and 'bollinger bands' experts all applied at the same time.... all acting independently.... which includes the commentary section of each also.... first note on the chart no two symbol names are the same, thats important.... this works best if you first change the symbol names to something explict, rather than use 'long' use 'macd long' or rather use 'buy' use 'bollinger band buy', and so on.... briefly the steps would be, make a copy of the Equis - Stochastic Oscillator expert and rename it 'motley crue'....... now, open addtional equis experts and copy the symbol list, you can copy and paste all of them at 1 time, just highlight them all.... remember, don't have same named symbols.... on each equis expert also copy the commentary section and paste it in the commentary section of 'motley crew'.... once you attempt this a time or two, it will become easy to combine many... i long ago went thru and renamed explict, changed the text color and graphics of most symbols to the common experts which speeds things up..... i'm trying to post a ready made version..... when your done combining just open the 'dia' chart, turn up the volume and apply the 'motley crue'..... h
Bulli  
#2 Posted : Tuesday, September 5, 2006 5:22:21 PM(UTC)
Bulli

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 9/26/2005(UTC)
Posts: 185
Location: Brazil

Combing Expert Advisor is a good Idea that I am actually using for a long time now (actually combining 13 of them)

But how to overcome the same signal from different expert in the same bar, this I could never figure it out [:(]

(Using Alerts helps but too many of them is just a pain)

Bulli

Spaceant  
#3 Posted : Tuesday, September 5, 2006 10:36:45 PM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

Bulli,

What do you do practically? Can you share with us?

sa

Bulli  
#4 Posted : Wednesday, September 6, 2006 6:17:20 AM(UTC)
Bulli

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 9/26/2005(UTC)
Posts: 185
Location: Brazil

Mainly the same procedures like Hayseed, except that I do not copy the symbols, I try to combine them using OR, but you cannot combine all of them.

The problem is that sometimes you end up with more than one system giving a buy signal and Metastock will only show the first one based on the priority system that it follows.

Bulli

wabbit  
#5 Posted : Wednesday, September 6, 2006 8:03:25 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
You can have one 'mother' script that contains calls to all the other values. Give each script a 'number'

0 - MACD
1 - RSI
2 - Stoch
3 - System 3
4 - System 4
etc

when a system returns an entry, raise 2 to the power of the system number and sum all the systems. This will give a unique combination that with a little bit of time, and knowledge of binary numbers will indicate which systems have returned the entry signal...

e.g

0 - MACD, entry=1, entry*pow(2,0)=1
1 - RSI, entry=0, entry*pow(2,1)=0
2 - Stoch, entry=1, entry*pow(2,2)=4
3 - System 3, entry=0, entry*pow(2,3)=0
4 - System 4, entry=1, pow(2,4)=16

16+4+1=21

If your exploration returns a value of 21 then the only possible combination is that MACD and Stoch and System4 were returning entries.

Another example:

If the return value is, say, 22 then we can write this as binary 10110 which means (reading right to left)

0 - MACD, entry=0
1 - RSI, entry=1
2 - Stoch, entry=1
3 - System 3, entry=0
4 - System 4, entry=1

Yet another example:

If the return value is, say, 24 then we can write this as binary 11000 which means (reading right to left)

0 - MACD, entry=0
1 - RSI, entry=0
2 - Stoch, entry=0
3 - System 3, entry=1
4 - System 4, entry=1

This is the basis to the entire binary system and is used extensively throughout all computer programming and application design; so why not MS?

All you have to do now is code an expert symbol for every possible combination!!! Or just learn to read decimal numbers as binary (Windows Calculator is a useful for this whilst you are learning)


Hope this helps, or at least you another way to think about the problem?

wabbit [:D]


NOTE: Use caution combining more than 15 systems this way, else MS might start doing some of its own rounding off as pow(2,15)=32768, pow(2,16)=65536 which in MS terms are quite large numbers and may be subject to 'precision errors'.

Bulli  
#6 Posted : Wednesday, September 6, 2006 8:43:50 AM(UTC)
Bulli

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 9/26/2005(UTC)
Posts: 185
Location: Brazil

Hay Wabbit,

Sure it does help.

Thank you for that!

Bulli

hayseed  
#7 Posted : Wednesday, September 6, 2006 7:55:32 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey bulli.... that was from back when i was fairly new to metastock so i had overlooked the hierarchy of the alerts.... investorretired pointed that limtation later for us....

after giving it further thought i came up with a better method and one that will list any or all of the alerts as hit.... combining 4 experts is relatively simple but it gets progressively more complex with each addition....

you can see i lettered formulas for ease in the logic.... and i'm sure you see that this same precedure can alert for long exit and short entry on the same exact bar.......

there will be a point at which its easier just have another chart opened with an additional 4 as opposed to only one with 8.......h

Bulli  
#8 Posted : Wednesday, September 6, 2006 8:04:00 PM(UTC)
Bulli

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 9/26/2005(UTC)
Posts: 185
Location: Brazil

Hay Hayseed,

Thanks for the feedback.

Bulli

Spaceant  
#9 Posted : Wednesday, September 6, 2006 9:09:22 PM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

Hayseed,

Can you new method combine expert that is password protected?

sa

hayseed  
#10 Posted : Thursday, September 7, 2006 4:59:56 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey sa.... thats a good question.... i follow your thinking and agree, it would be nice if we could.....

unfortunetly the answer that would apply to most password experts is, no it can not....

in some cases you could but even then most likely the ends would not justify the means.... its just too simple to have open a additional chart with the password expert applied.....h

PTJim  
#11 Posted : Thursday, September 14, 2006 1:45:37 PM(UTC)
PTJim

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/10/2006(UTC)
Posts: 252

Thanks: 11 times
Was thanked: 9 time(s) in 6 post(s)
Very interesting, Hayseed - I can always count on you to present something new and intriguing to make my brain hurt comprehending it all. I have to plan a learning vacation or something to have enough time to really ramp up my learning curve . . . . . . .

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.