Register
Log In
Forums
Starting with Zorro
Must then be called in a fixed order in the script
Forums
Calendar
Active Threads
Search
Forum Help
Gamestudio Links
► Features
► Download
► Online Manual
► Online Tutorial
► Free Resources
► F.A.Q.
Zorro Links
► Download
► Online Manual
► Online Tutorial
► Blog
► Support
► What's New?
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
How to Get Free Live Data for Zorro Futures Paper Trading?
by AndrewAMD. 05/19/24 14:42
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Zorro Calculate Commission and Spread Even Setting Is Off
by Zheka. 05/16/24 10:41
Change chart colours
by 7th_zorro. 05/11/24 09:25
Texture/Sprite animation tool. Someone interested in ?
by NeoDumont. 05/10/24 19:36
Seeking Advice: Trading Two Algorithms for SPX500 / US Treasury
by AndrewAMD. 05/07/24 00:56
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
Who's Online Now
2 registered members (
AndrewAMD
,
Ayumi
), 838 guests, and 2 spiders.
Key:
Admin
,
Global Mod
,
Mod
Newest Members
Hanky27
,
firatv
,
wandaluciaia
,
Mega_Rod
,
EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Must then be called in a fixed order in the script
#487888
10/24/23
16:29
10/24/23
16:29
Joined:
Aug 2023
Posts: 19
I
izorro
OP
Newbie
izorro
OP
Newbie
I
Joined:
Aug 2023
Posts: 19
I have noticed this being mentioned in several indicators in
https:/
/
zorro-project.com/
manual/
en/
ta.htm
Functions internally create series and thus must be called in a fixed order in the script.
Could someone explain what this means? what is the "fixed order"?
Re: Must then be called in a fixed order in the script
[
Re: izorro
]
#487889
10/24/23
16:51
10/24/23
16:51
Joined:
Feb 2017
Posts: 1,731
Chicago
AndrewAMD
Serious User
AndrewAMD
Serious User
Joined:
Feb 2017
Posts: 1,731
Chicago
For every run() call, series() must be called the same exact number of times every time. It cannot be changed by an if statement between run() calls.
As a rule of thumb, put all series() calls outside of all if statements.
www.vitaltrades.com
-
andrew@vitaltrades.com
Re: Must then be called in a fixed order in the script
[
Re: AndrewAMD
]
#487892
10/25/23
07:40
10/25/23
07:40
Joined:
Aug 2023
Posts: 19
I
izorro
OP
Newbie
izorro
OP
Newbie
I
Joined:
Aug 2023
Posts: 19
Ahh got it. Thank you.
Re: Must then be called in a fixed order in the script
[
Re: AndrewAMD
]
#487893
10/25/23
07:44
10/25/23
07:44
Joined:
Aug 2023
Posts: 19
I
izorro
OP
Newbie
izorro
OP
Newbie
I
Joined:
Aug 2023
Posts: 19
This is a much better explanation, it should be documented somewhere if not already.
Moderated by
Petra
Hop To
Gamestudio ------
Starting with Gamestudio
Atari lite-C
Editors & Templates
A8 Engine
Shaders
Third Party Tools
Acknex Users Magazine
The Past
The Future
Zorro ------
Starting with Zorro
Educational
Automated Trading
Zorro Scripts
The Z Systems
Zorro and the Brokers
Zorro Future
Feedback ------
Bug Hunt
Blame the Manual
Ask the Developers
Updates & Announcements
Rants
Game Creation ------
Game Design & Business
Jobs Wanted
Jobs Offered
User Resources
Projects
Showcase
Beyond Games & Money ------
Hilbert's Hotel
Morbius' Virtual Answering Machine
Print Thread
Switch to Threaded Mode
5
Excellent
4
Good
3
Average
2
Bad
1
Terrible
View Profile
Send Private Message
Follow User
Show Forum Posts
View Profile
Send Private Message
View Homepage
Follow User
Show Forum Posts
View Profile
Send Private Message
Follow User
Show Forum Posts
View Profile
Send Private Message
Follow User
Show Forum Posts
Default Style
gamestudio
UBBT77
UBBT77 - Dark2
Forum Rules
·
Mark All Read
·
Powered by UBB.threads™ PHP Forum Software 7.7.1