WL5 does have a very nice graphical representation of data which is appreciated.
Is it possible to export those graph in required formats by WL scrpits? So systemcatic backtesting can be done overnight wihtout saving the graphs manually.
Size:
Color:
See the QuickRef (F11) for GetChartBitmap
Size:
Color:
Got it, thanks a lot!
Size:
Color:
My strategy gets data from the past trades' log-file and plot them on a chart with comments. I am trying to use
GetChartBitmap to save some parts of the chart into image files:
CODE:
Please log in to see this code.
The problem is that the bitmap image always gets only the last N bars of the chart, when I need the image somewhere inside of the chart (on the trade date).
My search to find the solution was not successful. I was looking for something like:
CODE:
Please log in to see this code.
Does anybody know how to implement this?
Thanks a lot!
Size:
Color:
The chart bitmap is presented by Wealth-Lab's chart renderer which operates with the current chart window (with all its properties like selected ChartStyle, bar spacing etc.) Consequently, it's not possible to "rewind" it. I don't think you'll get what you want in a programmatic way without going out of your way with some hack similar to this one:
Loading data for "custom" time period
Size:
Color:
Thank you Eugene!
Size:
Color:
You're welcome.
Size:
Color: