You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi All,
I just created a little indicator to display the values of chart trendlines in the upper left corner of the chart window. Draw up to 3 trendlines on a chart and the indicator will display the current value and slope.
I also have a little script that when dropped, will write all the trendlines in a profile to a .csv file for import into Excel. The script uses timeseries functions to do the calculations.
I'm hoping to find a way to use object functions in this script instead of timeseries functions. This (I think) would require selecting the appropriate window through code before the objects can be manipulated.
I notice that each window in a profile has a different handle. Is there a way for the script to be dropped on a window, and select a different window (with different timeframe) by using WindowHandle? Possibly some way with WindowIsVisible?
Thanks
Yellowlion