Gamestudio Links
Zorro Links
Newest Posts
Rendering PANEL only in a specific VIEW
by alibaba
16 minutes 19 seconds ago
Ahead bias when retrain
by JRA
Today at 10:32
[LBGUI] Memory not released!
by alibaba
Today at 02:11
Votes for future features
by easyX
Yesterday at 19:30
New Zorro version 1.83
by jcl
Yesterday at 14:21
What are you working on?
by Emre
Yesterday at 01:21
Experienced 2D|3D Character artist|Concept Artist@ Indie Prices|
by DeathstalkerArs
05/21/18 17:13
AUM Magazine
Latest Screens
Forgotten Tales - Demo version
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Who's Online
15 registered (AndrewAMD, Mafia_IR, alibaba, JRA, CocaCola, 3run, kvm, mk_1, Akow, 3 invisible), 440 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
AgentShark, rpauletto, tuuPaul, LaserJock2000, andrey20
17959 Registered Users
Topic Options
Rate This Topic
#464948 - 03/19/17 15:51 How do you check your script is correct?
Sinuhet Offline

Registered: 09/13/16
Posts: 12
Loc: 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

#464956 - 03/20/17 13:36 Re: How do you check your script is correct? [Re: Sinuhet]
Veli Offline

Registered: 02/28/17
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.

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

Have a nice day


#464960 - 03/20/17 15:09 Re: How do you check your script is correct? [Re: Veli]
mig Offline

Registered: 11/11/16
Posts: 9
Loc: Frankfurt
Hi, and definitely use the STEPWISE command...


check the manual:

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


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at)