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

Re: [amibroker] Bars Since Entry?



PureBytes Links

Trading Reference Links

Did you add the plot statements, here is something to add if not

 Plot( Close, "Price", colorBlack , styleBar );


GraphXSpace = 10;

//Plot Turning Points & Support/Resistance levels

PlotShapes( Bot * shapeUpArrow, colorTeal, 0, L, -10 );
PlotShapes( Top * shapeDownArrow, colorPaleBlue, 0, H,  -10 );

Plot( LoPiv, "Sup", colorGreen, styleNoLine|styleDots|styleNoRescale );
Plot( HiPiv, "Res", colorRed, styleNoLine|styleDots|styleNoRescale );

Cheers,
Graham
http://groups.msn.com/asxsharetrading
http://groups.msn.com/fmsaustralia 

-----Original Message-----
From: Dominick [mailto:Dom2000@xxxxxxxxxxx] 
Sent: Thursday, 15 January 2004 9:51 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Pivots


HI Graham:

I getting an empty pane.  Any ideas?

Dominick

Graham wrote:

> I think they use a complex formula called Hind Sight Indicator
> 
> Actually quite easy if you know how
> 
> Try this for a starter, it is an early version and the simplest of 
> what I am working on
> 
> myH = ( H>=Ref(H,-1) OR L>=Ref(L,-1) ) AND H>Ref(H,1) ;
> myL = ( L<=Ref(L,-1) OR H<=Ref(H,-1) ) AND L<Ref(L,1) ;
> 
> TopLast = 1;
> Top = 0;
> Bot = 0;
> for( i=1; i<Barcount-1; i++ )
> {
> if( myH[i] && TopLast==0 )
> {
>   Top[i] = 1;
>   Bot[i] = 0;
>   TopLast = 1;
> }
> else
> {
>   if( myL[i] && TopLast==1 )
>   {
>    Top[i] = 0;
>    Bot[i] = 1;
>    TopLast = 0;
>   }
> }
> }
> 
> //Values of high & low pivot points
> Hipiv = ValueWhen( top, H );
> Lopiv = ValueWhen( bot, L );
> 
> Cheers,
> Graham
> http://groups.msn.com/asxsharetrading
> http://groups.msn.com/fmsaustralia
> 
> -----Original Message-----
> From: Dominick [mailto:Dom2000@xxxxxxxxxxx]
> Sent: Thursday, 15 January 2004 9:03 PM
> To: Amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Pivots
> 
> 
> Hey programming guru's.  Look at these snapshots.
> 
> Sure would be a nice New Years's present and great act of kindness if 
> you would show us how to do it.
> 
> TIA,
> 
> Dominick
> 
> 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 Sponsor 
> ---------------------~--> Buy Ink Cartridges or Refill Kits for your 
> HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders 
> $50 or more to the US & Canada. 
> http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
> ---------------------------------------------------------------------~->
> 
> 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:  
> http://docs.yahoo.com/info/terms/
> 
> 
> 
> 
> 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
>       
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
> 
> 


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 Sponsor ---------------------~--> Buy
Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer
at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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:  http://docs.yahoo.com/info/terms/ 


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:
 http://docs.yahoo.com/info/terms/