Insider 3000 - Forums
Insider 3000 - Forums
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Help
 Aiuti, consigli, dubbi ...
 Accelerazione

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   
   

T O P I C    R E V I E W
VpV Posted - 14 July 2011 : 17:41:08
Buonasera,

Non riesco a costruire l'accelerazione ovvero la velocitā della velocitā.

Il problema č che quando vado a fare "Moveav(velocita(-1),x)" mi dā errore.

Ho provato come per il close ovvero close(-1) + 0 ecc.... ma non riesco a fargli prendere il valore della velocitā(o indicatore generico) che vorrei ovvero quello del giorno x indietro.

Grazie
1   L A T E S T    R E P L I E S    (Newest First)
SupportoTecnico Posted - 15 July 2011 : 10:55:01
Per ricavare il valore del giorno precedente di un indicatore devi utilizzare la funzione Value:

Value(MioIndicatore, -1)

Ad ogni modo, questa volta non ti basta perchč la funzione Moveav non accetta la funzione Value come argomento.
Quindi non ci sono trucchetti, e l'unica soluzione č quella di creare un nuovo indicatore che ti restituisca la velocitā del giorno prima.

In pratica:


Function Main()
    Return Value(Velocita, -1)
EndFunction



Anche questa cosa č giā stata superata con la nuova versione del linguaggio di programmazione.

Insider 3000 - Forums © Copyright 2003-2016 Tradersoft s.r.l. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07