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

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



PureBytes Links

Trading Reference Links

Tony,

Good to hear that you got it worked out.

Preston



--- In equismetastock@xxxxxxxxxxxxxxx, aserr_98 <no_reply@xxx> wrote:
>
> 
> Thanks Preston
> I find already a way thanks, even I have to make diferente 
> indicatores, one for 20%, another for 15% etc.. so the formula 
only 
> use the defaults, but that's ok. I'm using like that on the expert 
> 
>  FmlVar("Hi drop / Lo rise Long signals v1.0","SIGNAL") AND Sum(C> 
Ref
> (C,-1),2)=2 AND C< Ref(C, -4)
> Thanks again
> Tony
> 
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@> wrote:
> >
> > aserr,
> > 
> > Chnage the user inputs:
> > 
> > { User inputs }
> > per1:=10/100;
> > per2:=5/100;
> > pds:=50;
> > plot:=1;
> > 
> > That should do it. The expert cannot accept user inputs so they 
> must 
> > be set.
> > 
> > Preston
> > 
> > 
> > 
> > 
> > --- In equismetastock@xxxxxxxxxxxxxxx, aserr_98 <no_reply@> 
wrote:
> > >
> > > Hi Jose
> > > I can't use the code on the expert symbol.
> > > Can you please convert the code in order to use on expert 
symbol, 
> > I  
> > > want use together with another indicators like Price volume 
trend 
> > > (add condictions )My condictions for PVT:  today > yesterday, 
> > > yesterday> before yesterday, and today < then 4 days ago).
> > >  Parameters for  High drop: more then 20% drop from HHV  - 
when 
> 5% 
> > > rise from LLV -   periodos 100.
> > > 
> > > Thanks for the help
> > > 
> > > Tony
> > > --- In equismetastock@xxxxxxxxxxxxxxx, "Jose Silva" 
> <josesilva22@> 
> > > wrote:
> > > >
> > > > 
> > > > Good idea, Kevin.  ATR-based volatility (instead of fixed % 
> > moves) 
> > > > makes sense to me.
> > > > 
> > > > If I get a chance, I'll take a look at putting some code 
> > together.
> > > > 
> > > > 
> > > > jose '-)
> > > > http://www.metastocktools.com
> > > > 
> > > > 
> > > > 
> > > > --- In equismetastock@xxxxxxxxxxxxxxx, Kevin Barry 
> > <kevin_barry@> 
> > > > wrote:
> > > > >
> > > > > 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
> > > > >
> > > > >
> > > > >
> > > > >--- In equismetastock@xxxxxxxxxxxxxxx, "Khalid Masood"
> > > > > <dr_khalidmasood@> 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 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 }
> > > > >
> > > > > { 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
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --- In 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
> > > >
> > >
> >
>







 
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/