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

Notification

Icon
Error

Options
Go to last post Go to first unread
hef  
#1 Posted : Thursday, April 20, 2006 12:21:30 AM(UTC)
hef

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/17/2006(UTC)
Posts: 4
Location: aust

After the formula for the gann swing expert .Have tried to copy but keep getting errors. After use of gann line studies in metastock and the aplication of how to use them in detail : :?:
wabbit  
#2 Posted : Thursday, April 20, 2006 1:52:11 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)
OK hef... Firstly Welcome to the forum. I hope you find the site useful. However, a few comments on your first post... A quick tour around the keyboard will show you keys like "I" "a" "m" "p" "l" "e" "a" "s" "e" (again) and many more. (Maybe English isn't your native tongue? So you would appreciate the difficulty of this situation, but I notice you are from 'aust' and made certain assumptions. If they are wrong, sorry, but) Please don't use abbreviated language, i.e surfie grommet speak, see here for examples: http://www.bodyboardingw.../modules.php?name=Forums These kids struggle to put a sentence together at the best of times! This is an international forum, some people do not have a strong grasp of English - we must be considerate of them. Courtesy. It goes a long way. I am sure your parents brought you up right. Let's honour them.
hef - amended by wabbit wrote:
I am looking for the formula for the gann swing expert.
Its reading better already!
hef wrote:
Have tried to copy but keep getting errors.
Now if you had read the forum rules, you would know that this is useless to anyone who may try to help. What code? Please post all code you are having troubles with, and quote the source. Copy? Copy from where? What errors? You need to write EXACTLY what errors are generated. Is there an actual error (with a beep and a little window saying error gernerated?) or doesn't the code produce the right signals at the right time? They are different situations, and must be dealt with differently.
hef - amended again wrote:
I am looking to use gann line studies in metastock. I would like to find more information on their application and use, please.
Well a good source of the basic application of the Gann studies would be the MetaStock Users Manual that came with your legitimate copy of MetaStock. Another source would be Google: http://www.google.com.au...Search&meta=lr%3Dlang_en I am sure there are a thousand books on the subject, so why not visit Amazon: http://www.amazon.com/gp...Gann&Go.x=9&Go.y=8&Go=Go If you are asking the forum members to recommend a book or website, why not just ask, "Can anyone recommend a good book or site detailing the use of Gann Swing Indicators, please?" If you need any more help, just ask. Hope this helps. wabbit :D P.S. Damn run out of coffee!
hayseed  
#3 Posted : Thursday, April 20, 2006 2:05:18 AM(UTC)
hayseed

Rank: Advanced Member

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

hey hef..... not sure which expert your refering to...... adam hefner has one..... make sure your putting all formulas in first, the yellow areas, then create the expert as he suggests..... it works on this end.....h
konrad  
#4 Posted : Thursday, April 20, 2006 2:54:05 AM(UTC)
konrad

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 6/6/2005(UTC)
Posts: 424
Location: connecticut,USA

"GANN - Swing", "GANN - Trend" "GaW-Trend" Expert you have to put all those 3 formula into indicator builder if you want to use exert advisor,otherwise you can't use them
hef  
#5 Posted : Thursday, April 20, 2006 6:54:00 AM(UTC)
hef

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/17/2006(UTC)
Posts: 4
Location: aust

Sorry Wabbit ,Iwas taught manners and I will try to use them . Thanks for the replies hayseed &konrad I have tried what you both suggested but I still keep getting(No indicator names in the indicator builder contain this text.)when trying to enter the formula. Must be doing something wrong.Any clues? Please can anyone help me with how best to use gann indicators in metastock do have a small idea out of the metastock user manual version8 also reading( gann made easy) but it does not help on the gann indicators in metastock and how to best use them .Is there any books anyone can suggest I would be very thankful P.S.Wabbit Adeliade ,South Australia :oops:
hayseed  
#6 Posted : Thursday, April 20, 2006 12:30:06 PM(UTC)
hayseed

Rank: Advanced Member

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

hey hef..... several things can cause that message.... most often its a slight difference in the indicator name between the indicator list and how its named in the expert.... take a very close look at whats between the " " in the fmlvar name.... as example, if the name listed in the indicator builder is [color=blue:bb7160a4b5]GANN - Trend[/color] , it has to be the exact same way in the experts.... that includes spaces.... it has to be exact.... ut:=FmlVar("[color=blue:bb7160a4b5]GANN - Trend[/color]","TDV"); this is correct ut:=FmlVar("[color=red:bb7160a4b5]GANN -Trend[/color]","TDV"); this will return the error, missing space and of course it might not be a slight name difference, it might be the indicator is just flat out not in your list..... make sure all indicators are listed first ..... then write the expert...... speakin of writing, are you copy and pasting all this in or typing it....... copy and paste is best......holler back if ya still have trouble.....h
hef  
#7 Posted : Friday, April 21, 2006 12:04:01 AM(UTC)
hef

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/17/2006(UTC)
Posts: 4
Location: aust

Hayseed thanks Ill be taking more care next time thanks agian p.s. any ideas on the gann indicators in metastock =D>
henry1224  
#8 Posted : Friday, April 21, 2006 1:19:40 AM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
Indicators Gann-Swing{Adam Hefner} {Market swing is defined as: Up = 2 higher highs, Down = 2 lower highs.} Us:=BarsSince((H > Ref(H,-1)) AND (Ref(H,-1) > Ref(H,-2))); Ds:=BarsSince((L < Ref(L,-1)) AND (Ref(L,-1) < Ref(L,-2))); Sd1:=If(Us=0, {then}If(Ref(L,-1)<>LowestSince(1,Ds=0,L), {then}1, {else}0), {else}If(Ds=0, {then}If(Ref(H,-1)<> HighestSince(1,Us=0,H), {then}-1, {else}0), {else}0)); Sd2:=If(Sd1=1, {then} If(Ref(BarsSince(Sd1=1),-1) > Ref(BarsSince(Sd1=-1),-1), {then}1, {else}0), {else} If(Sd1=-1, {then}If(Ref(BarsSince(Sd1=1),-1) < Ref(BarsSince(Sd1=-1),-1), {then}-1, {else}0), {else}0)); TD1:=ValueWhen(1,Sd2<>0,Sd2); Td1; _____________________________________ Gann-Trend {Adam Hefner} {Swing Direction} Sd:= FmlVar("GANN-Swing","TD1") ; {Swing Change High} Sch:=If(Sd=1 AND Ref(sd,-1)=-1, {then}1, {else}0); {Swing Change Low} Scl:=If(Sd=-1 AND Ref(Sd,-1)=1, {then}1, {else}0); {Peak Value} Pv:=If(Scl=1, {then}HighestSince(1,Sch=1,H), {else}0); {Trough Value} Tv:=If(Sch=1, {then}LowestSince(1,Scl=1,L), {else}0); {Trend Direction} Td:=If(H>ValueWhen(1,Pv>0,Pv), {then}1, {else}If(L<ValueWhen(1,Tv>0,Tv), {then}-1, {else}0)); {UpTrend=1 DownTrend =-1} Tdv:=ValueWhen(1,Td<>0,Td); Tdv; Expert by Henry 1224 Highlights Long ut:=FmlVar("GANN-Trend","TDV"); A:=FmlVar("GANN-Swing","TD1"); Ut>0 AND A>0 Short ut:=FmlVar("GANN-Trend","TDV"); A:=FmlVar("GANN-Swing","TD1"); Ut<0 AND A<0 Out ut:=FmlVar("GANN-Trend","TDV"); A:=FmlVar("GANN-Swing","TD1"); Long:=Ut>0 AND A>0; Short:=Ut<0 AND A<0; Out:=Long<>1 OR Short<>1; Out=1 Symbols Long entry ut:=FmlVar("GANN-Trend","TDV"); A:=FmlVar("GANN-Swing","TD1"); Long:=Ut>0 AND A>0; Long=1 AND Ref(Long,-1)<1 Short entry ut:=FmlVar("GANN-Trend","TDV"); A:=FmlVar("GANN-Swing","TD1"); Short:=Ut<0 AND A<0; Short=1 AND Ref(Short,-1)<1 Long exit ut:=FmlVar("GANN-Trend","TDV"); A:=FmlVar("GANN-Swing","TD1"); Long:=Ut>0 AND A>0; Short:=Ut<0 AND A<0; Out:=Long<>1 OR Short<>1; Out=1 AND Ref(Long,-1)>0 AND Long=0 Short exit ut:=FmlVar("GANN-Trend","TDV"); A:=FmlVar("GANN-Swing","TD1"); Long:=Ut>0 AND A>0; Short:=Ut<0 AND A<0; Out:=Long<>1 OR Short<>1; Out=1 AND Ref(Short,-1)>0 AND Short=0
henry1224  
#9 Posted : Saturday, April 22, 2006 11:48:42 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
the difference between the original expert above with this one is that I subsituted the Gann Trend indicator with the PowerPivots + trend Direction Highlights Long A2:= ExtFml("PowerPivots.TrendDirection",1,2); Ut:=If(Sum(A2>0,2)>1,1,If(Sum(A2<0,2)>1,-1,0)); A:=FmlVar("GANN-Swing","TD1"); Long:=Ut>0 AND A>0; Long=1 Short A2:= ExtFml("PowerPivots.TrendDirection",1,2); Ut:=If(Sum(A2>0,2)>1,1,If(Sum(A2<0,2)>1,-1,0)); A:=FmlVar("GANN-Swing","TD1"); Short:=Ut<0 AND A<0; Short=1 Out A2:= ExtFml("PowerPivots.TrendDirection",1,2); Ut:=If(Sum(A2>0,2)>1,1,If(Sum(A2<0,2)>1,-1,0)); A:=FmlVar("GANN-Swing","TD1"); Long:=Ut>0 AND A>0; Short:=Ut<0 AND A<0; Out:=Long<>1 OR Short<>1; Out=1 Symbols Long entry A2:= ExtFml("PowerPivots.TrendDirection",1,2); Ut:=If(Sum(A2>0,2)>1,1,If(Sum(A2<0,2)>1,-1,0)); A:=FmlVar("GANN-Swing","TD1"); Long:=Ut>0 AND A>0; Long=1 AND Ref(Long,-1)<1 Short entry A2:= ExtFml("PowerPivots.TrendDirection",1,2); Ut:=If(Sum(A2>0,2)>1,1,If(Sum(A2<0,2)>1,-1,0)); A:=FmlVar("GANN-Swing","TD1"); Short:=Ut<0 AND A<0; Short=1 AND Ref(Short,-1)<1 Long exit A2:= ExtFml("PowerPivots.TrendDirection",1,2); Ut:=If(Sum(A2>0,2)>1,1,If(Sum(A2<0,2)>1,-1,0)); A:=FmlVar("GANN-Swing","TD1"); Long:=Ut>0 AND A>0; Short:=Ut<0 AND A<0; Out:=Long<>1 OR Short<>1; Out=1 AND Ref(Long,-1)>0 AND Long=0 Short exit A2:= ExtFml("PowerPivots.TrendDirection",1,2); Ut:=If(Sum(A2>0,2)>1,1,If(Sum(A2<0,2)>1,-1,0)); A:=FmlVar("GANN-Swing","TD1"); Long:=Ut>0 AND A>0; Short:=Ut<0 AND A<0; Out:=Long<>1 OR Short<>1; Out=1 AND Ref(Short,-1)>0 AND Short=0
hef  
#10 Posted : Sunday, April 23, 2006 1:06:17 AM(UTC)
hef

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/17/2006(UTC)
Posts: 4
Location: aust

thanks everyone first time in a fourm and its nice to know people are out there to help. please I am looking to use gann line studies in metastock. I would like to find more information on their application and use, thanks agian
hayseed  
#11 Posted : Sunday, April 23, 2006 2:53:11 AM(UTC)
hayseed

Rank: Advanced Member

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

hey hef..... i'll post a few things later..... one of the best sites for learning might be the gann analyst..... both informative and deep......h
henry1224  
#12 Posted : Sunday, April 23, 2006 1:11:34 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
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.