[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [EquisMetaStock Group] Re: Short side Trailing Stop



PureBytes Links

Trading Reference Links

I used all 3 lines in your address and got this answer

 

“Oops this page appears to be missing”

 

Can you email the file directly to me at lissen@xxxxxxxxxxxxx?

 

Lionel

 

 

From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx] On Behalf Of p_panther_73
Sent: Saturday, September 20, 2008 6:20 PM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] Re: Short side Trailing Stop

 

Ok, I've just uploaded a chart-file named bearish_stop.pdf

http://f1.grp.yahoofs.com/v1/cIDVSKconYmzaWLHTG0-
EYG9OnIXRMMijXH55Y4wBW0D93kxUVyPpxIAlHrSSnRUBzAKkYnCirh4HxEspo6lQac1yg
ftuX5689A/bearish_stop.pdf

Have a look :)

--- In equismetastock@xxxxxxxxxxxxxxx, "p_panther_73" <mchantzi@xxx>
wrote:
>
> I've tried the code myself and it works.
> As I've said before, you are never going to have stop<=prev the
very
> first day since prev for the very fist date will not be defined, so
> you'll have a zero! Thus, zero will remain all the way down! In the
> case of the bullish stop, things are different (and that explains
> you're not getting any error), you're not going to have this
problem
> since stop will ALWAYS be bigger than zero/not defined. If someone
> can show me how to upload files, I will show the version I've sent.
>
> Regards,
>
> mc
>
> P.S Oh and by the way, I don't like this 'guru'-ing calling.
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "Edmund Woltynski" <edwol@>
> wrote:
> >
> > MC
> >
> > Bearstop with your change still resolves to zero or false � in
> essence the
> > binary Stop<PREV seems to be the issue , the Bullstop & Bear stop
> only
> > differ in the orientation of the operators the seed information
is
> similar,
> > why the difference in outcome?
> >
> > Ed
> >
> > -----Original Message-----
> > From: equismetastock@xxxxxxxxxxxxxxx
> > [mailto:equismetastock@xxxxxxxxxxxxxxx]On Behalf Of p_panther_73
> > Sent: Saturday, 20 September 2008 11:13 PM
> > To: equismetastock@xxxxxxxxxxxxxxx
> > Subject: [EquisMetaStock Group] Re: Short side Trailing Stop
> >
> > When we write down 'stop>=prev' we are always going to receive a
> > 'true' since prev value of stop was not defined in the very past.
> > One way to solve this, is to write down:
> >
> > BearStop :=
> > If(Stop<PREV AND Stop> InitStop, InitStop,If(stop<PREV AND
> > stop<initstop,stop,
> > If(Stop>=PREV,If(DayOfMonth()=day AND Month()=mnth AND
> > Year()=yr,initstop,PREV),Stop*Holdingdays)));
> >
> > This way and if we set our date at the top of an up-trend we're
> going
> > to have a trailing until the trend reverses (although at this
point
> > our value will stay at its minimum).
> > Anyway, hope this helps,
> >
> > Regards,
> >
> > mc
> >
> > --- In equismetastock@xxxxxxxxxxxxxxx
> > <mailto:equismetastock%40yahoogroups.com> , "Edmund Woltynski"
> <edwol@>
> > wrote:
> > >
> > > Preston
> > >
> > > The negative is taken care of in the Bearish _expression_
&#65533;
> two
> > negative is a
> > > positive places it above the High.
> > >
> > > Bull stop indicator is simply the following and ratchets up
> correctly:
> > >
> > > InitStop:=Input("Initial Stop",0,100000,0.50);
> > >
> > > Index := 100-(100/(1+( PDI(21)/ MDI(21)+0.0001)));
> > > OB:= Index-70;
> > >
> > > Bullish:= CLOSE-(CLOSE*(OB/100));
> > > Stop:= If(Bullish>=CLOSE,LOW -(Bullish-CLOSE),LOW);
> > >
> > > BullStop :=
> > > If(Stop>PREV AND Stop>InitStop,Stop,
> > > If(Stop>PREV AND Stop<InitStop,InitStop,
> > > If(Stop<=PREV,PREV,Stop*Holdingdays)));
> > >
> > > BullStop;
> > >
> > >
> > > Ed
> > >
> > > -----Original Message-----
> > > From: equismetastock@xxxxxxxxxxxxxxx
> > <mailto:equismetastock%40yahoogroups.com>
> > > [mailto: equismetastock@xxxxxxxxxxxxxxx
> > <mailto:equismetastock%40yahoogroups.com> ]On Behalf Of pumrysh
> > > Sent: Saturday, 20 September 2008 9:37 AM
> > > To: equismetastock@xxxxxxxxxxxxxxx
> > <mailto:equismetastock%40yahoogroups.com>
> > > Subject: [EquisMetaStock Group] Re: Short side Trailing Stop
> > >
> > > Ed,
> > >
> > > I actually like your thought process and would love to see the
> > > bullish version. It might also help me to see the error.
> > >
> > > About the OS. If you take a value of 30 and subtract the index
> from
> > > it you will end up with a number that is less that zero most of
> the
> > > time. This my be part of the problem.
> > >
> > > We'll get it figured out.
> > >
> > > Preston
> > >
> > > --- In equismetastock@xxxxxxxxxxxxxxx
> > <mailto:equismetastock%40yahoogroups.com>
> > > <mailto:equismetastock%40yahoogroups.com> , "Edmund Woltynski"
> <edwol@>
> > > wrote:
> > > >
> > > > Preston
> > > >
> > > > This is just an indicator not a system to be displayed on a
> chart.
> > > So
> > > > trading rules are a separate issue and relate to how you wish
to
> > > use any
> > > > trailing stop.
> > > > The indicator applied to bar that say at the start of a down
> trend
> > > > historically (eg input date) should show get eventually
closer
> to
> > > the top of
> > > > the bar depending on the value of the _expression_ above ie
stop.
> > > >
> > > > Everything works correctly except for the BearStop
_expression_.
> For
> > > example
> > > > Plotting a binary say "Stop<PREV AND Stop< InitStop,Stop" in
a
> down
> > > trend
> > > > always gives a value of zero and yet "Stop" is non-zero and
also
> > > > diminishing. For some reason these Boolean expressions seem
to
> not
> > > evaluate
> > > > remaining zero at all times regardless of Stop & InitStop
> values.
> > > >
> > > > The converse indicator i.e. reverse the operators (eg
Stop<PREV
> AND
> > > Stop<
> > > > InitStop,Stop to Stop>PREV AND Stop> InitStop,Stop etc and
> replace
> > > HIGH with
> > > > LOW throughout the indicator and change OS) works correctly
on
> the
> > > long
> > > > side, the trailing stop moves in steps upwards until it hugs
the
> > > LOWs.
> > > >
> > > > It seems to me that there is something peculiar in the way
PREV
> > > works.
> > > >
> > > > Ed
> > > >
> > > > -----Original Message-----
> > > > From: equismetastock@xxxxxxxxxxxxxxx
> > <mailto:equismetastock%40yahoogroups.com>
> > > <mailto:equismetastock%40yahoogroups.com>
> > > > [mailto: equismetastock@xxxxxxxxxxxxxxx
> > <mailto:equismetastock%40yahoogroups.com>
> > > <mailto:equismetastock%40yahoogroups.com> ]On Behalf Of pumrysh
> > > > Sent: Friday, 19 September 2008 4:28 AM
> > > > To: equismetastock@xxxxxxxxxxxxxxx
> > <mailto:equismetastock%40yahoogroups.com>
> > > <mailto:equismetastock%40yahoogroups.com>
> > > > Subject: [EquisMetaStock Group] Re: Short side Trailing Stop
> > > >
> > > > Ed,
> > > >
> > > > I see several problems. It may take a bit before I can get it
> > > > resolved.
> > > >
> > > > In the meantime can you give me the trading rules you wish to
> > > follow?
> > > >
> > > > Preston
> > > >
> > > > --- In equismetastock@xxxxxxxxxxxxxxx
> > <mailto:equismetastock%40yahoogroups.com>
> > > <mailto:equismetastock%40yahoogroups.com>
> > > > <mailto:equismetastock%40yahoogroups.com> , "Edmund Woltynski"
> > > <edwol@>
> > > > wrote:
> > > > >
> > > > > Hello Preston and other gurus
> > > > >
> > > > > I am having some issues with the PREV function (I think) in
> > > > developing a
> > > > > trailing stop ratchet (short side). The "BearStop" function
> gives
> > > > me a zero
> > > > > for all cases everything else above checkout as I expect it
> to. I
> > > > cannot see
> > > > > the flaw in my logic. Any help would be appreciated.
> > > > >
> > > > > Code:
> > > > > Day:=Input("Day Entered Trade",1,31,19);
> > > > > Mnth:=Input("Month Entered Trade",1,12,4);
> > > > > Yr:=Input("Year Entered Trade",1985,2100,2004);
> > > > > HoldingDays:=BarsSince(Day=DayOfMonth() AND Mnth=Month() AND
> > > Yr=Year
> > > > ());
> > > > >
> > > > > InitStop:=Input("Initial Stop",0,100000,1.52);
> > > > >
> > > > > Index := 100-(100/(1+( PDI(21)/ MDI(21)+0.0001)));
> > > > > OS:=30-Index;
> > > > >
> > > > > Bearish:= CLOSE-(CLOSE*(OS/100));
> > > > > Stop:= If(Bearish>=CLOSE,HIGH +(Bearish-CLOSE),HIGH);
> > > > >
> > > > > BearStop :=
> > > > > If(Stop<PREV AND Stop< InitStop,Stop,
> > > > > If(Stop<PREV AND Stop> InitStop, InitStop,
> > > > > If(Stop>=PREV,PREV,Stop*Holdingdays)));
> > > > >
> > > > > {Plot} Bearstop;
> > > > >
> > > > > Kind Regards,
> > > > > Ed
> > > > > .
> > > > >
> > > >
> > >
> >
>

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___