PureBytes Links
Trading Reference Links
|
Thanks Pumrysh
now i got may expert advisor with plot -1 and 1 in condition column.
Rgds
sAThya
----- Original Message ----
From: pumrysh <no_reply@xxxxxxxxxxxxxxx>
To: equismetastock@xxxxxxxxxxxxxxx
Sent: Thursday, March 6, 2008 10:37:57 AM
Subject: [EquisMetaStock Group] Re: Expert Advisor
Sathya,
>From the Help files:
SYNTAX cross( DATA ARRAY 1, DATA ARRAY 2 )
FUNCTION Plots a "+1" on the day that DATA ARRAY 1 crosses
above DATA ARRAY 2. Otherwise, "0" is plotted.
If you want to know when DATA ARRAY 1 crosses below DATA ARRAY 2, use
the formula "cross( DATA ARRAY 2, DATA ARRAY 1)"
EXAMPLE cross( close, mov(close,9, e) )
In your indicator there are two outputs that plot...> fish and
Ref(fish,-1) .
So you will need to write a cross function as
cross(fish,Ref( fish,-1))
Hope this helps,
Preston
--- In equismetastock@ yahoogroups. com, "Sathya" <prassathya@ ...>
wrote:
>
> 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
>
____________________________________________________________________________________
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/
|