PrintDebug: technical values for Alerts
Author: CarmaAdvisory
Creation Date: 12/9/2017 8:19 AM
profile picture

CarmaAdvisory

#1
Hi everyone, I'm trying, without success, to print technical values as volume or moving average, exclusively for symbols listed in the Alert tab.

Is it possible?

thanks!
profile picture

Eugene

#2
Hi,

Success or not, how are you trying that? Your post is missing some code.

At any rate make sure you're not overlooking the QuickRef example code as suggested in post #2 here: Export Information from Alerts Tab
profile picture

CarmaAdvisory

#3
Thanks Eugene,

My very simple code is:

CODE:
Please log in to see this code.


where condition1 is the condition to open a new long position. However in this way the output is the volume series for each occurrence of condition1; I want instead the average volume only for the current alerts.

I look at the QuickRef example and it works the way I'd want but I am not able to get the volume data.
profile picture

Eugene

#4
QUOTE:
I look at the QuickRef example and it works the way I'd want but I am not able to get the volume data.

Notice the Alert.Bars property in the QuickRef example for AlertDate?

CODE:
Please log in to see this code.


a.Bars contains the associated Volume DataSeries.
profile picture

CarmaAdvisory

#5
Great, thank you very much
profile picture

Eugene

#6
My pleasure.