AskSize/BidSize not supported?

Questions about MultiCharts and user contributed studies.
2haerim
Posts: 502
Joined: 01 Sep 2006
Been thanked: 2 times

AskSize/BidSize not supported?

Postby 2haerim » 29 Feb 2008

The following TS 8's code fails to comiple complaining the AskSize/BidSize keyword.

When will MC be supporting AskSize/BidSize keywords?


Code: Select all

{ Copyright (c) 2005, NT LLC NT@NT.com }
[IntrabarOrderGeneration = TRUE]

DefineDLLFunc:  "NtDirect.dll", int, "Ask", lpstr, double, int;
DefineDLLFunc:  "NtDirect.dll", int, "Bid", lpstr, double, int;
DefineDLLFunc:  "NtDirect.dll", int, "Last", lpstr, double, int;
DefineDLLFunc:  "NtDirect.dll", int, "SetUp", lpstr, int;

vars: vol(Volume);

{
{ "SetUp" needs to be called before the very first NT ATI call }
if CurrentBar = 1 then begin
   SetUp("remote-machine-name-or-ip", 36973);
end;
}
   
if LastBarOnChart then begin
   if Volume > Volume[1] then
      vol = Volume - Volume[1];

   Ask(GetSymbolName, CurrentAsk, AskSize);
   Bid(GetSymbolName, CurrentBid, BidSize);
   Last(GetSymbolName, Close, vol);
end;

User avatar
Andrew Kirillov
Posts: 1589
Joined: 28 Jul 2005
Has thanked: 2 times
Been thanked: 31 times
Contact:

Postby Andrew Kirillov » 03 Mar 2008

We don't support AskSize/Bidsize keywords yet. I believe you can achive the same if you replace AskSize with ticks of Data2 and BidSize of Data3. You will need to insert data 2 and data 3 data streams in the chart and specify type of field.
Last edited by Andrew Kirillov on 21 Sep 2009, edited 1 time in total.

itai007
Posts: 69
Joined: 14 Jun 2007

Postby itai007 » 03 Mar 2008

We don't support AskSize/Bidsize keywords yet. I believe you can archive the same if you replace AskSize with ticks of Data2 and BidSize of Data3. You will need to insert data 2 and data 3 data streams in the chart and specify type of field.


What do you mean by specify type of feeld ?
I asked about this not long ago ...

thaks

User avatar
Andrew Kirillov
Posts: 1589
Joined: 28 Jul 2005
Has thanked: 2 times
Been thanked: 31 times
Contact:

Postby Andrew Kirillov » 04 Mar 2008

I meant Format Symbol->Settings->Quote Field

User avatar
TJ
Posts: 6523
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 957 times
Been thanked: 1883 times

Postby TJ » 18 Sep 2009

We don't support AskSize/Bidsize keywords yet. ....



any plans to support them in the near future?

User avatar
Andrew Kirillov
Posts: 1589
Joined: 28 Jul 2005
Has thanked: 2 times
Been thanked: 31 times
Contact:

Postby Andrew Kirillov » 21 Sep 2009

TJ,

We will consider it, but not in the nearest future.


Return to “MultiCharts”