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

Re: [EquisMetaStock Group] Re: Need Help with coding , Excellent Coding



PureBytes Links

Trading Reference Links

Hello Jose,

What about using a measure of volatility for the parameters as (I assume) 
we are looking for a percentage rise/fall outside of the 'normal' trading 
range rather than an absolute percentage.

Regards,
Kevin

At 06:43 15/09/2006 +0000, you wrote:

>Thanks Khalid, Mark, aserr_98, for your kind feedback. :)
>
>The "Hi drop / Lo rise.." indicator shows some interesting signals on
>some charts, picking some very nice bottoms.
>
>The trick would be in adjusting the rise/fall percentages to match
>each chart, without curve-fitting. There is a yet-to-be-coded self-
>adjusting methodology waiting for this potentially profitable
>strategy. ;)
>
>jose '-)
><http://www.metastocktools.com>http://www.metastocktools.com
>
>--- In 
><mailto:equismetastock%40yahoogroups.com>equismetastock@xxxxxxxxxxxxxxx, 
>"Khalid
>Masood" <dr_khalidmasood@xxx> wrote:
> >
> > Hi Jose,
> >
> > In response to aserr_98 query, you have done an excellent coding.
> > Keep it up. I needed it also.
> >
> > Thanks
> >
> > Regards
> > Khalid.
> >
> >
> > --- In 
> <mailto:equismetastock%40yahoogroups.com>equismetastock@xxxxxxxxxxxxxxx, 
> "Jose Silva" <josesilva22@>
> > wrote:
> >
> > The 25% drop in 50 days example is probably unrealistic - let's
> > begin with 10% as a default.
> >
> > Try something along the lines of this basic indicator:
> >
> >
> > ==============================
> > Hi drop / Lo rise Long signals
> > ==============================
> > ---8<--------------------------------
> >
> > { Hi drop / Lo rise Long signals v1.0
> > <http://www.metastocktools.com>http://www.metastocktools.com }
> >
> > { User inputs }
> > per1:=Input("% drop from HHV",0,100,10)/100;
> > per2:=Input("% rise from LLV",.0001,100,5)/100;
> > pds:=Input("HHV/LLV lookback periods",1,252,50);
> > plot:=Input("plot: [1]Entry Signals, [2]Chart Levels",1,2,1);
> >
> > { Hi/Lo thresholds }
> > hiDrop:=Ref(HHV(H,pds)*(1-per1),-1);
> > loRise:=Ref(LLV(L,pds)*(1+per2),-1);
> >
> > { Setup }
> > setup:=C<hiDrop;
> >
> > { Signal }
> > signal:=setup AND Cross(C,loRise);
> >
> > { Plot signals in own window, levels on chart }
> > If(plot=1,0,hiDrop);
> > If(plot=1,signal,loRise)
> >
> > ---8<--------------------------------
> >
> >
> > jose '-)
> > <http://www.metastocktools.com>http://www.metastocktools.com
> >
> >
> >
> >
> > --- In 
> <mailto:equismetastock%40yahoogroups.com>equismetastock@xxxxxxxxxxxxxxx, 
> aserr_98 <no_reply@> wrote:
> >
> > Hi Jose,
> > Let's suppose the higher high or close on the last 50 days,and
> > then the stock came down 25% from the high, and start climb again
> > and reaches 5% from the last low. I'm trying buy stocks which
> > fall at least 25% and starting go up again, at least i'm buying 25%
> > cheaper then before. (stock reach $100 a share, then fall to $75 or
> > less and then go up again to $80, my signal to buy).
> >
> > Thanks
> >
> >
> >
> > --- In 
> <mailto:equismetastock%40yahoogroups.com>equismetastock@xxxxxxxxxxxxxxx, 
> "Jose Silva" <josesilva22@>
> > wrote:
> >
> > How would you define your "high" and "low"?
> >
> >
> > jose '-)
> > <http://www.metastocktools.com>http://www.metastocktools.com
> >
> >
> >
> > --- In 
> <mailto:equismetastock%40yahoogroups.com>equismetastock@xxxxxxxxxxxxxxx, 
> aserr_98 <no_reply@>
> > wrote:
> >
> > Hi
> > I'm trying to create a signal when the low is at leat 25% down
> > from the last high and the last close is at least 5% up from
> > last low.
> >
> > I know this for the gurus is piece a cake, but for me is not so
> > easy.
> >
> > Any help will be appreciated
> > Thanks
>
>


[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/