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

Re: [amibroker] piviot points on graph - programming guru help



PureBytes Links

Trading Reference Links




Hi MR,
 
Are these the kind of pivot points you are talking about? If so, just cut 
and paste into indicator builder.
 
Greg
 
// Pivot , Support, Resistance  //
 
P = <FONT 
size=1>(H + L + C)/<FONT color=#ff00ff 
size=1>3 <FONT 
size=1>; <FONT face="Courier New" 
color=#008000 size=1>// Pivot point 

R1 = 2*P - 
L <FONT 
size=1>; <FONT face="Courier New" 
color=#008000 size=1>// resistance 1
S1 = 2*P - 
H <FONT 
size=1>; <FONT face="Courier New" 
color=#008000 size=1>// Support 1
R2 = (P -S1) + R1 ; <FONT 
face="Courier New" color=#008000 size=1>// Resistance 2<FONT 
color=#008000 size=1> 
S2 = P - (R1- S1) ; <FONT 
face="Courier New" color=#008000 size=1>// Support 2<FONT 
size=1>
Plot(R2,<FONT color=#ff00ff 
size=1>"R2",4<FONT 
size=1>,styleSwingDots+styleStaircase);<FONT 
color=#0000ff size=1>
Plot(R1,<FONT color=#ff00ff 
size=1>"R1",4<FONT 
size=1>,styleSwingDots+styleStaircase);<FONT 
color=#0000ff size=1>
Plot(p,<FONT color=#ff00ff 
size=1>"Pivot",<FONT color=#ff00ff 
size=1>3<FONT 
size=1>,styleSwingDots+styleStaircase);<FONT 
color=#0000ff size=1>
Plot(S1,<FONT color=#ff00ff 
size=1>"S1",5<FONT 
size=1>,styleSwingDots+styleStaircase);<FONT 
color=#0000ff size=1>
Plot(S2,<FONT color=#ff00ff 
size=1>"S2",5<FONT 
size=1>,styleSwingDots+styleStaircase);<FONT 
color=#0000ff size=1>
Plot(C,<FONT color=#ff00ff 
size=1>"Close",<FONT color=#ff00ff 
size=1>1,64<FONT 
size=1>);
<FONT 
size=3>                                  
 
 
 
 
----- Original Message ----- 
<BLOCKQUOTE 
>
  <DIV 
  >From: 
  mroman59 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Thursday, December 18, 2003 11:05 
  PM
  Subject: [amibroker] piviot points on 
  graph - programming guru help
  hello everyone,has anyone thought of or tried to 
  use the standard formula for pivot point calculations for stocks and then 
  take these values to create a graph, like the built in or custom 
  indicators so one could look at these values at eod or intraday, in 
  Amibroker of course? If so, could you please help with code. If you are 
  interested and need the formualas for these pivot point calculations, let 
  me know and i will send them to you.Thanks allMR 
  Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 
  SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  
  
  Yahoo! Groups Links
  
    To visit your group on the web, go to:<A 
    href="">http://groups.yahoo.com/group/amibroker/  

    To unsubscribe from this group, send an email to:<A 
    href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
  


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.