Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (howardR, sleakz), 706 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How do you check your script is correct? #464948
03/19/17 14:51
03/19/17 14:51
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
Well with this question I do not mean the validation within the SED script editor. I am about to translate some 1000 rows of code from EasyLanguage into lite-C. I need to be sure it does what it should do without any logical errors. Now correct me if I am wrong, but Zorro generates only one static chart with no possibility of zooming in/out and no possibility of market reply/playback.
I am used from Multichart, when I validate changes of a script in the code editor, such changes are immediately visible on an open chart where this script is applied. Further I can define with a playback on what bar of the chart I want to be exactly and if needed I can see bar by bar how my script is applied on the chart (changes in indicators, buy/sell signals etc.). This helps me to verify my script does what I want.
But how do you guys check if your Zorro script has no logical errors when you get just one static chart image?

As an example you can see this video. As you can see I need to be sure zorro removes some already plotted objects correctly and/or for example extends a trendline every bar until certain condition is met. I do not see how I can visually verify these processes in Zoro, do you?

For me this is a fundamental issue to be able to visually control my script works correctly. Otherwise I have a black box...

Any comments will be highly appreciated.

Thank you
Sinuhet

Re: How do you check your script is correct? [Re: Sinuhet] #464956
03/20/17 12:36
03/20/17 12:36
Joined: Feb 2017
Posts: 8
Veli Offline
Newbie
Veli  Offline
Newbie

Joined: Feb 2017
Posts: 8
Hi Sinuhet! laugh

There are some Zorro commands to make the chart more readable.
I prefer using the logs for debugging. It helps to set the LOGFILE flag for this purpose.
Code:
set(LOGFILE);


I'm sure there are many ways of parsing the results in charts with lots of different tools laugh

Have a nice day

Veli

Re: How do you check your script is correct? [Re: Veli] #464960
03/20/17 14:09
03/20/17 14:09
Joined: Nov 2016
Posts: 9
Frankfurt
M
mig Offline
Newbie
mig  Offline
Newbie
M

Joined: Nov 2016
Posts: 9
Frankfurt
Hi, and definitely use the STEPWISE command...

set(STEPWISE);

check the manual: http://zorro-project.com/manual/en/mode.htm

So you can skip from bar to bar or from trade to trade....so you can see exactly when Zorro trades and at what levels etc.
Cheers
Michael


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1