How do I add efs code ?
Announcement
Collapse
No announcement yet.
How do I make this EFS auto update ?
Collapse
X
-
Tags: None
-
-
Re: Re: How do I make CustomEnvelope auto update ?
Alexis
I have two CustomEnvelpes on my study.
(1) The one with a 3 MA Env with -1 Offset updated fine on
my 30 minute chart.
(2) But the second with a 10 MA Env -5 Offset does NOT update
on my 30 minute chart unless I use the "refresh"
(3) See chart below.
Originally posted by Alexis C. Montenegro
larrydudash
What do you mean with auto update?
AlexLast edited by larrydudash; 09-09-2009, 01:30 PM.
Comment
-
Re: Re: Re: How do I make CustomEnvelope auto update ?
larrydudash
Replace the following three lines of code
PHP Code:xUpEnv = offsetSeries(upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
xMidEnv = offsetSeries(middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
xLoEnv = offsetSeries(lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
PHP Code:xUpEnv = upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
xMidEnv = middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
xLoEnv = lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
PHP Code:return new Array (getSeries(xUpEnv), getSeries(xMidEnv), getSeries(xLoEnv));
PHP Code:return new Array (offsetSeries(xUpEnv,Offset), offsetSeries(xMidEnv,Offset), offsetSeries(xLoEnv,Offset));
Alex
Originally posted by larrydudash
Alexis
I have two CustomEnvelpes on my study.
(1) The one with a 3 MA Env with -1 Offset updated fine on
my 30 minute chart.
(2) But the second with a 10 MA Env -5 Offset does NOT update
on my 30 minute chart unless I use the "refresh"
(3) See chart below.
http://share.esignal.com/ContentRoot/HAL/SPX_30.png
Comment
-
Re: Re: Re: Re: How do I make CustomEnvelope auto update ?
Alexis
(1) I made the 2 changes, but will not know until after the market opens
(2) For your info....The neg Offsets are required for study of the
HURST Method. Many books have been written on HURST METHOD.
.
Originally posted by Alexis C. Montenegro
larrydudash
Replace the following three lines of code
PHP Code:xUpEnv = offsetSeries(upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
xMidEnv = offsetSeries(middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
xLoEnv = offsetSeries(lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
PHP Code:xUpEnv = upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
xMidEnv = middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
xLoEnv = lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
PHP Code:return new Array (getSeries(xUpEnv), getSeries(xMidEnv), getSeries(xLoEnv));
PHP Code:return new Array (offsetSeries(xUpEnv,Offset), offsetSeries(xMidEnv,Offset), offsetSeries(xLoEnv,Offset));
Alex
Comment
-
Re: Re: Re: Re: How do I make CustomEnvelope auto update ?
Alexis
It worked in real time
Thank you again.
Originally posted by Alexis C. Montenegro
larrydudash
Replace the following three lines of code
PHP Code:xUpEnv = offsetSeries(upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
xMidEnv = offsetSeries(middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
xLoEnv = offsetSeries(lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol))),Offset);
PHP Code:xUpEnv = upperEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
xMidEnv = middleEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
xLoEnv = lowerEnv(Length, eval(Type), Percent, eval(Source)(sym(vSymbol)));
PHP Code:return new Array (getSeries(xUpEnv), getSeries(xMidEnv), getSeries(xLoEnv));
PHP Code:return new Array (offsetSeries(xUpEnv,Offset), offsetSeries(xMidEnv,Offset), offsetSeries(xLoEnv,Offset));
Alex
Comment
Comment