Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Imhotep), 567 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Multichart window(s) #474938
11/14/18 10:08
11/14/18 10:08
Joined: Sep 2016
Posts: 26
London - Prague - Kho Yao Noi
S
Sinuhet Offline OP
Newbie
Sinuhet  Offline OP
Newbie
S

Joined: Sep 2016
Posts: 26
London - Prague - Kho Yao Noi
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

Re: Multichart window(s) [Re: Sinuhet] #474943
11/14/18 13:02
11/14/18 13:02
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
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.

Re: Multichart window(s) [Re: jcl] #474959
11/15/18 07:39
11/15/18 07:39
Joined: Sep 2016
Posts: 26
London - Prague - Kho Yao Noi
S
Sinuhet Offline OP
Newbie
Sinuhet  Offline OP
Newbie
S

Joined: Sep 2016
Posts: 26
London - Prague - Kho Yao Noi
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.

Last edited by Sinuhet; 11/15/18 10:05.
Re: Multichart window(s) [Re: Sinuhet] #474963
11/15/18 09:52
11/15/18 09:52
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
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.

Re: Multichart window(s) [Re: jcl] #474972
11/15/18 16:18
11/15/18 16:18
Joined: Sep 2016
Posts: 26
London - Prague - Kho Yao Noi
S
Sinuhet Offline OP
Newbie
Sinuhet  Offline OP
Newbie
S

Joined: Sep 2016
Posts: 26
London - Prague - Kho Yao Noi
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.

Re: Multichart window(s) [Re: Sinuhet] #474974
11/15/18 17:00
11/15/18 17:00
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Use print(TO_CSV,...). This it the most flexible method.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1