Gamestudio Links
Zorro Links
Newest Posts
Issues with converting .csv to .t6
by jcl. 07/16/19 14:46
IG plugin initial release
by YG8. 07/16/19 10:02
First Steps for backtesting with ASCII data
by Charttrader. 07/16/19 08:50
New Zorro version 2.15
by jcl. 07/16/19 08:42
Beginners Workshop
by jcl. 07/15/19 06:29
Dukascopy plugin (yet another version)
by dh85. 07/15/19 05:03
lock profit without trail
by Grat. 07/14/19 15:53
What are you working on?
by rayp. 07/12/19 15:32
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
9 registered members (Peeyotch, chsmac85, AndrewAMD, MatPed, Grat, kvm, Matt_Aufderheide, YG8, 1 invisible), 677 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Charttrader, bjomu, catharticlapse, carmyss121, Evox
18255 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
advance decline (ADO) code examples? #475441
12/09/18 18:21
12/09/18 18:21
Joined: Dec 2018
Posts: 2
B
bondz Offline OP
Guest
bondz  Offline OP
Guest
B

Joined: Dec 2018
Posts: 2
Hi,
I wrote the following code (on version 1.74) in order to display an indicator for the advance decline ratio. However, what I get back on the display is an 'infinitely' long number which display as a straight line. I tried dividing and multiplying by a infinitely small decimal, but nothing seemed to work. Is there a code for this somewhere? Thanks for your help in advance.
Here is what I wrote (it works, but the display is wonky)


vars ado = ADO;
var ado1 = (ado[0] + ado[1]) - (ado[2] + ado[3]);
vars ado1ser = series(ado1,1);

Re: advance decline (ADO) code examples? [Re: bondz] #475442
12/09/18 18:52
12/09/18 18:52
Joined: Apr 2017
Posts: 106
3
3dgamelight Offline
Member
3dgamelight  Offline
Member
3

Joined: Apr 2017
Posts: 106
I guess ADO is a function pointer, you mean:
Code:
vars ado = series(ADO());


Re: advance decline (ADO) code examples? [Re: 3dgamelight] #476865
04/15/19 23:09
04/15/19 23:09
Joined: Dec 2018
Posts: 2
B
bondz Offline OP
Guest
bondz  Offline OP
Guest
B

Joined: Dec 2018
Posts: 2
thanks laugh


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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