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

Re: [amibroker] Re: PlotShapes()



PureBytes Links

Trading Reference Links

Cond=C > Ref(C,-1);

Plot(C,"close",colorBlack,styleCandle);

PlotShapes(Ref(Cond,1)*shapeDigit1,colorGreen);

----- Original Message -----
From: ami_trader
Sent: Thursday, March 17, 2005 8:30 PM
Subject: [amibroker] Re: PlotShapes()


terry,
your code place a shape today, I need: If today is true place shape
yesterday

---
Giuseppe


--- In amibroker@xxxxxxxxxxxxxxx, Terry <MagicTH@x...> wrote:
> Yes, but minor change needed:
>
> cond= C>Ref(C,-1);
> PlotShapes( IIf( cond, shapeDigit1, shapeNone ),colorBlue,0,H,24 );
>
>
> Terry
>
> ami_trader wrote:
>
> >Is it possible?
> >
> >cond= C>Ref(C,-1);
> >
> >PlotShapes( IIf( cond, *plot shapeDigit1 1 bar ago*, shapeNone ),
> >colorBlue,0,H,24 );
> >
> >Thanks
> >
> >---
> >Giuseppe
> >
> >
> >
> >
> >
> >
> >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
> >
> >
> >
> >
> >
> >
> >
> >
> > 
> >





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





No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.2 - Release Date: 3/11/2005


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 Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.2 - Release Date: 3/11/2005