Usage of "GETRTDATA" function

Dear all,

I have tried to use a code that contains GETRTDATA function. But in virtual account trade not happened though I am using professional edition only. What basically I need is I need to enter my trade on the basis of LTP ( not through close price of any time frame)
Please provide some suggestions seniors.

Thanks in advance,

What data source are you using?

Dear all,
I am a new user. I want to know how to use "GETRTDATA" function. I have referred the following guide to use the same.
But somehow my program is not working . I ve given my code below.
Please somebody throw light over the same.
A big Thanks in advance

Plot(C, "Price",ParamColor("Color",colorDefault),ParamStyle("style",styleCandle,maskPrice));
CB= C-O;
s= IIf(CB>0 & Ref(CB,-1)>0,1,0);
G= ValueWhen(s==1,H,1);
LTP= GetRTData("Last");
BuyPrice= LTP;
G1= ValueWhen(s==1,L,1);
Sell= LTP>BuyPrice+30|LTP>=High;
SellPrice= LTP;
t= IIf(CB<0 & Ref(CB,-1)<0,1,0);
Short= t==1;
ShortPrice= Close;
X= ValueWhen(t==1,H,1);
Cover= Low<ShortPrice-30|X<=Low;
CoverPrice= Low;
SetPositionSize( 10000000, spsValue );
SetOption("MaxOpenPositions", 1 );
PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorGreen, 0, L, Offset=-40);
PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorLime, 0,L, Offset=-50);
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorWhite, 0,L, Offset=-45);
PlotShapes(IIf(Short, shapeSquare, shapeNone),colorRed, 0, H, Offset=40);
PlotShapes(IIf(Short, shapeSquare, shapeNone),colorOrange, 0,H, Offset=50);
PlotShapes(IIf(Short, shapeDownArrow, shapeNone),colorWhite, 0,H, Offset=-45);


@Tomasz has asked you about the data source you are using.
GetRTData works with streaming realtime sources only.

Dear @Tomasz

I am using bestrtdata( that is real time only).
Amibroker Professional edition (5.70.2, build date: Jan 22 2014)

Thanks & regards,

That is 3rd party source. Not written nor supported by us.

GetRTData function is provided by RT plugin. To make it work, 3rd party data plugin must implement it. Apparently your 3rd party provider does not implement that function.

For any help with 3rd party plugins you need to contact people who wrote it - i.e. 3rd party vendor.

Thanks a lot for your suggestions.