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

Re: [EquisMetaStock Group] pivots



PureBytes Links

Trading Reference Links

is it impossible with formula language? Thanks

--- Fulvio <fulvio1977@xxxxxxxx> ha scritto:

> excuse me for my english. Please, from this formula, we can to build a formula that plots only
> last period's pivots and plots pivots with major timeframe? For example: If my chart is daily
> then metastocks plots last weekly pivots; else if my chart is weekly then metastocks plots last
> monthly pivots; and if my chart is monthly then metastocks plots last quaterly or last yearly
> pivots. Thanks, Fulvio
> 
> Dw:=If(DayOfWeek()<=Ref(DayOfWeek(),-1),1,0);
> {Weekly Typical Price}
> PP1:=If(Dw=1,
> {then}(Ref(HighestSince(1,Dw=1,H),-1)+
> Ref(LowestSince(1,Dw=1,L),-1) +
> Ref(C,-1))/3,
> {else}0);
> {Weekly High}
> Wh1:=If(Dw=1,
> {then}Ref(HighestSince(1,Dw=1,H),-1),
> {else}0);
> {Weekly Low}
> Wl1:=If(Dw=1,
> {then}Ref(LowestSince(1,Dw=1,L),-1),
> {else}0);
> Wh:=ValueWhen(1,Wh1>0,Wh1);
> Wl:=ValueWhen(1,Wl1>0,Wl1);
> PP:=ValueWhen(1,PP1>0,PP1);
> {Resistance 1}
> R1:=(2*PP)-Wl;
> {Support 1}
> S1:=(2*PP)-Wh;
> {Resistance 2}
> R2:=(PP-S1)+R1;
> {Support 2}
> S2:=PP-(R1-S1);
> {Resistance 3}
> R3:=PP+2*(R1-S1);
> {Support 3}
> S3:=PP-2*(R1-S1);
> R3;
> R2;
> R1;
> S1;
> S2;
> S3;
> 
> 
> 
> 
>       ___________________________________ 
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
> http://it.docs.yahoo.com/nowyoucan.html
> 
> [Non-text portions of this message have been removed]
> 
> 





	
		
___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html


 
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/