How to add QTXT to the entry order

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

How to add QTXT to the entry order

Postby xiupingge » Mon Jul 06, 2020 1:42 pm

Hi,

I try to add QTXT to the sample code as below, however it is always empty.
http://www.fxcodebase.com/documents/Ind ... er_LE.html

Line 76 valuemap.QTXT = valuemap.Rate;

Is there anything I missed?

Thanks,
Albert
Attachments
MyTestStrategy.lua
(3.55 KiB) Downloaded 156 times
xiupingge
 
Posts: 24
Joined: Thu Jul 28, 2011 1:34 pm

Re: How to add QTXT to the entry order

Postby Apprentice » Tue Jul 07, 2020 8:15 am

Your request is added to the development list.
Development reference 1648.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: How to add QTXT to the entry order

Postby Apprentice » Wed Jul 08, 2020 4:50 am

The code is correct, it should work.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: How to add QTXT to the entry order

Postby xiupingge » Thu Jul 09, 2020 2:27 pm

Hi Apprentice,

Thank you so much for your input!
Is there any way to print the field on trading station platform?
Like log or message? terminal:alertMessage? and anything else?
i found there is different behavior from the SDK debug platform.
So if there is a way/example to print the value of the field when I apply the strategy to the trading station, that will be great.

Best regards,
Albert
xiupingge
 
Posts: 24
Joined: Thu Jul 28, 2011 1:34 pm

Re: How to add QTXT to the entry order

Postby Apprentice » Sat Jul 11, 2020 4:27 pm

Your request is added to the development list.
Development reference 1678.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: How to add QTXT to the entry order

Postby Apprentice » Mon Jul 13, 2020 8:53 am

local something_to_print="Some String"
core.host:trace(something_to_print);
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 17 guests