Tradeable Trendlines - MultiSymbol analysis / alerts possible?
Author: Ben_Zurich
Creation Date: 3/22/2015 1:28 PM
profile picture

Ben_Zurich

#1
I have a watchlist with several dozens of symbols.
For each symbol, I have defined 1-3 key "tradeable trendlines".

I have given names to these trendlines within each chart so that they have a unique ID, such as eg:

SPX_W_UP_TL_1
or
INDU_W_DN_TL_2

Is there a way to access / request the status of these trendlines (e.g. if the last close is above or below each of its trendlines) and write that into a table overview that would list the status of each of these tradeable trendlines for each of the symbols covered?

The goal is to update a table with all the symbols and a variety of their indicators and write that into CSV table for easy overview, on a daily basis.


profile picture

Eugene

#2
Tradable trendlines only work for the symbols that have a TT in an open Chart window for the symbol and scale for which it was drawn. They won't work in Multi-Symbol backtests, the Strategy Monitor or Rankings tools.

FAQ > TrendlineValue can't be accessed.
profile picture

Ben_Zurich

#3
Thank you for also answering on weekends... :-)

1) We currently work with a batch processing mechanism that actually opens hundreds of charts, one after another, writes an updated image file as well as various system signals to CSV files, so we could possibly do this when opening each Chart?

If yes, what would be proper syntax to "access" or request the trendline status when accessing/opening each of these chart files?


2) Could one also calculate a percentage distance figure between last close and the trendline in addition to a buy / sell signal?

profile picture

Eugene

#4
1) It's all in the FAQ. No syntax. You can not use SetContext to request the value of a TL or TT. It takes switching to the symbol manually. Perhaps it could be automated with an external tool like AutoIT, imitating the manual typing of a symbol, but I can not confirm this.

2) Well, I guess it might be possible e.g. Percentage of two points line in 2D
profile picture

Ben_Zurich

#5
1) The process of loading the symbol into a customized chart and activating its custom (manually drawn) stored trendlines is automatized and already works fine.

My Question is about how to refer to a particular TT's "status" or "signal" (buy or sell) and/or to its current value (i.e. a which price does it currently stand at the chart's right-hand border).

I have searched the WL Wiki for "TT" as well as "Tradeable Trendline" but could not find any entries there; am I looking in the wrong places?

profile picture

Eugene

#6
QUOTE:
My Question is about how to refer to a particular TT's "status" or "signal" (buy or sell) and/or to its current value (i.e. a which price does it currently stand at the chart's right-hand border).

This is not supported but your Strategy knows where the TLV currently is with regard to the market price. When you get an Alert, its properties (e.g. AlertType etc.) can be accessed. Check out "Alert Object" in the QuickRef.

QUOTE:
I have searched the WL Wiki for "TT" as well as "Tradeable Trendline" but could not find any entries there; am I looking in the wrong places?

It's in my Wiki link above > "TrendlineValue can't be accessed."
profile picture

Cone

#7
profile picture

Eugene

#8
Wiki FAQ updated.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).