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

[EquisMetaStock Group] Re: new indicator needed...help



PureBytes Links

Trading Reference Links

Separately on the chart...goes on the price plot.

Preston



--- In equismetastock@xxxxxxxxxxxxxxx, "SUNIL gupta" 
<sunilgupta72@xxx> wrote:
>
> Preston,
> 
> Where do i put this formula?..In expert advisor or seperatekly?
> 
> Sunil
> 
> 
> On 6/5/07, pumrysh <no_reply@xxxxxxxxxxxxxxx> wrote:
> >
> >   Sunil,
> >
> > You have been a good student!
> >
> > Here is a stop to place on the chart:
> >
> > {Sunil Stop}
> > X:=LLV(L,25){exit signal};
> > x;
> >
> > I'll put together a commentary and place it in the files section
> > shortly. It will require that all indicators are in the indicator
> > list and labeled just as they have been in the text.
> >
> > Preston
> >
> >
> > --- In equismetastock@xxxxxxxxxxxxxxx <equismetastock%
40yahoogroups.com>,
> > "SUNIL gupta"
> > <sunilgupta72@> wrote:
> > >
> > > Dear Preston,
> > >
> > > Outstanding...the thing works perfectly fine. I changed the 
file
> > name to
> > > forumdll.Latch and it works. Now just a little improvement is
> > needed and
> > > that is supposing after a buy signal is generated ..is there 
any
> > way we can
> > > find out what will be stop loss rate for next day. Maybe we can
> > draw a
> > > trailing line or maybe it can show in commnetary box that stop 
for
> > tomorrow
> > > is such and such rate. I understand the rate will change with 
each
> > passing
> > > day.
> > >
> > > To know the stop loss will help us . Let me explain with 
example:-
> > >
> > > Supposing I buy Share of COmpany XYZ at RS 100 after the buy
> > signal is
> > > generated. After three months share price touches 300. Now next
> > day I want
> > > to put a stop loss order as i think the share price can tank. 
So
> > how will i
> > > know what is the 25 days lowest which will be its stop loss 
level.
> > WE can do
> > > two things..either there should be a line like in moving 
averages
> > that will
> > > continously tell us about stop loss level or we can put that 
value
> > in
> > > commnetary box.
> > >
> > > Let me know what you think. And once again Preston thanks for 
your
> > immense
> > > help.
> > >
> > > Sunil gupta
> > >
> > >
> > > On 6/4/07, pumrysh <no_reply@xxxxxxxxxxxxxxx<no_reply%
40yahoogroups.com>>
> > wrote:
> > > >
> > > > Sunil,
> > > >
> > > > Not a big problem.
> > > >
> > > > One of two problems and there are several ways to fix it. 
There
> > were
> > > > two DLL files in the folder, one that Roy had uploaded and 
one
> > that
> > > > I uploaded. Either you uploaded the wrong one or I wrote the
> > > > indicators based on the wrong one.
> > > >
> > > > Here are the two DLL calls:
> > > >
> > > > ExtFml( "Forum.Latch", LE, LX, SE, SX)
> > > > ExtFml( "ForumDLL.Latch", LE, LX, SE, SX)
> > > >
> > > > Notice that the only difference are the words "Forum.Latch"
> > > > and "ForumDLL.Latch"
> > > >
> > > > You can either upload the other DLL or change the formulas 
to:
> > > >
> > > > Tr:=ExtFml("ForumDLL.Latch",N,X,0,0);
> > > > Ex:=ExtFml("ForumDLL.Latch",X,N,0,0);
> > > >
> > > > This should fix the problem. If not let me know.
> > > >
> > > > Preston
> > > >
> > > > --- In equismetastock@xxxxxxxxxxxxxxx<equismetastock%
40yahoogroups.com><equismetastock%
> > 40yahoogroups.com>,
> > > > "SUNIL gupta"
> > > > <sunilgupta72@> wrote:
> > > > >
> > > > > Preston,
> > > > >
> > > > > I am having problems installing it. It gives message This 
DLL
> > does
> > > > not Exist
> > > > > in MSX DLL folder (forum.latch)
> > > > >
> > > > > Sunil
> > > > >
> > > > >
> > > > > On 6/4/07, pumrysh <no_reply@xxxxxxxxxxxxxxx<no_reply%
40yahoogroups.com>
> > <no_reply%
> > 40yahoogroups.com>>
> > > > wrote:
> > > > > >
> > > > > > Sunil,
> > > > > >
> > > > > > Outstanding! The fact that it shows in the builder means
> > that it
> > > > > > should be working.
> > > > > >
> > > > > > The expert is in the files section under Sunil Turtle.
> > > > > >
> > > > > > Let me explain why I chose to use a DLL. Typically in
> > Metastock
> > > > we
> > > > > > are limited in our ability to choose a value based on
> > anything
> > > > other
> > > > > > than a constant. We can assign or select a value but if 
the
> > > > value is
> > > > > > to change from one bar to the next we cannot do that. An
> > example
> > > > > > would be a moving average that uses variable lookback
> > periods.
> > > > Say
> > > > > > that instead of a 10 day MA, we instead wanted a RSI(14)
day
> > MA.
> > > > > > Meaning the value of the lookback might be 10 today 
because
> > the
> > > > RSI
> > > > > > (14) is 10 but tomorrow if the RSI(14) is 20 then our MA
> > lookback
> > > > > > would also be 20. This can only be done by using a DLL 
or in
> > some
> > > > > > cases with a prev value which is so slow that our
> > calculations
> > > > would
> > > > > > be extremely slow.
> > > > > >
> > > > > > The expert that I have written will give you a signal
> > indicator
> > > > for
> > > > > > your chart, as well trend, highlight, and buy/sell 
symbols
> > for
> > > > the
> > > > > > expert. It uses the forum latch indicator. Trends(Tr) 
give a
> > > > > > constant signal while bar signals(Nbar,Xbar) give a 
single
> > event
> > > > > > signal.
> > > > > >
> > > > > > Give this a test run and let me know what you think.
> > > > > >
> > > > > > Preston
> > > > > >
> > > > > >
> > > > > > --- In equismetastock@xxxxxxxxxxxxxxx<equismetastock%
40yahoogroups.com>
> > <equismetastock%
> > 40yahoogroups.com><equismetastock%
> > > > 40yahoogroups.com>,
> > > > > > "SUNIL gupta"
> > > > > > <sunilgupta72@> wrote:
> > > > > > >
> > > > > > > I have DLL installed and it shows In my indicator 
builder
> > > > > > >
> > > > > > > Sunil
> > > > > > >
> > > > > > >
> > > > > > > On 6/2/07, pumrysh <no_reply@xxxxxxxxxxxxxxx<no_reply%
40yahoogroups.com>
> > <no_reply%
> > 40yahoogroups.com>
> > > > <no_reply%
> > > > 40yahoogroups.com>>
> > > > > > wrote:
> > > > > > > >
> > > > > > > > Sunil,
> > > > > > > >
> > > > > > > > I'm actually waiting on you. You are going to need to
> > have
> > > > the
> > > > > > DLL
> > > > > > > > uploaded and working.
> > > > > > > >
> > > > > > > > Preston
> > > > > > > >
> > > > > > > > --- In equismetastock@xxxxxxxxxxxxxxx<equismetastock%
40yahoogroups.com>
> > <equismetastock%
> > 40yahoogroups.com>
> > > > <equismetastock%
> > > > 40yahoogroups.com><equismetastock%
> > > > > > 40yahoogroups.com>,
> > > > > > > > "SUNIL gupta"
> > > > > > > > <sunilgupta72@> wrote:
> > > > > > > > >
> > > > > > > > > PReston,
> > > > > > > > >
> > > > > > > > > Thanks for the help. After reading that manual i 
think
> > > > after
> > > > > > some
> > > > > > > > practice i
> > > > > > > > > will be able to make quite a lot of formula.
> > > > > > > > > AND how are we moving with the advisor?...I just 
cant
> > > > express
> > > > > > in
> > > > > > > > words the
> > > > > > > > > help you have been and knowledge that i am getting 
from
> > > > reading
> > > > > > > > various
> > > > > > > > > mails and manuals here.
> > > > > > > > >
> > > > > > > > > Thanks
> > > > > > > > >
> > > > > > > > > Sunil
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 6/2/07, pumrysh 
<no_reply@xxxxxxxxxxxxxxx<no_reply%40yahoogroups.com>
> > <no_reply%
> > 40yahoogroups.com>
> > > > <no_reply%
> > > > 40yahoogroups.com>
> > > > > > <no_reply%
> > > > > > 40yahoogroups.com>>
> > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > Sunil,
> > > > > > > > > >
> > > > > > > > > > We're getting very close now. Need to do a few 
more
> > > > things
> > > > > > though
> > > > > > > > > > before we go any further.
> > > > > > > > > >
> > > > > > > > > > First, I want you to go to the files section and
> > retrieve
> > > > > > several
> > > > > > > > > > things.
> > > > > > > > > >
> > > > > > > > > > 1. Using Latches in MS doc by Roy Larsen
> > > > > > > > > > 2. Equis Forum DLL...this will be inside the 
folder
> > and
> > > > is
> > > > > > the one
> > > > > > > > > > that Roy placed there. While you are there get 
the
> > DLL
> > > > users
> > > > > > > > manual.
> > > > > > > > > >
> > > > > > > > > > Then I want you to study them a bit so that you
> > > > understand
> > > > > > how
> > > > > > > > they
> > > > > > > > > > work.
> > > > > > > > > >
> > > > > > > > > > The Metastock community is truly fortunate to 
have a
> > > > gift in
> > > > > > the
> > > > > > > > > > talents of Roy and learning about latches and 
dll's
> > will
> > > > > > take you
> > > > > > > > to
> > > > > > > > > > another level of capabilities. Roy invented 
latches
> > to
> > > > > > accomplish
> > > > > > > > > > exactly what you are trying to do. Study these
> > documents!
> > > > > > They are
> > > > > > > > > > going to be extremely useful.
> > > > > > > > > >
> > > > > > > > > > I'll have an expert for you in just a day or so. 
In
> > the
> > > > > > meantime
> > > > > > > > do
> > > > > > > > > > your homework.
> > > > > > > > > >
> > > > > > > > > > Preston
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Sunil Gupta
> > > > > > >
> > > > > > >
> > > > > > > [Non-text portions of this message have been removed]
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Sunil Gupta
> > > > >
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Sunil Gupta
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> Sunil Gupta
> 
> 
> [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/