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

[EquisMetaStock Group] Re: Further Exploration formula help wanted, Please



PureBytes Links

Trading Reference Links


Try this exploration/indicator MS code:

---8<----------
barsLookback:=3;
HHVperiods:=100;

Hi:=H>Ref(HHV(H,HHVperiods),-1);
HiValue:=ValueWhen(1,Hi,H);
condition:=H<HiValue AND BarsSince(Hi)<=barsLookback;

condition
---8<----------

jose '-)
http://www.metastocktools.com



--- In equismetastock@xxxxxxxxxxxxxxx, sachinsac31 <no_reply@xxxx> 
wrote:
> 
> 
> Hi Everyone,
> I have this exploration which I would like to modify but not to sure 
> how to go about it. I would greatly appreciate if someone could help 
> me.
> My present exploartion is 
> If(H>Ref(HHV(H,100),-1),1,0)
> 
> Acutally what i'm really looking for is after having created a new 
> high on the stock price from a period of 100 days i want to look for 
> the next three bars from this new high which does not exceed this 
> new high bar. 
> Therefore the exploration results will look for next three bars 
> which is lower from a new high of 100 days ago.
> 
> I hope my explanation and clear and greatly appreciate if someone 
> from this forum can give a me some assistance.
> 
> Thank you very much
> 
> Sachin





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

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