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.
Size:
Color:
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.
Size:
Color:
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?
Size:
Color:
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
Size:
Color:
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?
Size:
Color:
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."
Size:
Color:
Size:
Color:
Wiki FAQ updated.
Size:
Color: