Gamestudio Links
Zorro Links
Newest Posts
TDAmeritrade plugin with new Schwab accountt?
by AndrewAMD. 03/24/26 17:11
TMFs on options in live trading
by mosfet. 03/23/26 07:29
ZorroGPT
by TipmyPip. 03/20/26 07:00
Black Book, 4th edition
by jcl. 03/17/26 09:28
Trying to get started...
by Lukudo. 03/16/26 09:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (VoroneTZ), 5,561 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
mredit, vestriaa, Lukudo, mldenoiser, the1
19204 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Expressing ADX [Re: Oliverlista] #484752
12/07/21 17:02
12/07/21 17:02
Joined: Aug 2017
Posts: 315
Netherlands
G
Grant Offline
Senior Member
Grant  Offline
Senior Member
G

Joined: Aug 2017
Posts: 315
Netherlands
As Petra says, you can read this in the manual.

https://zorro-trader.com/manual/en/ta.htm

Re: Expressing ADX [Re: Oliverlista] #484753
12/07/21 17:08
12/07/21 17:08
Joined: Feb 2017
Posts: 1,814
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,814
Chicago
Originally Posted by Oliverlista
Can you please express ADX as a function so I can learn?

You must use the return value of your existing ADX call, rather than dereferencing a function as an array (very illegal).

Do you know how functions work? Read here:
https://zorro-project.com/manual/en/function.htm

Do you know how vars and series work? Read here:
https://zorro-project.com/manual/en/series.htm
https://zorro-project.com/manual/en/apointer.htm

Re: Expressing ADX [Re: Oliverlista] #484754
12/07/21 17:12
12/07/21 17:12
Joined: Apr 2008
Posts: 600
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 600
Austria
First you had only wrong number of parameters, but then your code became totally wrong.

Correct is ADX(18), not ADX[0]. But do not copy-paste it but learn to write correct code.

Page 2 of 2 1 2

Moderated by  Petra 

Gamestudio download | 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