Вы находитесь на странице: 1из 50

1

2004 24

FOREX MAGAZINE 2004

2004 24

. .......................................................................................... 3
........................................................................... 5
................................................................................................... 6
FIBO ................................................................................................................................. 7
- 05.07.2004 ........................................................................ 10
.................................................................................................... 13
AUDUSD - Silver-channel .......................................................... 21
GBPUSD 05.07.2004 ................................................................................................................. 23
: ....................................................................................................... 29
........................................................................................................... 32
- ..................................................................................................................... 35
.................................................................................................................. 37
20 .................................................................................................................... 40
........................................................................................................................................ 42
MQL 4: ................................................................................................... 45
MetaTrader. 22 ............................................................................ 49
FOREX MAGAZINE

www.alpari-idc.ru
(095) 29-111-29

FOREX MAGAZINE 2004

2004 24

. .

"".
.
: "FOREX", "US Stocks",
"Futures". ,
- $1000, $500 $300 .
,
. http://
www.alpari-idc.ru/ru/contest/rules.php .
, "FORD FOCUS", ,
1- 10 .


: FOREX, . 5 000 .

:
" - FOREX"

327633 Mochilka

Russia, Moscow

37270.45 $1000

326745

WhGr

Russia, Moscow

37193.64

$500

328976

Karim

Russia, Volgograd

31013.90

$300

. "" () .

" - US Stocks"

328621

kuzuka

322839 Zolushka

Russia, Moscow

7156.24

$500

326746

Russia, Moscow

6507.90

$300

Russia, St.peterburg

WhGr


7450.57 $1000

. "" () .
" - Futures"

327635

Mochilka

,
Russia, Moscow

16802.00 $1000

322840

Zolushka

Russia, Moscow

12142.50

$500

328048

Tiha

Russia, Ufa

11930.00

$300

. "" () .

""


8 .
, .

327633 327634 327635

Mochilka

,
Russia, Moscow

2.094101

$1000

326745 326746 326747

WhGr

Russia, Moscow

1.734790

$500

320591 320592 320593

Bonic

Russia, Novosibirsk

0.845283

$300

322245 322246 322247

IlIa

Russia, Kazan

0.704282

$200

326001 326002 326003

gt

Russia, Vladikavkaz

0.532523

$200

319346 319347 319348

sharik

Belarus, Minsk

0.497721

$200

327965 327966 327967

Leon

Belarus, Minsk

0.427385

$200

325882 325883 325884

Vladimir

Russia,Chebocksary

0.424015

$200

324358 324359 324360

derek

Latvia, Riga

0.405316

$200

10

322744 322745 322746

rotiks

Russia, Lipetsk

0.399763

$200

FOREX MAGAZINE 2004

2004 24

, , , ""

.

""
.

: http://www.alpari-idc.ru/ru/
623.html . ForexMagazine
,
.
www.alpari-idc.ru.
!
. (095) 29-111-29
e-mail: info@alpari-idc.ru.
: www.alpari-idc.ru.
""

FOREX MAGAZINE 2004

2004 24

FOREX Review

(GMT)

05.07.2004

US

Holiday: All US Markets closed

- - .
06.07.2004

US

08.07.2004

19:00

US

Fed's Broaddus speaks on U.S.


economy to tax administrators

N/A

$3.9B

.
May Consumer Credit

, .
. .
09.07.2004

14:00

US

May Wholesale Inventories

N/A

-0.10%

.
.
09.07.2004

13:00

US

Fed's Hoenig speaks on Monetary Policy

www.forexreview.ru

FOREX MAGAZINE 2004


( 200
) .
, , FOMC, .
, ,
,

. ,
,
.
93.1 101.9 , 95.
25 .
, -
.

. .

. . - , ,
. , , . ,
,
.
.
/,

. .
Tankan
,
, ,
, , .
,
, , ,
.
-
. -

2004 24

. 112000 250000. 5.6%.


, , ,

, 50
.
, , , ,
, .
. , , ,
,

- .
5 9

. .
, ,
, .
- ,
, , ,
, . ,
4 . , .
"
", - - . " , , , ".
, .
. ,

. ,
- .


ForexMagazine
http://www.fxclub.org

FOREX MAGAZINE 2004

2004 24

FIBO

FOREX FIBO
, ,
- .
25
1.25%.
.

,
.

.
, , .
. , , 25
.
(ISM) 61.1 62.8 .
, ,
- , 51.1 49.3 .
, , ,
.
PMI .
ISM .
, .
112,000, .

11,000,
. , . 88.00
, .
0.3%
. 1.4%,
1.8%.


, -

: , .

.
EZ,
. , .
87.00,
86.10.
,

.
, .
, ,
90.00. ,
EZ
. .
120 . .

.
2.4% EZ
2.0%, . ,
2.0%.

, . 9.0% -

.
.
1.7%. 23% -

FOREX MAGAZINE 2004

FIBO

2004 24

34%,
4%.

, ,

EZ. EZ 54.4 54.7.
,
1.2350 , 1.2400. , EZ
, .
PMI ,
.

,
, , . .
,
1.2400 1.2440,
1.2500.
1.2500
,
EZ. EZ
, .
, .
, 1.2500, , , , .
,
, ,
, EZ
.
,
1.2200, , , 1.2140, 1.2080.

, . -

FOREX MAGAZINE 2004

FIBO

1.8010 1.8350.
10.7 . 10.2
., .

26.64 . 26.22 .,
127,000 124,000 .
,
0.9% 1.9% .
. PMI 54.8 55.5
.

.
0.7% 2003
3.4% ,
0.6% 3.0%.
,
, .
, ,
, .


, (PMI)
, .
1.8350

1.8400. 1.8460 1.8600.
,
,
. ,

, . ,

.

, 1.8280/00, 1.8200.
,
Tankan, .

2004 24


. 1.2%
. 2.7%, 9.3% .
0.5% ,
2.5%. 4.6%
2000 . .

110,000 . 210,000
.
Tankan, 22 , 13- 12 .
. . , 2005/06
5.7%,
0.6%. - ,
,
.
,

USD/JPY 107.40
109.60. USD/JPY
.
, 108.40.
,
Tankan,
.
, USD/JPY 109.00 .
USD/JPY
107.60
107.00.
105.50-106.00, USD/JPY
.

FIBO
Forex Magazine
http://www.fibo-forex.ru

FOREX MAGAZINE 2004

2004 24

- 05.07.2004

-
-
-
(www.forextrader.ru), ,

. -
, Forex.


0,25%.
. , . , . , . . ! ,
.
,
FOREXTRADER.RU
E-mail: trader_karlo@mail.ru

10


(21-25 2004)

EUR
CHF
GBP
JPY
CAD
AUD

FOREX
05-09.07.2004


FOREX, MSK

10:00-15:00
16:00-22:00

19:00-15:00
15:00-23:00

10:00-15:00
15:00-23:00
12:00-15:00
16:00-22:00

FOREX MAGAZINE 2004

- 05.07.2004

2004 24

EUR

,
1.2350-55.
- 1.1953.

:
- 1.219095. - 1.2061.

CHF

,
. - 1.2316 .
- 1.3200-05.

11

1.2387 .

FOREX MAGAZINE 2004

- 05.07.2004

2004 24

GBP

GBP
1.8475-80.
- 1.7478.

,
,
1.8333-38, - 1.8007.

JPY


. - 103,37, - 114,89-93.

12

-
109,55-60. 106,98.

FOREX MAGAZINE 2004

2004 24

EUR
:
- ,

. ,
, 4 :
1.1204-1.0309. 4 , 5 . ,
! , - 5 - 1.3930-1.5595.

EUR.
.
, 1.1700 - 1.1060,
,
.
- . 1.04290,9273.

EUR.

EUR. "" .
, - , .

1.1395-1.0815. , 4- .

13

FOREX MAGAZINE 2004

2004 24

EUR.
03.07.04 .

CHF. , 5
, , CHF
1.0897-0,8808. - 4
- 1.3210-1.4895.

CHF. . CHF
0,5107 - 5 -
, 3
1,0465, - 0,6298, - 4 1.3210-1.4005
, 1.4895.

CHF.
3 -
1,2230-1.1702 ( - ), - 4
1.2580-1,2680. - 5 .

14

FOREX MAGAZINE 2004

2004 24

CHF. "" CHF


30.06.04 ,
.

CHF. "" CHF


03.07.04 "".

CHF. -
CHF 03.07. -
3 1.2255-1,2062 (
). - 4 1,2354-1,2393,
1,2523. - 1,1980.

GBP. ,
- 2,0300-2.2243.
4 , -
1.7155-1.6000.

15

FOREX MAGAZINE 2004

2004 24

GBP. GBP ,
4
1.6797-1.5717, ,
5 2,0587-2.2550 .

GBP. "
" - 2.0029-2.1620.

GBP. - GBP.

GBP. GBP
03.07.04 - .

16

FOREX MAGAZINE 2004

2004 24

JPY. , 3
96,00,
118,19, - 84,55-65,90.

JPY. ,
, ,
.

JPY. ,
109,49-110,32 ,
- 102,70-98,45. ,
103,40.

JPY. -
, .

17

FOREX MAGAZINE 2004

JPY. - , 01 .

CAD. . - 3 1.1110, 4-
1.3939-1.4731, - 5- 1.09750,8881.

18

2004 24

JPY.
03.07.04
.

CAD. , 3
. 4 1.4272-1.4945,
5 1.1883-1.0613.

FOREX MAGAZINE 2004

2004 24

CAD. CAD "" - 5 1.4206-1.4797.

CAD. - "", .

CAD.
03.07.04
5 - 1.3115. - 5
- 1.4206-1.4797

AUD. AUD , - 1.1036-1.3830. , 4 -


0,6679-0,6027.

19

FOREX MAGAZINE 2004

2004 24

AUD. 4 - 0,6598-0,6000. - 0,8725-0,9950.

AUD. AUD 5 0,6750-0,6470. AUD


"".

AUD. - AUD, 27 .

AUD.
03.07.04 5 0,7188-07240 , 5
0,6750-0,6470.

http://www.forextrader.ru/ .
2004 - http://www.forextrader.ru/DTarchive/
ClientReportServlet.htm 2004 700%

20

FOREX MAGAZINE 2004

AUDUSD - Silver-channel

2004 24

Silver-channel. AUDUSD - .
Alex Silver.
VIAC.RU
Silver-channel.

Weekly
, 0,7250. ,
"" . ,
0,68, ,
0,7250 0,7500
10-11 .
, 2-3 ( ) 0,68-0,75 . . - ,
.

Daily
,
. , 17:00 ,
4- 22:00 , ,
30.06. Sky-channel 0.7106
0.7246.
, . , 0,7240-45. MACD
, - - .
.

21

FOREX MAGAZINE 2004

AUDUSD - Silver-channel

2004 24

4-
4- - . - -
. Future-channel 0.7188. ,
- , 4-
, , .
, , , , 0,7200-0,7250.
-
0,7011. - . " " .

- Sky-channel 0,6990
0,6888, .
, Silver-channel
0,7028, . , , , Future-channel
0,7025, .
, , .
- (0,7076),
Futurechannel ( 0,7193).

, . 4-
0,7070-80 0,7000 0,7188-1,7243.
- ( ):
Silver-channel
!
Silver-channel 4-
AlexSilver
Silver-channel Daily
www.viac.ru
Silver-channel Weekly
CFD

-
Silver-channel , . . .

22

FOREX MAGAZINE 2004

2004 24

GBPUSD 05.07.2004

05 2004


1.8328 76 ,
+0,42% . 28.06.04 02.07.2004.

28.06.2004
1.

29.06.2004
1. (Consumer credit) +1.6 . ( +1.3 . ,
+1.3 . ). , .
2. 4 +1.2% , +7.8%
( +1.2% , +7.9% ).
3. (Gfk consumer confidence) -4 ( -2).
.
4. (Consumer confidence) 101.9 ( 94.9,
93.2). 2002 .

30.06.2004
1. (GDP) +0.7%
, +3.4% ( +0.6% , +3.0% , +0.6% , +3.0% ).
2. (Current account) -5.3 . ( -7.3 . ,
-5.2 . ).
3. (CBI), (Retail sales
volume balance) +43% ( +51%).
4. (Chicago PMI) 56.4 ( 64.8,
68.0).

5. (FOMC)
(Federal fund rate) 0.25% 1.25%.

01.06.2004
1. (Jobless claims) 26.06 351000 ( 341000,
349000).
2. (CIPS manufacturing index) 54.8 ( 55.9,
55.6). .
3. (ISM index) 61.1 ( 61.5,
62.8).
4. (Construction spending) +0.3% ( +0.7%,
+1.3%).

02.06.2004
1. (Nonfarm payrolls) +112000 ( +250000,
+248000). ,
.
2. (Unemployment rate) 5.6% ( 5.6%, 5.6%).
3. (Factory orders) -0.3% ( +1.0%, 1.7%).

23

FOREX MAGAZINE 2004

GBPUSD 05.07.2004

2004 24

()

, :
I, II, III, IV, V, A, B, C
- [1], [2], [3], [4], [5], [a], [b], [c]
(1), (2), (3), (4), (5), (a), (b), (c)
1, 2, 3, 4, 5, a, b, c,

1,2,3,4,5,a,b,
28.06.2004 02.07.04 , 0,25%
, .
, , 22 .
w-x-y. , 180
, 3 .
05.07.2004 ,
.
1,8634 . ,
1,8350. , .
http://www.alpari.org/ru/analytics/forecast/ , ,
150
. 02.07.2004 16 30 . . .

24

FOREX MAGAZINE 2004

GBPUSD 05.07.2004

2004 24

(3 ) .
1.7702 1.7693-1,7561.
4 (0)-(3)-(4?) Price sorting 4 ,
. , 1,9657.
5 (2)-(3)-(4?) Price sorting 5 ,
. 1,9071 1,9773.
(5), , (4)
1.7480. C 17 2004 .

25

FOREX MAGAZINE 2004

GBPUSD 05.07.2004

2004 24

1.8011-1.8645 (564 )
weekly Res: 1.8434 / 1.8514 / 1.8564 / 1.8645
weekly Sup: 1.8222 / 1.8142 / 1.8092 / 1.8011
weekly NZ 1.8303-1.8353 (50)
------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.8155-1.8501 (346 )
intraday Res:...1.8386 / 1.8430 / 1.8457 / 1.8501
intraday Sup: ..1.8270 / 1.8226 / 1.8199 / 1.8155
day NZ 1.8314-1.8342 (28 )
NZ,
.
, .
, .
3 .
1
.
1 24 .

26

FOREX MAGAZINE 2004

GBPUSD 05.07.2004

2004 24

, , - 20,3
.
, - ,
11, 21,41, 12, 14.
1. 11 02.04.2004 1.8601.
2. 12 04.09.2003 1.5609.
3. 12 08.06.2004 1.8474.
4. 18 02.04.2004 1.8601.
5. 14 19.02.2004 1.9139.
6. 11 15.05.2004 1.7480.
6 , .
, 3.
+180 . , ,
, .
, , 5
1,8570.

27

FOREX MAGAZINE 2004

GBPUSD 05.07.2004

2004 24

Time Ellipse

,
, 1.8350,
-.

:
E-mail: a_vlad@viac.ru
www.viac.ru

28

FOREX MAGAZINE 2004

2004 24

:
www.aktienboard.com
?
1998.
. , ( 40 )
( ) . , , , , . - , ! . . .
. , -
.
,
. . , , ,
- ,
.
, .
1999. .
?
,
.
. , , . , ,
2001., , .
?
, ,
(6 ). .

29

,
,
- ?
- , .
?
,
, ,
?
, . ,
- , . , ( ).
, ?
, , . . ,
.
. , .
. . . - ,
. , ,
.
?
. , -

FOREX MAGAZINE 2004

, .
.
, 2% (
), .
- 1%. , .
.
,
, , .
, , 50%- , , , , 10 , ?
17 . .
?
20-40%. 20%, .. , .
, , ,
, , .
,
?

2004 24

.
, , , , -
. ,
, , .
?
,
, ,
.
.
? ? ? , , ,
?
, ,
, . , .
:
? ?

, 20% .

12-15%, ,
20%, .

,
?

, ?

25%.
,
?
? ? ? ?
. ,
-

30

35%,
.
?
? ,
, ?

FOREX MAGAZINE 2004

25%,
.
, .
. 27-30% ,
20%. ,
.
? ? , ? ?
100 .
. ,
.
,
, , ?
- 20%,
,
.
, , ?
100 .
.
, .
?
?
?
, . .
,
, .
.

2004 24

, . -
,
.
.
- ?
,,
, ?
, 1% .
- 1.5%. - ,
, . ,
, .
- - ?
, -?
, , ,
. ,
,
.
. -
. - ,
.
?

, 1% , - 1.5%.
- 1%
. . -
.
, .

Forex Magazine
www.aktienboard.com

31

FOREX MAGAZINE 2004

2004 24



,
. , , . . , "" "", -
.
,
, .
,
- .
-
! -
60,
. , ,
, -
,
.
- , - , .
,
, ? , - ,
.
- ,
.
, ,
,
. ,
, , , . ,
. - . , .
, , -

32

www.lbrgroup.com
.

. ,
, .

, , .
,
. .
,
,
, ,
, , . , ,
.
,
. , -
, ! -
, , . , ..
. - 2,5 ,
.
, , , ,
" ", !
,

, , .
- , .
( ?)
, , ,
. , .
,
, .

FOREX MAGAZINE 2004

2004 24

. , .
.
, , . ,
.
. ,
.

. , , . -
, .
, ,
. ?
,
!
- , . ,

. - , , -,
,
. , , , .
, . , , , ,
.
- , ,
,
, . ,
, . .
,
. ,
.

33

FOREX MAGAZINE 2004

2004 24

- , !
.
- 20 ,
, ! 135 (
!) ,
.
! , - . : " ".
. , . ,
,
.
, . , . . , . .
. , , .
.

, ,
.
,
, . , ,
,
, ,

,
.
- , : ,
, ,
,
, , , , !
Forex Magazine
www.lbrgroup.com

34

FOREX MAGAZINE 2004

2004 24

-
www.hardrightedge.com
-
.

,
. -
, , .
- , .
- .
.

. ,

.
- . ,
, .
,
. ,

, - .
, .

- .
, . , ,
.
, .
,
. .
,
,
.
. - .

- . .
, ,
.

35

FOREX MAGAZINE 2004

2004 24

,
.

.
, , .
,

. ,

.

. 200 50 - .
, .
,

50 ,

200 . ,
.

,
.
.

36

. "Talk
America" 12.09.03 7
.
,
" ".
V-
.
- . , .
, ,
.
90 .
.
Forex Magazine
www.hardrightedge.com

FOREX MAGAZINE 2004

2004 24


www.linnsoft.com

, ,
,
. , ,
, , . , 1.
, , ,
.
,
X , X
( X = 0, ).

,
, .
,
( 1)
( 0),
,
.
.

,
" " (. 23). ,
, , .


. 2 , 2
( , ). - 1.5 , 1,5 . " " .
,
. ,
, , ( ).

(MA),
, . , , X
, X .
.
, ,
, .

37

FOREX MAGAZINE 2004

"Intel
Corporation" (INTC). (LRF) , , 2
, , .

= (, Z),
Z -
(: ( ),
1. ,
, .)
= ( , X) +
*Y,
Z -
X -
Y - ( , 0)
-
= +
( , X)*N,
N - ()
X -
= - ( , X)*N,
N - ()
X -

2004 24

MA - (
), .

- , .

-
, .
0, .
0, ,
.

- , ,
X-1 (X ),
Y (Y ),
.

- , . , .
.

- , .
, . .

() -
.

-
.

=
= ( - / ( , X), X -

- , (, ...).

MA - ( ),
(, ...).

38

FOREX MAGAZINE 2004

2004 24


,
,
, .

,
. 0 ( ), 100,
MA 1 ( )
1-, 2-, 3-, 5- S&P, , , .
, , , 1- , 2 .

, , (
) .
,
, .

,
.
( =
1), ( = 0),
= 13.

39

-2.3 ,
2.3 ( 13 ).

.

MSFT.
13, 1.5 . "Paint Bar". "Paint Bar" . LRFU LRFL - .
, ,
, ,
.

FOREX MAGAZINE 2004

2004 24

20

20
www.hardrightedge.com
?
.
, . .
, , .

.
, .
. ,
.
, , .

. , , , "".
.

" ".
,
:
1. , .
, , , . , .
2. .
. ,
.

40

3. , .
, ,
.
4. - . , .
5.
. . .3.
6. , . ,
, . - " ", .
7. .
. .
, .
8. /
. , .
9. , .
. .
10. , . .
11. ,
. , .
.
12. - . ,
, - .
13. .
.

FOREX MAGAZINE 2004

20

2004 24

14. 1-2-3--. , .
15. 200-
, .
,
.
16. .
, ?
, .
17. .
.
18. .
. ,
.
19.
, . , .

,
, ( )
. ,

.

20. .
, .


.
,

.
,
- .

41

FOREX MAGAZINE 2004

2004 24


Sam Perdue

www.optionetics.com

, .
.
,
. ,

. ,
, - .
. . "
" 1935. ,
,
. , - .
, , .
, ,
. , , ,
. ,
, ,
, , . ,
.


.
. ,
.
. , 1, ,
X A.
, B,
X. C, A. ,
C
D.
,
D , X A.

. B
0.5 0.618 , X A. , B C
0.618 0.786
B. ,
C D
1.272 - 1.618
B C. C
D
0.786 0.618 X A.
, , C D
B. 1.618
. , , C D, 1.00
- 1.618 B.

42

FOREX MAGAZINE 2004

2004 24

,
, . , ,
, . ,
. ,
C D ,
.

(B)

(A)

,
0.786 0.618 B.
, , 0.786
. ,
, .

,
, 0.50, 0.618 0.786 X A. ,
0.50 0.618 B. , 0.618 0.786 C D. ,
. ,
B
0.50 - 0.618.
C D,
0.618.

43

FOREX MAGAZINE 2004

2004 24

,
1.272 1.618, B C. ,
1.618.

,
, D. D
,
.

, , B
C D.
B 1.00 1.618 C. , .

,
,
. .
, D, . , ,
, . , ,

, . , ,

, ,
,
. ,
- 1,
.
,
,
.

..

44

FOREX MAGAZINE 2004

2004 24

MQL 4:

MQL 4:
(AKA HORN)
http://forex.tomsk.ru

MQL 4, ,
4- Forex Magazine.
,
MQL 4, ,
. , ,
.

. , , .
, , ,
. ,
.
,

- .

Aroon. Tushar Chande Technical Analysis of Stocks &
Commodities 1995 . : http://ftn-trader.chat.ru/try/th_aroon.htm
, : n- High Low,
n-.

, . , , , , ,
.
Aroon ,
:
1. , , :
a.
, . .
b.
, . .
c.
,
,
, 100.
, ,
.

, Aroon
.

d. , , ,
100.
,
.

, - ,
.

2. ,
, . ,

45

FOREX MAGAZINE 2004

2004 24

MQL 4:

1. , .
, ,
Aroon .
,
: - , "".
,
:

{
...

-
...
.
,
,
- .
...
}

. ,
. MQL 4 , .

. MQL 4
.
MQL 4 , "for" "while". "for"
, , ,
- . , , :

46

int i;
for( i=0; i < 100; i++) {
print(i);
}
, , 100 .
0. , ,
"i", . ,
, 0 99.
, "for" , . "i=0"
, "i" "0". - "i <
100" ,
, , "i",
"100". - "i++" ,
, ,
"i", 1.
"for" , 99 0.

int i;
for( i=100; i >= 0; I--) {
print(i);
}

MQL 4, - "while", ,
, , , .
, 0 99 , "while":

FOREX MAGAZINE 2004

MQL 4:

2004 24

int i = 0;

, "for" - ,
.

while(i < 100) {


print(i);
i++;
}

, ,
"for".

, .
-
, , , ,
.
, "while" -

Aroon'
, ,
, ,
. ,
"for".
Aroon MQL 4, "for".

//+------------------------------------------------------------------+
//|
Aroon.mq4 |
//|
Copyright c 2004, Horn |
//|
alexander@indus.ru |
//+------------------------------------------------------------------+
#define
copyright "Copyright c 2004, Horn"
#define
link
"alexander@indus.ru"
int

g_period;

int
int
int
int
int
int

g_LineColor1;
g_LineStyle1;
g_LineWidth1;
g_LineColor2;
g_LineStyle2;
g_LineWidth2;

int init(int period=10,


color LineColor1=Red,
int LineWidth1=1,
int LineStyle1=STYLE_SOLID,
color LineColor2=MediumBlue,
int LineWidth2=1,
int LineStyle2=STYLE_SOLID)
{
g period=period;

47

FOREX MAGAZINE 2004

2004 24

MQL 4:

g_LineColor1=LineColor1;
g_LineWidth1=LineWidth1;
g_LineStyle1=LineStyle1;
g_LineColor2=LineColor2;
g_LineWidth2=LineWidth2;
g_LineStyle2=LineStyle2;


Forex Magazine

return(0);
}
int deinit()
{
return(0);
}
int start()
{
int i;
int HighestBar, LowestBar;
double aroonUp, aroonDn;
for(i=0; i < Bars-g_period; i++) {
//
HighestBar = Highest(MODE_HIGH,i+g_period-1,g_period);
//
LowestBar = Lowest(MODE_LOW,i+g_period-1,g_period);
// ,
// / ,
// , /
// Aroon' 100
aroonUp = 100 - ((HighestBar - i) / g_period) * 100;
aroonDn = 100 - ((LowestBar - i) / g_period) * 100;
//
SetIndexValue(0, i, aroonUp);
SetIndexValue(1, i, aroonDn);
};
}

return(0);

. ,
: " ".

48

FOREX MAGAZINE 2004

2004 24

MetaTrader. 22

MQL II. 22
Fxtest


artur@fxtest.ru

, . .
-
<... , ,
, ?...>
, <> ,
( <> ), .
. , , , , .
if SetIndexValue(shift,ind) else SetIndexValue2(shift,ind2);
<... , , ?... >
.
.
, . , 1, , , timeframe(3600), .. 3600 -1 . ( t1=curtime), :
if curtime-t1>timeframe*N then {................
curtime - 0 , 1 1970 .
t1- curtime N
N-
.
. , , Barr
, bars, Barr=bars.
if Barr+N>=bars then {.......

49

FOREX MAGAZINE 2004

2004 24

MetaTrader. 22

N-
<... 3 ?.. >
, .., , .
2 .
, ( ) .
< ... , , . ?...>
, , <> .
, , N . ,
.
:
For shift = 0 To Nbars Begin

For shift =Nbars Downto 0 Begin
<... , . ?...>
, <slippage>.
SetOrder(operation,lots,price,slippage,stoploss,takeprofit,color)
. Slippage
. , , 3 ,
, , 3-4 .

,
.

artur@fxtest.ru

50

FOREX MAGAZINE 2004