PureBytes Links
Trading Reference Links
|
Roy
Thanks for you adviser,
now the indicator is more quick then before.
-sAThya-
----- Original Message ----
From: Roy Larsen <rlarsen@xxxxxxxxxx>
To: equismetastock@xxxxxxxxxxxxxxx
Sent: Thursday, March 6, 2008 11:06:19 AM
Subject: Re: [EquisMetaStock Group] Expert Advisor
Hi Sathya
You could make life a little easier for yourself by removing the two PREVs from your formula. That would allow any chart with your intended expert attached to open more quickly. The PREV lines perform the function of an exponential moving average and can be replaced by Mov(). The reason for slight differences in the output when that is done is because the original is using values of 0.33 and 0.67 rather than approximately 0.3333 and 0.6667 used by a 5-period EMA.
{TransSignal}
pr:=(H+L)/2;
len:=10;
maxh:=HHV(pr, len);
minl:=LLV(pr, len);
val1:=Mov(2* ((pr-minl) /(maxh-minl) -.5),5,E) ;
value1:=If(val1> .99,.999, If(val1<- .99,-.999, val1));
fish:=Mov(Log( (1+value1) /(1-value1) ),3,E);
fish;
Ref(fish,-1) ;
Regards
Roy
----- Original Message -----
From: Sathya
To: equismetastock@ yahoogroups. com
Sent: Thursday, March 06, 2008 2:59 PM
Subject: [EquisMetaStock Group] Expert Advisor
Hi... preston n other senior too
how to make this below code indicator to set as Expert Advisor
{TransSignal}
pr:=(H+L)/2;
len:=10;
maxh:=HHV(pr, len);
minl:=LLV(pr, len);
val1:=.33*2* ((pr-minl) /(maxh-minl) -.5)+.67* PREV;
value1:=If(val1> .99,.999, If(val1<- .99,-.999, val1));
fish:=.5*Log( (1+value1) /(1-value1) )+.5*PREV;
fish;
Ref(fish,-1) ;
when one of the line crossing it should give a buy/sell signal
waiting soon.....
Thanks
sAThya
__________ NOD32 2925 (20080305) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset. com
[Non-text portions of this message have been removed]
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|