PureBytes Links
Trading Reference Links
|
> Ok Roy I have seen your site but I have not found Trade Equity GVE that
> combine the long and short. Perhaps I have not understood well.
This code is not posted anywhere on the web. It has not been upgraded to
the level of Trade Equity
GV LE version 5.1.
Roy,
for the first time thank you for your aid. Then, I have make this pass:
I have downloaded the GV.dll from your site and renamed the file into
E.dll, S.dll and L.dll. Well, i have created this new indicator:
{Trade Equity GVE} {V4.0 long & short equal}
{2002 Roy Larsen, rlarsen@xxxxxxxxxxxxxx}
No:=Input("Enter 1=O 2=C 3=H 4=L 5=Stop",1,5,2);
Xo:=Input("Exit 1=O 2=C 3=H 4=L 5=Stop" ,1,5,2);
Nd:=Input("Entry Delay #",0,3,0);
Xd:=Input("Exit Delay #" ,0,3,0);
Cn:=Input("Entry Commission $",0,99,20);
Cx:=Input("Exit Commission $" ,0,99,20);
Cp:=5000; {* trade capital, 0 = points only *}
{* long side formulas *}
Pp:=1; {* long position size fml *}
N:= Fml("Keep entry"); {enter long}
Ns:=0;
X:= Fml("Keep exit"); {close long}
Xs:=0;
{* use 'Xs' with caution when Xo<5 *}
{* short side formulas *}
Ps:=1 {* short position size fml *};
M:= Fml("Keep entry(2)"); {sell short}
Ms:=0;
Y:= Fml("Keep exit(2)"); {buy to cover}
Ys:=0;
{* use 'Ys' with caution when Xo<5 *}
{* end of user area *}
N:=N AND Alert(N=0,2);
X:=If(Xo<5,X AND Alert(X=0,2),0);
N:=If(Nd=0,N,Alert(N,Nd+1) AND Alert(N,Nd)=0);
X:=If(Xd=0,X,Alert(X,Xd+1) AND Alert(X,Xd)=0);
M:=M AND Alert(M=0,2);
Y:=If(Xo<5,Y AND Alert(Y=0,2),0);
M:=If(Nd=0,M,Alert(M,Nd+1) AND Alert(M,Nd)=0);
Y:=If(Xd=0,Y,Alert(Y,Xd+1) AND Alert(Y,Xd)=0);
I:=Cum((M+Ms+N+Ns+X+Xs+Y+Ys)>-1)=1;
I:=ExtFml("E.SetVar","I",I); I:=ExtFml("E.SetVar","N",N);
I:=ExtFml("E.SetVar","X",X); I:=ExtFml("E.SetVar","Cn",Cn);
I:=ExtFml("E.SetVar","Cp",Cp); I:=ExtFml("E.SetVar","Cx",Cx);
I:=ExtFml("E.SetVar","Nd",Nd); I:=ExtFml("E.SetVar","No",No);
I:=ExtFml("E.SetVar","Ns",Ns); I:=ExtFml("E.SetVar","Pp",Pp);
I:=ExtFml("E.SetVar","Xd",Xd); I:=ExtFml("E.SetVar","Xo",Xo);
I:=ExtFml("E.SetVar","Xs",Xs); I:=ExtFml("E.SetVar","M",M);
I:=ExtFml("E.SetVar","Y",Y); I:=ExtFml("E.SetVar","Ms",Ms);
I:=ExtFml("E.SetVar","Ps",Ps); I:=ExtFml("E.SetVar","Ys",Ys);
Fml("Trade Equity GVE Long");
I have replaced a your original post the Entry binary and exit binary with
my 4 indicator for the Long, Close Long, Sell and Close sell.
After i have copied and created others 2 your indicators without modifications.
But when i pull down "trade equity GVE" onto a chart it appears a white
box without equity and without error. They are the dll that does not works?
Still thanks for the aid.
------------------------ Yahoo! Groups Sponsor --------------------~-->
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|