Time & Sales

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
ROBERTO AMBROGI
Posts: 15
Joined: 25 Aug 2007

Time & Sales

Postby ROBERTO AMBROGI » 31 Aug 2007

Does anyone has written a code to have a Time & Sales windoww in MultiCharts? with the possibility to put some filters?

If not is there a plan fo TS Support to insert is in the next realises?
It is a basic but definitely VERY important feature.
Tks
RA

User avatar
Geoff
Posts: 198
Joined: 18 Apr 2007
Has thanked: 15 times
Been thanked: 4 times

Re: Time & Sales

Postby Geoff » 31 Aug 2007

Does anyone has written a code to have a Time & Sales windoww in MultiCharts? with the possibility to put some filters?

If not is there a plan fo TS Support to insert is in the next realises?
It is a basic but definitely VERY important feature.
Tks
RA
A T&S window has been asked for on this forum many times, but with no success......
I tried writing one as an indicator but it is not possible to stop the text scrolling to the left.

ROBERTO AMBROGI
Posts: 15
Joined: 25 Aug 2007

Postby ROBERTO AMBROGI » 31 Aug 2007

Tks for the reply Geoff,

It is incredible why they don't... It is a very basic feature that a software like this if want to be used by professionals NEEDS TO HAVE.

A serious trader can't trade without it.

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 31 Aug 2007

Hello,

At the moment, there are no plans regarding this feature.

We might consider it in future but not at the moment.

ROBERTO AMBROGI
Posts: 15
Joined: 25 Aug 2007

Postby ROBERTO AMBROGI » 31 Aug 2007

Very sad that you are not interested in it.

At least you could realise an official MD indicators that really works.

Also a MARKET PROFILE indicator.

Do you?


Regards

SP
Posts: 465
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 286 times

Re: Time & Sales

Postby SP » 08 Oct 2010

Solidus posted a code on the TS forum (https://www.TS.com/Discussion ... _ID=104700).

if you set the Input "Volume.Threshold" to 1 it plots times and sales into the chart. Not the best solution, but works on tick/volume charts as on minute charts. Only the plotting to the right could be improved by modifiying the text_setlocation and the tading at bid/ask instead of uptick/downtick.
Attachments
T&S.ELD
(9.74 KiB) Downloaded 710 times

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Time & Sales

Postby TJ » 08 Oct 2010

Solidus posted a code on the TS forum (https://www.TS.com/Discussion ... _ID=104700).

if you set the Input "Volume.Threshold" to 1 it plots times and sales into the chart. Not the best solution, but works on tick/volume charts as on minute charts. Only the plotting to the right could be improved by modifiying the text_setlocation and the tading at bid/ask instead of uptick/downtick.
SP:
thanks for posting the code. much appreciated.

ROBERTO AMBROGI
Posts: 15
Joined: 25 Aug 2007

Re: Time & Sales

Postby ROBERTO AMBROGI » 11 Oct 2010

Tks SP for sharing
regards
R.

SP
Posts: 465
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 286 times

Re: Time & Sales

Postby SP » 14 Oct 2010

Change the line 111 from

Code: Select all

text_setlocation(vol.txt[ii],d,t,hval-diff*(ii+1));
to

Code: Select all

Text_SetLocation_s (vol.txt[ii], d, intportion (MinutesToTime ((GetAppInfo (7))*60*24)*100) , hval-diff*(ii+1));

and it plots the T&S to the point right and not into the bars.

SP
Posts: 465
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 286 times

Re: Time & Sales

Postby SP » 26 Jan 2011

Made some small modifications:

Added or changed for MC: TextLocation, Automatic Decimals, Block Alert as border, TextSize
Attachments
Times and Sales 2 for MC.txt
(5.36 KiB) Downloaded 750 times

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Time & Sales

Postby TJ » 26 Jan 2011

Made some small modifications:

Added or changed for MC: TextLocation, Automatic Decimals, Block Alert as border, TextSize
nice code
thanks for sharing


one suggestion:
you can simplify the auto-decimal with this code:

Code: Select all

MyDecimalPlaces = Log(PriceScale) / Log(10) ;

SP
Posts: 465
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 286 times

Re: Time & Sales

Postby SP » 02 Feb 2011

Added TJ's suggestion and Daves Bid Ask Logic from viewtopic.php?f=5&t=6640, you need to set bid as Data2 and Ask as Data3
Attachments
T+S with Bid Data2 Ask Data3.txt
(5.3 KiB) Downloaded 811 times

snoop
Posts: 23
Joined: 22 Oct 2010
Has thanked: 4 times

Re: Time & Sales

Postby snoop » 02 Feb 2011

Thx for sharing the code.
How can I display the output on the left side of a chart?

MeiHua
Posts: 26
Joined: 12 Aug 2012
Has thanked: 1 time

Re: Time & Sales

Postby MeiHua » 04 Nov 2012

I am also interested in repositioning the print column. Any help with that?

SP
Posts: 465
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 286 times

Re: Time & Sales

Postby SP » 05 Nov 2012

You need to change the Text_SetLocation_s (......) lines. Take a look at "Using GetAppInfo for Chart Window information " for different time settings
https://www.multicharts.com/trading-sof ... GetAppInfo

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Time & Sales

Postby TJ » 05 Nov 2012

Added TJ's suggestion and Daves Bid Ask Logic from viewtopic.php?f=5&t=6640, you need to set bid as Data2 and Ask as Data3
One more tip:
You can put the auto.decimal in the ONCE block,
that should save some recalc cycles.

SP
Posts: 465
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 286 times

Re: Time & Sales

Postby SP » 05 Nov 2012

TJ,

maybe it is difficult to read on the txt file, but the Auto.Decimals is already in the Once block.

Nevertheless the code isnt really a substitution for a native solution.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Time & Sales

Postby TJ » 05 Nov 2012

TJ,

maybe it is difficult to read on the txt file, but the Auto.Decimals is already in the Once block.

Nevertheless the code isnt really a substitution for a native solution.
Arh... you are right, my oversight. You are a good coder. This indicator can be used as a platform for other analysis. Many thanks again for your sharing.


Return to “User Contributed Studies and Indicator Library”