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

Re: [amibroker] I'm an artist not a coder....



PureBytes Links

Trading Reference Links

Perhaps you should use Ref(H, -1) instead of H:

upday = C > HHV(Ref(H, -1), 8);
Plot(HHV(Ref(H, -1), 8), "HHV", colorRed, 1);
Plot(C, "C", colorBlack, 64);
PlotShapes( shapeDownArrow * upday, colorGreen, 0, L, 15 );

Regards,
Andreas

> steve,
>  
> that is very unlikely because C > HHV(H,8) will never occur. When 
> developing it is a good idea to put all the parts inside a chart, see:
>  
> upday = *C* > HHV(*H*,8);
> 
> SetChartOptions(0, *chartShowDates*);
> *GraphXSpace* = 5;
> Plot(HHV(*H*,8),"",*colorWhite*,1);
> Plot(*C*,"",*colorWhite*,64);
> PlotShapes( *shapeDownArrow** upday, *colorWhite*, 0, *L*, 15 );
>  
>  
> if you change:
>  
> upday = *C* >= HHV(*H*,8);
> you get a few hits,
>  
> rgds, Ed
>  
>  
>  
> ----- Original Message -----
> From: "Steve" <avalon-ardy@xxxxxxxxxxxxxxx 
> <mailto:avalon-ardy@xxxxxxxxxxxxxxx>>
> To: <amibroker@xxxxxxxxxxxxxxx <mailto:amibroker@xxxxxxxxxxxxxxx>>
> Sent: Saturday, August 13, 2005 2:26 PM
> Subject: [amibroker] I'm an artist not a coder....
> 
>  > OK, sometimes these things just frustrate me...
>  > The following, I thought, should do just as it is written ie place a 
> marker
>  > above any bar thats Close is higher than the HHV of last X amount of
>  > periods.
>  > eg:
>  > upday = C > HHV(H,8);
>  > PlotShapes( shapeDownArrow* upday, colorDarkRed, 0, L, 15 );
>  >
>  > Instead *every* bar has a marker above it?!?!?
>  >



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hjcoi9p/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1123946578/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/