PureBytes Links
Trading Reference Links
|
How and where in the formula would you insert the actual pivot point?
(not just R1, R2, S1, and S2).
Thank you.
Claud
Wiro Hardy wrote:
>This is a code to draw WEEKLY pivot point on daily chart, hope this helps.
>
>Weekly Pivot Point Projection 8/4/99}
>
>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);
>R2;
>R1;
>S1;
>S2;
>
>Wiro.
>
>On 9/3/07, pumrysh <no_reply@xxxxxxxxxxxxxxx> wrote:
>
>
>> Francesc,
>>
>>Lets see if you can get this one on your own.
>>
>>The key is in the definition of the starting point or M variable.
>>m:=Month()<>Ref(Month(),-1);
>>You should be able to change this definition and get what you want.
>>I believe the problem you will encounter is that you will need to do
>>this by counting days since there is week() indicator. Five days
>>equal one week. Roy and Jose have both developed indicators based
>>around this idea. Check their sites(MSTT and Metastocktools) for
>>some ideas.
>>
>>Preston
>>
>>
>>--- In equismetastock@xxxxxxxxxxxxxxx <equismetastock%40yahoogroups.com>,
>>francesc pascal <frapas1@xxx>
>>wrote:
>>
>>
>>>hello
>>>to put the codes for the supports and resitencias for the week
>>>thanks
>>>
>>>Francesc
>>>Barcelona
>>>Spain
>>>
>>>
>>>-----Mensaje original-----
>>>De: equismetastock@xxxxxxxxxxxxxxx <equismetastock%40yahoogroups.com>
>>>
>>>
>>[mailto:equismetastock@xxxxxxxxxxxxxxx <equismetastock%40yahoogroups.com>]
>>En nombre de pumrysh
>>
>>
>>>Enviado el: domingo, 02 de septiembre de 2007 18:48
>>>Para: equismetastock@xxxxxxxxxxxxxxx <equismetastock%40yahoogroups.com>
>>>Asunto: [EquisMetaStock Group] Re: Pivot Point Exploration
>>>
>>>Wiro,
>>>
>>>Thanks! Hope a lot of people will take a look at this. If you are
>>>
>>>
>>an
>>
>>
>>>options trader this is an excellent tool to put into your arsenal!
>>>
>>>I would make one small addition to your formula.
>>>I would change the last line to r3;r2;r1;pivot;s1;s2;s3;
>>>This gives you a chance to closely follow the pivot level
>>>
>>>
>>throughout
>>
>>
>>>the month. I monitored the pivot level on a consolidating chart
>>>
>>>
>>and
>>
>>
>>>watching the breakout was like watching an explosion.
>>>
>>>Once again thanks,
>>>
>>>Preston
>>>
>>>--- In equismetastock@xxxxxxxxxxxxxxx <equismetastock%40yahoogroups.com>,
>>>
>>>
>>"Wiro Hardy"
>>
>>
>>><wiro.pribadi@> wrote:
>>>
>>>
>>>>Preston,
>>>>Many thanks for your email.
>>>>
>>>>Oddly enough, after I leave it no hope few weeks ago, today with
>>>>
>>>>
>>a
>>
>>
>>>little
>>>
>>>
>>>>tweak, its work :)
>>>>
>>>>In case somebody in this mailing list may need it, this is a
>>>>
>>>>
>>>indicator code
>>>
>>>
>>>>for S1, S2, S2, R1, R2 and R3:
>>>>
>>>>{ Month' start }
>>>>m:=Month()<>Ref(Month(),-1);
>>>>
>>>>{ Month's OHLC }
>>>>{Om:=ValueWhen(2,m,O);}
>>>>Hm:=ValueWhen(1,m,HighestSince(2,m,H));
>>>>Hm:=ValueWhen(1,Hm>0,Hm);
>>>>Lm:=ValueWhen(1,m,LowestSince(2,m,L));
>>>>Lm:=ValueWhen(1,Lm>0,Lm);
>>>>Cm:=ValueWhen(1,m,Ref(C,-1));
>>>>Pivot:= (Hm+Lm+Cm)/3;
>>>>{ Pivot levels }
>>>>r3:=Hm+2*(Pivot - Lm);
>>>>r2:=Pivot+Hm-Lm;
>>>>r1:=Pivot*2-Lm;
>>>>s1:=Pivot*2-Hm;
>>>>s2:=Pivot-Hm+Lm;
>>>>s3:=Lm-2*(Hm - Pivot);
>>>>
>>>>{ Plot on daily chart }
>>>>r3;r2;r1;s1;s2;s3;
>>>>
>>>>For is the exploration code:
>>>>ColA: S1/C
>>>>m:=Month()<>Ref(Month(),-1);
>>>>
>>>>{ Month's OHLC }
>>>>{Om:=ValueWhen(2,m,O);}
>>>>Hm:=ValueWhen(1,m,HighestSince(2,m,H));
>>>>Hm:=ValueWhen(1,Hm>0,Hm);
>>>>Lm:=ValueWhen(1,m,LowestSince(2,m,L));
>>>>Lm:=ValueWhen(1,Lm>0,Lm);
>>>>Cm:=ValueWhen(1,m,Ref(C,-1));
>>>>Pivot:= (Hm+Lm+Cm)/3;
>>>>{ Pivot levels }
>>>>r3:=Hm+2*(Pivot - Lm);
>>>>r2:=Pivot+Hm-Lm;
>>>>r1:=Pivot*2-Lm;
>>>>s1:=Pivot*2-Hm;
>>>>s2:=Pivot-Hm+Lm;
>>>>s3:=Lm-2*(Hm - Pivot);
>>>>
>>>>s1/C
>>>>
>>>>ColB: S2/C
>>>>{ Month' start }
>>>>m:=Month()<>Ref(Month(),-1);
>>>>
>>>>{ Month's OHLC }
>>>>{Om:=ValueWhen(2,m,O);}
>>>>Hm:=ValueWhen(1,m,HighestSince(2,m,H));
>>>>Hm:=ValueWhen(1,Hm>0,Hm);
>>>>Lm:=ValueWhen(1,m,LowestSince(2,m,L));
>>>>Lm:=ValueWhen(1,Lm>0,Lm);
>>>>Cm:=ValueWhen(1,m,Ref(C,-1));
>>>>Pivot:= (Hm+Lm+Cm)/3;
>>>>{ Pivot levels }
>>>>r3:=Hm+2*(Pivot - Lm);
>>>>r2:=Pivot+Hm-Lm;
>>>>r1:=Pivot*2-Lm;
>>>>s1:=Pivot*2-Hm;
>>>>s2:=Pivot-Hm+Lm;
>>>>s3:=Lm-2*(Hm - Pivot);
>>>>
>>>>s2/C
>>>>
>>>>We can sort coloum A and B to see which securities is near or at
>>>>
>>>>
>>>S1 and S2.
>>>
>>>
>>>>My questions:
>>>>1. How to filter results that shown "N/A" ?
>>>>2. Shouldn't available a better way to code the exploration
>>>>
>>>>
>>since
>>
>>
>>>we can see
>>>
>>>
>>>>the code is very repetitive
>>>>
>>>>Thanks again,
>>>>Wiro.
>>>>
>>>>
>>>>
>>>>On 9/2/07, pumrysh <no_reply@xxxxxxxxxxxxxxx<no_reply%40yahoogroups.com>>
>>>>
>>>>
>>wrote:
>>
>>
>>>>>Wiro,
>>>>>
>>>>>I would think that your problem would be in how you define
>>>>>
>>>>>
>>close
>>
>>
>>>or
>>>
>>>
>>>>>near so you will need to tell us what you were using for that.
>>>>>
>>>>>Preston
>>>>>
>>>>>
>>>>>
>>>>>
>>>>[Non-text portions of this message have been removed]
>>>>
>>>>
>>>>
>>>Messages in this topic (0) Reply (via web post) | Start a new
>>>
>>>
>>topic
>>
>>
>>>Messages | Files | Photos | Database | Polls
>>>
>>>Change settings via the Web (Yahoo! ID required)
>>>Change settings via email: Switch delivery to Daily Digest |
>>>
>>>
>>Switch format to Traditional
>>
>>
>>>Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
>>>Recent Activity
>>>· 16
>>>New Members
>>>· 1
>>>New Links
>>>· 4
>>>New Files
>>>Visit Your Group
>>>Yahoo! News
>>>Sexual Health
>>>Get important
>>>sex health news
>>>Yahoo! Finance
>>>It's Now Personal
>>>Guides, news,
>>>advice & more.
>>>
>>>
>>>
>>>
>>>
>>>
>>__________________________________________________________
>>_______________
>>
>>
>>>Sé un Mejor Amante del Cine
>>>¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
>>>http://advision.webevents.yahoo.com/reto/entretenimiento.html
>>>
>>>[Non-text portions of this message have been removed]
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
>
>
[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/
|