#
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Home
Forex Forum
+ Add Script
Metastock
Expert Advisors
Explorations
Indicators
Trading Systems
Metatrader
MQL Experts
MQL Indicators
MQ4 Experts
MQ4 Indicators
MQ4 Scripts
Tradestation
Functions
Indicators
PaintBars
ShowMe
Trading Systems
Amibroker
Commentaries
Explorations
Functions
Indicators
Trading Systems
Contact us
Newsletter
Group: Metastock Indicators
Title: Fibonacci Levels II
Description:
Fibonacci Levels II
Fibonacci Levels II ZigPerc:= Input("Zig-Zag Percentage", .1, 99, 1); {basic peak and trough level calculation} P1:=ValueWhen(1,Peak(1,Zig(C,ZigPerc,%),ZigPerc), Peak(1,Zig(H,ZigPerc,%),ZigPerc)); P2:=ValueWhen(1,Trough(1,Zig(C,ZigPerc,%),ZigPerc), Trough(1,Zig(L,ZigPerc,%),ZigPerc)); {Fibonacci retracement levels calculation} P3 := P2 + (P1-P2)*0.236; P4 := P2 + (P1-P2)*0.382; P5 := P2 + (P1-P2)*0.5; P6 := P2 + (P1-P2)*0.618; P7 := P2 + (P1-P2)*0.764; {Plotting the levels} P2; {through} P3; {23.6% (76.4%) retracement} P4; {38.2% (61.8%) retracement} P5; {50.0% retracement} P6; {61.8% (38.2%) retracement} P7; {76.4% (23.6%) retracement} P1; {peak}
Author/Source:
http://purebytes.com/archives/metastock/
Forex Directory
|
Forex Trading Systems
|
Privacy
|
Disclaimer
|
Contact