Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 07:12:48 +0000



[User Discussion] - getting a new indicator

View Count: 2005

[2013-05-11 01:51:10]
lotus123 - Posts: 23
can you guys make some new indicators?

it would be like this -

if the Last Trading Price > Previous Trading Price
then Record the Amount of Volume that took place
else if the last trading price was < or = previous trading price
then record zero.

and

if the Last Trading Price < Previous Trading Price
then Record the Amount of Volume that took place
else record zero.

This wouldn't be like your current up down volume indicator, since if the last trade was at the same price, nothing would be recorded.

It would also be nice if you could do this with trades, substituting Number of Trades in the above pseudocode for Amount of Volume.


Else, could this be done some other way, or give me a hint about how to write it up.

Any help would be appreciated.
[2013-05-11 03:51:42]
C. Notes - Posts: 129
Hi,

You can do this on the spreadsheet....

add volume study to the chart...and a spreadsheet study...

In first available column...enter some thing like =IF(E3>E4,AA3,0)
E3 is last price AA3 is study slot 1 where volume would show...

the column will populate, then assign line or bar to that column in the study subgraphs settings ...

Set the spreadsheet to chart region 2 in settings and inputs

Hope this gets you started
Date Time Of Last Edit: 2013-05-11 03:51:57
[2013-05-11 04:56:00]
Sawtooth - Posts: 4118
If the Last Trading Price > Previous Trading Price
then Record the Amount of Volume that took place
else if the last trading price was < or = previous trading price
then record zero.

and

if the Last Trading Price < Previous Trading Price
then Record the Amount of Volume that took place
else record zero.

These two statements seem contradictory. Please clarify.
Date Time Of Last Edit: 2013-05-11 18:30:22
[2013-05-11 08:20:50]
C. Notes - Posts: 129
I was not commenting on your logic here, just giving an example of how you might create the study on a spreadsheet...


[2013-05-11 17:30:05]
M5amhan - Posts: 468
in the spreadsheet study column "F" is also volume so you dont necessarily need the volume study on.. instead of AA3 you would use F3
[2013-05-11 19:35:15]
lotus123 - Posts: 23
sorry about the confusion. I didn't want this to be a user discussion topic. I wanted the developers of sierra chart to include a new indicator(s).

the volume and data that I am looking for is time and sales data. I would like the new indicator to be like the up down volume ratio indicator. but I wanted to change how the indicator records the time and sales data. instead of recording number of trades and trade volume for every trade, I only want to record the data when a trade takes place at a different price; if the trade is at the same price, don't record the trade information for this indicator.

I just want to see what the indicator would look like compared to the one that is already included with sierra chart.
[2013-05-11 19:36:22]
lotus123 - Posts: 23
is there another way to post this, without being a user discussion?

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account