Insider 3000 - Forums
Insider 3000 - Forums
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Help
 Aiuti, consigli, dubbi ...
 crazione dell' RVI

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
stoploss Posted - 26 March 2006 : 17:30:20
Vorrei creare un nuovo indicatore, il Relative Vigor Index (RVI):

RVI = (ciusura - apertura) / (max - min)

è possibile?
qualcuno sa aiutarmi? (sono estremamente ignorante in materia)
grazie
3   L A T E S T    R E P L I E S    (Newest First)
SupportoTecnico Posted - 27 March 2006 : 14:27:33

Anche questo è molto semplice:


Function Main()
Dim dValoreOdierno As Numeric
Dim dValore1 As Numeric
Dim dValore2 As Numeric
Dim dValore3 As Numeric

dValoreOdierno = (Close - Open) / (High - Low)
dValore1 = (Close(-1) - Open(-1)) / (High(-1) - Low(-1))
dValore2 = (Close(-2) - Open(-2)) / (High(-2) - Low(-2))
dValore3 = (Close(-3) - Open(-3)) / (High(-3) - Low(-3))

Return (dValoreOdierno + 2 * dValore1 + 2 * dValore2 + dValore3) / 6

EndFunction
stoploss Posted - 27 March 2006 : 12:40:01
chiedo scusa, ma mi sono sbagliato. Avrei bisogno di sapere come scrivere il seguente indicatore:

RVI = (valore odierno + 2*valore[1] +2*valore[2] +valore[3])/6

dove
valore odierno = (chiusura-apertura)/(max-min)
[1] = (chiusura-apertura)/(max-min) della barra precedente
[2] = (chiusura-apertura)/(max-min) di 2 barre prima
[3] = (chiusura-apertura)/(max-min) di 3 " "

spero tu mi possa aiutare.
grazie mille
SupportoTecnico Posted - 26 March 2006 : 17:38:24
Certo che si può utilizzando il linguaggio di programmazione di Insider 3000.. e direi che la cosa è proprio banale!

Devi costruire un indicatore utente. Per farlo devi utilizzare la finestra di "Analisi" => "Gestione indicatori utente"

Il codice per costruirlo è:


Function Main()
Return (Close - Open) / (High - Low)
EndFunction


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