PureBytes Links
Trading Reference Links
|
If you mean on a chart, you could try this?
inLong = flip(buy,sell);
inShort = flip(short,cover);
I like to use these to colour the price bars
BarColor = IIf( inLong, colorPaleGreen, IIf( inShort, colorOrange,
ParamColor( "Price Colour", colorWhite )));
Plot( C, "", BarColor, styleBar );
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 14/07/06, cagigas00 <cagigas00@xxxxxxxx> wrote:
> Hello,
>
> How can I know whether my system is long, short or flat?. I mean, like
> "marketposition=1" in easylanguage
>
> Thanks
> Oscar
>
>
>
>
>
>
> 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
>
>
>
>
>
>
>
>
|