Multichart window(s)

Posted By: Sinuhet

Multichart window(s) - 11/14/18 10:08

I have a strategy where a custom USD index is counted on the fly (for all 4 values O, H, L, C) from all 7 major USD crosses and a custom indicator is applied to the index to generate SELL/BUY signals.

I would like to visual debug it with the help of 8 Zorro windows. 1st window displaying the USD index as candles/OHLC bars with the custom indicator. Remaining 7 windows should display bars of each of the USD major cross with SELL/BUY events.

Can this be done in Zorro? If not, is there any other to achieve it, such as using other charting software in combination with the print(TO_CSV,...) function (an easy way to export backtest data or indicator values to a .csv spreadsheet in the Log folder)?

Thx for help
Posted By: jcl

Re: Multichart window(s) - 11/14/18 13:02

You can either plot it to 7 chart windows, but as lines and not as candles, or export it to csv and print it with some charting software that can read candles from a CSV file.
Posted By: Sinuhet

Re: Multichart window(s) - 11/15/18 07:39

Thank you Johann
if I decide for Zorro only, can I just clarify if I will be able to plot a grid of 8 windows (1 for index, 7 for major forex pairs) in a grid of 2 rows and 4 columns? I simply need a layout to my 40" 4K-monitor.
Posted By: jcl

Re: Multichart window(s) - 11/15/18 09:52

8 windows yes, but no grid of charts. For a grid of charts either use a special charting software, or print the chart images separately with a batch file and then put them in a table on a document.
Posted By: Sinuhet

Re: Multichart window(s) - 11/15/18 16:18

Thank you Johann
in that case I would like to try the 3rd party charting software. It looks like I will need to export from Zorro separate 3 csv files. Can I clarify if the following functions wil do the job?
- for asset price history: CSVExport.c or CSVFromHistory? I have not really understtod the differenece between these 2 and also have not found any example in the manual.
- trade list: testtrades.csv
- indicators: print(TO_CSV,...)

Or could just one function print(TO_CSV,...) be enough to export underlying asset price history (OHLC), list of trades and corresponding indicators values?

Thx for recommendation. I rather ask before I start this time consuming project.
Posted By: jcl

Re: Multichart window(s) - 11/15/18 17:00

Use print(TO_CSV,...). This it the most flexible method.
© 2024 lite-C Forums