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

Notification

Icon
Error

Options
Go to last post Go to first unread
DADABE  
#1 Posted : Wednesday, August 17, 2005 5:09:55 PM(UTC)
DADABE

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 6/19/2005(UTC)
Posts: 39

Hi Patrick, The criterias plotted in bullish and bearish trends determine the tendances zones in the band indicator and so the date and the entry direction in the market. May be a better mathematician as me could find the problem solution on this Forum and tell us ? Best regards, Pierre
Patrick  
#2 Posted : Wednesday, August 17, 2005 5:17:04 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Sorry I did not understand what problem you were refering to ... Pouvez vous me dire ce que vous essayez d'accomplire avec l'expert? Patrick :mrgreen:
DADABE  
#3 Posted : Wednesday, August 17, 2005 5:35:23 PM(UTC)
DADABE

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 6/19/2005(UTC)
Posts: 39

I've put these formulas : bullish trend : C>Mov(C,40,E) AND C>Mov(C,8,E) bearish trend C<Mov(C,40,E) AND C<Mov(C,8,E) these indications determine the band zones bullish, bearish and neutral wich are plotted on th X date axis . I want to put a buy arrow on the beginnig of bullish zones and a sell arrow on the beginnig of bearish zones ? what are the formulas to do it . Regards Merci de votre pensée en français qui peut m'être utile, en effet .
Patrick  
#4 Posted : Wednesday, August 17, 2005 6:15:13 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
{Bullish} LE:=C>Mov(C,40,E) AND C>Mov(C,8,E) ; LX:=C<Mov(C,40,E) AND C<Mov(C,8,E) ; B:= ExtFml("ForumDll.Latch",LE,LX,0,0); B = 1 and Ref(B,-1) <> 1 {Bearish} LE:=C>Mov(C,40,E) AND C>Mov(C,8,E) ; LX:=C<Mov(C,40,E) AND C<Mov(C,8,E) ; B:= ExtFml("ForumDll.Latch",LE,LX,0,0); B = 0 and Ref(B,-1) = 1 You need the dll for that ... Patrick :mrgreen:
DADABE  
#5 Posted : Wednesday, August 17, 2005 6:27:43 PM(UTC)
DADABE

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 6/19/2005(UTC)
Posts: 39

Hi, Patrick Merci beaucoup, vous êtes des types formidables sur le Site US . Malheureusement, il n'y a presque personne sur le Site français . Bonne journée, Patrick. Ici, à Madagascar, c'est l'heure d'aller se coucher,! Pierre
Patrick  
#6 Posted : Wednesday, August 17, 2005 6:32:12 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Malheureusement je n'ai pas assez de temps pour le site francais :( Bonne Nuit ;)
StorkBite  
#7 Posted : Wednesday, August 17, 2005 6:35:38 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Better late than never... No dll required. buy:= C>Mov(C,40,E) AND C>Mov(C,8,E); sell:= C<Mov(C,40,E) AND C<Mov(C,8,E) ; buy AND BarsSince(Ref(buy, -1)) > BarsSince(Ref(sell, -1));
Patrick  
#8 Posted : Wednesday, August 17, 2005 6:37:26 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
g your formula is correct, the problem is you miss out on the first 2 trades ... Patrick :mrgreen:
DADABE  
#9 Posted : Wednesday, August 17, 2005 6:46:20 PM(UTC)
DADABE

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 6/19/2005(UTC)
Posts: 39

Patrick, J'ai tenté d'adapter ces formules sur l'Editor mais n'y suis pas encore arrivé car l'Editor me refoule pour l'instant le "shell" ci après qu'il ne veut pas reconnaître ."BarsSince(Ref(sell, -1));" Pouvez-vous me modifier ces formules pour l'Editor ? Encore merci . Pierre
StorkBite  
#10 Posted : Wednesday, August 17, 2005 6:47:30 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
I think that's good news... right?! :-k LOL! Hey, this is the hardest one I've attempted yet. I can't really take credit 'cause I learned it here on the forum. Lot's of good teachers, BTW! Anyway, I didn't test it much. I tried it on some daily data with about 100 periods loaded and it missed the first trade only. I just thought I'd chunk it in the mix because it appears simpler. Anyway... thanks for the affirmation.
Patrick  
#11 Posted : Wednesday, August 17, 2005 6:50:02 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
{Buy} LE:=C>Mov(C,40,E) AND C>Mov(C,8,E) ; LX:=C<Mov(C,40,E) AND C<Mov(C,8,E) ; LE and Barssince(Ref(LE,-1)) > Barssince(Ref(LX,-1)) {Sell} LE:=C>Mov(C,40,E) AND C>Mov(C,8,E) ; LX:=C<Mov(C,40,E) AND C<Mov(C,8,E) ; LX and Barssince(Ref(LX,-1)) > Barssince(Ref(LE,-1)) Just copy and paste the formula from the post ... Patrick :mrgreen:
StorkBite  
#12 Posted : Wednesday, August 17, 2005 6:54:18 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Isn't that the same? Gosh... come on guys, I speak Engli[censored]
Patrick  
#13 Posted : Wednesday, August 17, 2005 6:54:19 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Quote:
I think that's good news... right?! :-k LOL!
:smt109
Patrick  
#14 Posted : Wednesday, August 17, 2005 6:56:02 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Well he tried to use your formula and it gave him an error so I just retyped the same idea ... So yes it is the same thing and you were right. The problem is that he used your formula and he asked me to fix it :lol:
StorkBite  
#15 Posted : Wednesday, August 17, 2005 6:59:21 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
If it was right, what did you fix? :lol:
Patrick  
#16 Posted : Wednesday, August 17, 2005 7:00:54 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
I just posted both the buy and sell to avoid user errors ;)
StorkBite  
#17 Posted : Wednesday, August 17, 2005 7:20:14 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Cool... I learn something with every post! :D
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.