PureBytes Links
Trading Reference Links
|
hi,
this should work:
Bid = GetRTData("Bid");
Ask = GetRTData("Ask");
Spread = Ask - Bid;
rgds, Ed
----- Original Message -----
From: "Qitrader" <yiupang91@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, December 11, 2005 6:39 AM
Subject: [amibroker] Re: Intraday bid/ask spread question
> --- In amibroker@xxxxxxxxxxxxxxx, Tony Lei <yiupang91@xxxx> wrote:
>>
>> Hi,
>>
>> Is it possible to make an intraday scan based on spread criteria?
>>
>> E.g.
>>
>> Buy = XcrossY and spread < .05 ;
>>
>> Spread = ask - bid < .05
>>
>> thanks
>>
>> tony
>>
>
> Hi all,
>
> I don't know why i'm getting some errors. Maybe I am not using the
> function correctly. Any help is appreciated.
>
> "Bid = "+GetRTData("Bid");
> "Ask = "+GetRTData("Ask");
> //spread = ask-bid ;
>
> thanks
>
> tony
>
>
>
>
>
>
> 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
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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/
|