Differenze tra le pagine "File:Klinger volume oscillator.jpg" e "Formula Klinger volume oscillator"
imported>Stefano Fanton |
imported>Stefano Fanton |
||
Riga 1: | Riga 1: | ||
+ | La formula del Klinger volume oscillator è in linguaggio Easy Language dove: | ||
+ | *'''FastX''' è la lunghezza della media esponenziale lunga della forza esercitata dai volumi | ||
+ | *'''SlowX '''è la lunghezza della media mobile esponenziale corta della forza esercitata dai volumi | ||
+ | *'''Trigger '''è la lunghezza della media mobile esponenziale del KVO. | ||
+ | |||
+ | INIZIO FORMULA<br>{*********************************************<br>KVO-INDICATOR<br>OmegaResearch.com<br>**********************************************}<br>Inputs: FastX(34), SlowX(55), TrigLen(13), Smooth(1);<br>Vars: Trigger(0);Trigger = XAverage(KVO(FastX, SlowX), TrigLen);<br>IF Smooth <= 1 Then Begin<br>Plot1(KVO(FastX, SlowX), "KVO");<br>Plot2(Trigger, "KVO Trigger");<br>End<br>Else Begin<br>Plot1(Summation(KVO(FastX, SlowX), Smooth), "KVO");<br>Plot2(Summation(Trigger, Smooth), "KVO Trigger");<br>End;<br>Plot3(0, "Zero");<br>IF Plot1 Crosses Above Plot2 OR Plot1 Crosses Below Plot2 OR Plot2 Crosses Above Plot3 OR Plot2 Crosses Below Plot3 Then<br>Alert = True;<br>{*****************************************<br>Function – VForce<br>*****************************************}<br>Vars: TSum(0), Trend(0), DM(0), CM(0);<br>TSum = High + Low + Close;<br>IF TSum > TSum[1] Then Trend = 1<br>Else Trend = -1;<br>IF Trend = Trend[1] Then CM = CM + Range<br>Else CM = Range + Range[1];<br>IF CM <> 0 Then VForce = Volume * AbsValue(2 * (DM/CM) -1) * Trend * 100;<br>{*******************************************<br>Function – KVO<br>*******************************************}<br>Inputs: FastX(Numeric), SlowX(Numeric);<br>Vars: FXAvg(0), SXAvg(0);<br>FXAvg = XAverage(VForce, FastX);<br>SXAvg = XAverage(VForce, SlowX);<br>KVO = FXAvg - SXAvg; | ||
+ | |||
+ | FINE FORMULA | ||
+ | |||
+ | <br> | ||
+ | |||
+ | == Vedi anche: == | ||
+ | |||
+ | *[[Indice sequenziale Formule|Indice sequenziale Formule]] | ||
+ | |||
+ | |||
+ | |||
+ | [[Category:Formule]] |
Versione attuale delle 23:50, 15 gen 2012
La formula del Klinger volume oscillator è in linguaggio Easy Language dove:
- FastX è la lunghezza della media esponenziale lunga della forza esercitata dai volumi
- SlowX è la lunghezza della media mobile esponenziale corta della forza esercitata dai volumi
- Trigger è la lunghezza della media mobile esponenziale del KVO.
INIZIO FORMULA
{*********************************************
KVO-INDICATOR
OmegaResearch.com
**********************************************}
Inputs: FastX(34), SlowX(55), TrigLen(13), Smooth(1);
Vars: Trigger(0);Trigger = XAverage(KVO(FastX, SlowX), TrigLen);
IF Smooth <= 1 Then Begin
Plot1(KVO(FastX, SlowX), "KVO");
Plot2(Trigger, "KVO Trigger");
End
Else Begin
Plot1(Summation(KVO(FastX, SlowX), Smooth), "KVO");
Plot2(Summation(Trigger, Smooth), "KVO Trigger");
End;
Plot3(0, "Zero");
IF Plot1 Crosses Above Plot2 OR Plot1 Crosses Below Plot2 OR Plot2 Crosses Above Plot3 OR Plot2 Crosses Below Plot3 Then
Alert = True;
{*****************************************
Function – VForce
*****************************************}
Vars: TSum(0), Trend(0), DM(0), CM(0);
TSum = High + Low + Close;
IF TSum > TSum[1] Then Trend = 1
Else Trend = -1;
IF Trend = Trend[1] Then CM = CM + Range
Else CM = Range + Range[1];
IF CM <> 0 Then VForce = Volume * AbsValue(2 * (DM/CM) -1) * Trend * 100;
{*******************************************
Function – KVO
*******************************************}
Inputs: FastX(Numeric), SlowX(Numeric);
Vars: FXAvg(0), SXAvg(0);
FXAvg = XAverage(VForce, FastX);
SXAvg = XAverage(VForce, SlowX);
KVO = FXAvg - SXAvg;
FINE FORMULA
Vedi anche:
Cronologia del file
Fare clic su un gruppo data/ora per vedere il file come si presentava nel momento indicato.
Data/Ora | Miniatura | Dimensioni | Utente | Commento | |
---|---|---|---|---|---|
attuale | 10:49, 19 apr 2021 | 388 × 321 (34 KB) | Maintenance script (discussione | contributi) | == Dettagli == Importing file |
Impossibile sovrascrivere questo file.
Utilizzo del file
La seguente pagina usa questo file: