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

Notification

Icon
Error

Options
Go to last post Go to first unread
Bulli  
#1 Posted : Wednesday, September 6, 2006 6:41:15 PM(UTC)
Bulli

Rank: Advanced Member

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

If you want to set a profit target and or Stop loss along with Latch function of Forumdll.dll that does not support that for the time being, you can use a combination of Forumdll.dll and GV.dll to reference the entry price without using PREV.

I have been using it for sometime now without any problem.

See an example here:

ExtFml( "GV.SetVar","LEntry" , ValueWhen( 1, (Cross((Mov((RSI(12)-LLV(RSI(12),12)) / (HHV(RSI(12),12)- (LLV(RSI(12),12))),3,E)*100),25)), C) );
LE:= Cross((Mov((RSI(12)-LLV(RSI(12),12)) / (HHV(RSI(12),12)- (LLV(RSI(12),12))),3,E)*100),25)
AND
C>(Ref(Mov(C,25,S),-5))
OR
C> (ExtFml( "GV.GetVar","LEntry" )* 1.02);
LX:= Cross(20,(Mov((RSI(14)-LLV(RSI(14),14)) / (HHV(RSI(14),14)- (LLV(RSI(14),14))),3,E)*100))
OR
C<( ExtFml( "GV.GetVar","LEntry" )*.97);
SE:=0;
SX:=0;
B:= ExtFml("ForumDll.Latch",LE,LX,SE,SX);
B>0 AND Ref(B,-1)<=0

Bulli

Bulli  
#2 Posted : Wednesday, September 6, 2006 7:06:59 PM(UTC)
Bulli

Rank: Advanced Member

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

Only take the idea but not the code since WABBIT pointed out a problem in the entry price being moved in GV.dll

Bulli

Spaceant  
#3 Posted : Wednesday, September 6, 2006 8:36:01 PM(UTC)
Spaceant

Rank: Advanced Member

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

an interesting example! thanks for sharing!

sa

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.