Gamestudio Links
Zorro Links
Newest Posts
How to: plot a frequency spectrum in bars?
by Sempervirens. 05/12/21 02:45
Backtest accuracy
by AndrewAMD. 05/12/21 00:26
Test one asset with more bar period in one run
by AndrewAMD. 05/12/21 00:22
System with more take profit
by AndrewAMD. 05/12/21 00:20
EXANTE broker
by madpower2000. 05/11/21 17:02
No Trades when Backtesting Period is longer
by TimmiHendrix. 05/11/21 15:47
Last Candle for Testing and Train?
by jcl. 05/11/21 12:14
DataSplit for Advise
by TimmiHendrix. 05/11/21 10:40
AUM Magazine
Latest Screens
Hecknex World
Scheherazade's Journey
Paradox Vector
The Space Between
Who's Online Now
3 registered members (AndrewAMD, Sempervirens, jyd), 470 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ShadowAx, TimmiHendrix, contactmmfx, msupl7, Robert_
18644 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Script Template #482906
04/15/21 13:18
04/15/21 13:18
Joined: Jun 2013
Posts: 1,485
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,485
Hi jcl,

I know there are hints of this in the manual & probably other places, but as a "don't re-invent the wheel", I was wondering if you could share the Script Template that you've refined over the years that allows for rapid development as well as easy maintenance - presumably including functions for data gathering, analysis, entry, TMFs, exit, CBI, AI, inter-script coordination, etc.

Thanks.

Re: Script Template [Re: DdlV] #482910
04/16/21 07:22
04/16/21 07:22
Joined: Jul 2000
Posts: 27,493
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,493
Frankfurt
The only script template that I know is the one that appears when you click "New script".

Re: Script Template [Re: jcl] #482912
04/16/21 11:34
04/16/21 11:34
Joined: Dec 2002
Posts: 1,826
Switzerland Zürich
JeyKey II Offline
Serious User
JeyKey II  Offline
Serious User

Joined: Dec 2002
Posts: 1,826
Switzerland Zürich
cool cool


[Jeder ist sich selbst am Nächsten]
Re: Script Template [Re: DdlV] #482915
04/16/21 13:25
04/16/21 13:25
Joined: Feb 2017
Posts: 1,254
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,254
Chicago
This is why:
Quote
One should think that most clients come up with very similar trading systems, so we could meanwhile just click them together from ready code. But it is not so. There’s apparently no limit of trading ideas. Almost any other system uses some new trading method, unusual data source, or exotic indicator.
https://financial-hacker.com/please-send-me-a-trading-system/

Re: Script Template [Re: DdlV] #482926
04/16/21 15:15
04/16/21 15:15
Joined: Jun 2013
Posts: 1,485
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,485
Thanks @AndrewAMD for a rather more substantive reply.

But it conflates ideas with structure to implement ideas. This has been used endlessly to justify reinventing the wheel, spaghetti code, maintenance nightmares, guaranteed employment ( laugh ), etc. Template(s) have been one way to fight this, as well as make life easier...

I have too much respect for @jcl to believe that after over a decade of doing this he hasn't found & specified that his hired guns need to use something better than the Wild, Wild West - but if there isn't or he'd rather not share, so be it.

Regards to all!

Re: Script Template [Re: DdlV] #482927
04/16/21 15:55
04/16/21 15:55
Joined: Feb 2017
Posts: 1,254
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,254
Chicago
Zorro is the structure. We re-use Zorro features all of the time. What other wheels could you possibly expect to reinvent? Do you have any real-world examples?

If you must reinvent the wheel as a script writer, either a new Zorro feature should be added, or it's likely because you are re-writing the same strategy. wink

Re: Script Template [Re: DdlV] #482928
04/16/21 16:13
04/16/21 16:13
Joined: Dec 2002
Posts: 1,826
Switzerland Zürich
JeyKey II Offline
Serious User
JeyKey II  Offline
Serious User

Joined: Dec 2002
Posts: 1,826
Switzerland Zürich
Originally Posted by DdlV
Thanks @AndrewAMD for a rather more substantive reply.

But it conflates ideas with structure to implement ideas. This has been used endlessly to justify reinventing the wheel, spaghetti code, maintenance nightmares, guaranteed employment ( laugh ), etc. Template(s) have been one way to fight this, as well as make life easier...

I have too much respect for @jcl to believe that after over a decade of doing this he hasn't found & specified that his hired guns need to use something better than the Wild, Wild West - but if there isn't or he'd rather not share, so be it.

Regards to all!

I absolutely agree with you.
I've been in this forum for almost 20 years now.
It's always been like JCL responds in a condescending manner (sometimes). I think the Zorro thing doesn't make it easier. Success has turned his head.
Most of the time, however, he is accommodating.

Last edited by JeyKey II; 04/16/21 16:14.

[Jeder ist sich selbst am Nächsten]
Re: Script Template [Re: DdlV] #482940
04/17/21 15:07
04/17/21 15:07
Joined: Jun 2013
Posts: 1,485
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,485
@JeyKey II: I haven't been in the forum that long, and can't make that leap. Have some of @jcl's responses (not just to me) raised my eyebrows? Sure. But I'm aware of and make allowances for the limits of this form of communication, and there are just too many other possible reasons including native language, sense of humor, personality, and other more transient things.

@AndrewAMD: I think we'll just agree to disagree. Zorro is a library, and of course has a structure. But to use that library one must code in C, which to be done well needs to have it's own structure. My request regarding that latter structure was (sort of) answered, so as far as I'm concerned this thread has served its purpose.

Regards to all!


Moderated by  Petra 

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

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

Powered by UBB.threads™ PHP Forum Software 7.7.1