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

19

31 2004

2004 19

FOREX MAGAZINE 2004

2004 19

........................................................................... 5
................................................................................................... 7
FIBO ................................................................................................................................. 8
FOREX ............................................................................. 11
.................................................................................................... 15
AUDUSD - Silver-channel ......................................................... 17
GBPUSD 31.05.2004 ................................................................................................................. 19
. .................................................................. 25
................................................................................................................................... 29
.................................................................................................................................. 32
............................................................................................................................ 34
................................................................................................................................ 37
TRIN ....................................................................................................................................... 40
MQL II: Meta Editor 4......................................................... 41
MetaTrader. 17 ............................................................................ 43
FOREX MAGAZINE

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

FOREX MAGAZINE 2004

2004 19

"" FOREX- FORUM '2004

""
FOREX- FORUM '2004
,
-, FOREX.
,
- , .
""
. , ,
.

.
,
.
,
,
,
"".

""


.
,

""
.
,

, "" ,
.
: , ,
. : , 2.
,
, 10 .
"" ,


"". 40$ 12$ .
,
, - ,
.

FOREX MAGAZINE 2004

"" FOREX- FORUM '2004

2004 19

, , "",
Viac.ru. ( , Internet.)
, , "" -
"" ,

FOREX .
.

"" " - "
,
.

.
, "" ,
www.alpari.org

: . .2

FOREX MAGAZINE 2004

2004 19

FOREX Review

31.05.2004

(GMT)
1:30

Australia

Q1 Inventories

N/A

0.30%

N/A

6.90%

N/A

0.80%

N/A

0.60%

N/A

3.80%

N/A

0.00%

N/A

5.2M

N/A

7.9M

N/A

52.5

N/A

53.5

N/A

55.3

N/A

54

N/A

1.50%

N/A

62.4

N/A

1.50%

N/A

62.4

N/A

1.40%

N/A

4.00%

N/A

16.4M

N/A

13.1M

.
31.05.2004

5:00

Japan

31.05.2004

6:30

Italy

April Housing Starts Y/Y

.
April PPI M/M

.
31.05.2004

6:30

Italy

April PPI Y/Y

.
31.05.2004

11:30

Canada

Q1 GDP Q/Q saar

.
31.05.2004

12:30

Canada

March GDP M/M

.
01.06.2004

4:00

US

May Auto Sales

.
01.06.2004

4:00

US

May Truck Sales

.
01.06.2004

5:45

Italy

May Reuters PMI

.
01.06.2004

5:50

France

May Reuters PMI

.
01.06.2004

5:55

Germany

May Reuters PMI

.
01.06.2004

6:00

EMU

May Reuters PMI

.
01.06.2004

14:00

US

April Construction Spending

.
01.06.2004

14:00

US

May ISM Manufacturing Index

.
01.06.2004

14:00

US

Apr Construction Spending

.
01.06.2004

14:00

US

May ISM Index

.
02.06.2004

1:30

Australia

Q1 Real GDP Q/Q

.
02.06.2004

1:30

Australia

Q1 Real GDP Y/Y

.
02.06.2004

4:00

US

May Total Light Vehicle Sales

.
02.06.2004

4:00

US

May Domestic Light Vehicle Sales

FOREX MAGAZINE 2004

2004 19

02.06.2004

4:00

US

May Truck Sales

NA

7.8M

NA

5.2M

N/A

0.50%

N/A

7.70%

3.50%

3.50%

.
02.06.2004

4:00

US

May Auto Sales

.
02.06.2004

8:30

UK

April M4 R M/M

.
02.06.2004

8:30

UK

April M4 R Y/Y

.
03.06.2004

12:30

US

Q1 Productivity-Rev.

, , , -
( ) . -
, . .
03.06.2004

12:30

US

Q1 r Nonfarm Productivity

N/A

3.50%

N/A

0.50%

N/A

4.30%

66.0

68.4

N/A

33.7

N/A

0.30%

N/A

288K

5.60%

5.60%

.
03.06.2004

12:30

US

Q1 r Unit Labor Costs

.
03.06.2004

14:00

US

April Factory Orders

.
03.06.2004

14:00

04.06.2004

12:30

US

May ISM Non-Manufacturing Index

.
US

May Average Workweek

.
04.06.2004

12:30

US

May Hourly Earnings

.
04.06.2004

12:30

US

May Nonfarm Payrolls

.
04.06.2004

12:30

US

May Unemployment Rate

, - , -,
. . "May Nonfarm
Payrolls".

www.forexreview.ru

FOREX MAGAZINE 2004



.
, .
, , , ,
,
, .
Ifo, , Ifo , , .
,
, ,

.
. , 11.8%,
, 10 . , , ,
,
.
. , 3000,

2004 19

10000. .

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

ForexMagazine
http://www.fxclub.org

, , , . ,
. - .
, / .

FOREX MAGAZINE 2004

2004 19

FIBO

FOREX FIBO
. 90.49 (
21 ) 88.47,
28 88.90. ,
.
0.6%, 0.3%, 0.5% 0.2% .
, PMI 16 68.0 .
62.0 63.9.
.
74.4 65.1, 20 . 54.8
50.9,
1999 . , , , .

4.4% 4.2%. ,
4.5%. -
28 . (
15.3 .), ,
, . ,

3.2% 3.0%.

2.9%, , 5.7% . 3,000 344,000
,

.

, 89.90.
, 50%
Fibonacci retracement 88.42
.
87.00, 84.50.

. 42
39.90 . , , , .

, . 10
11.9%, . .
,

.
,

.

.
50
.
90.00.
,
1.2297,
.
.
.
. EZ, , -

FOREX MAGAZINE 2004

FIBO

2004 19

.
,
Ifo, 96.1 96.3 .
, .
0.28 0.38 . EZ 16 14 .

.
, EZ.
, EZ . EZ 5.1 . ,
5.2 . .
23.9 . ,
27.7 . , EZ .

EZ
, .
2.5%, 2.0%, . 1.2297,
.
,
1.2230. 1.2200
1.2370/00,

.
,
, , .
1.1985.

.

FOREX MAGAZINE 2004

FIBO

1.8424

550 .

.
28.9
. , 2001 .
3.0%, 0.6%
.
, ,
, 3.2% 0.7% . . Nationwide
1.9% . 19.5%, .
.
,

, ,
.
.

,
. . 1.8320
1.7480
,
. .
1.7950 . ,
1.8580/00 ,
, ,
. 1.8000,
1.7950 , 1.8600.

10

2004 19

,

. , , ,
2004 2.6%
, 5.6%
,
35 . ,
0.2%,
.
,
4.7%, . 3.3% 8.5%
. ,
,
. 9.3%,
, 1975 .
, ,
, .

, .
/ 113.30 110.05,
111.30.

/. 108.00/30,
, - , . ,
/ 112.30 .

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

FOREX MAGAZINE 2004

2004 19

FOREX

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

. -
, Forex.

,
500 , -
.
, , ,
1.21 1,22.
1.2700, .

, 110,00.
, , , .

- , ,
- .
, 9-50 13 , ,

.
12-30
, 1300 - PPI . , , 12 .

11


EUR

CHF

GBP

JPY

CAD

AUD

FOREX
31.05.-04.06.2004


FOREX, MSK

09:00-14:30
16:00-20:00

10:00-15:00
16:00-20:00

11:30-22:30

11:00-15:00
16:00-22:00

,
.
-
. -
, 16-30 - - (Factory
orders ). ,
, .

FOREX MAGAZINE 2004

2004 19

FOREX

EUR

,
: 1.2100 1.2200.

. .

:
1.2300 1.2214

CHF

,
1.2528.

12

1.2695 ,
, .

FOREX MAGAZINE 2004

2004 19

FOREX

GBP

, . - 1.858385


1.8029-34, , , , 1.8400. - 1.7473.

JPY


110,00,
200 .
. - 114,87-92,

13

,
, . - 113,15-20, .

FOREX MAGAZINE 2004

2004 19

FOREX

1.317013750 ( - c),
, ,
,
. - 1.1790, 1.1500-1.1335.
, , EURGBP, EURCHF. , -
( ).

109,77-108,65. 125,00-135,00 .

14

1.2490- 1.2400 1,2000


.
- . ...
1.3170-1.3500 -
CHF.
CHF - - 1.2230- 1.1700 (
), 1.2675 ( ) - 1.1285 - ( ).

.
- 2.0035- 2.1620.
,
1.6550-1.5900, : , .

FOREX MAGAZINE 2004

2004 19



,
. OPEC ,
. - ,
1.5 . ,
12-15
.
. ,
,

.
- OPEC
.

OPEC 2.3-2.5 .
.
OPEC
.
, :
" , , ", -
OPEC.

OPEC 3- .

15


. , EIA 700000 , 21 .
, , ,
, . ,

,
.


OPEC. , OPEC
3

. , -
, .
. 95-96%
.
98%. 340000 . ,
, 170000 .

5 . -

FOREX MAGAZINE 2004

2004 19

.

.
, , 10.5 . . , .

. WTI
44 $39.88 .
, , 5.15 $1.4367 .
, ,

.
OPEC 3
. , . ,
WTI
$38 ,
$35 .


Forex Magazine
www.alpari-idc.ru

16

FOREX MAGAZINE 2004

AUDUSD - Silver-channel

2004 19

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

Weekly

0,6889, . , ,
. Sky-channel 0,7080, .
, , 0,7120-25. 0,7113 , , .
0,7000. 0,7246 - -
Silver-channel, 0,7401 - -. Silverchannel 0,7544 Sky-channel 0,7721, . 0,70 -
, 0,6985-90.

Daily
13.04.2004,
- 0,7083. Silver-channel
0,7151, ,
. , 0,70 -
. .
0,7235 ( Sky-channel), 0,7371 (Zen-channel) ,
, 0,7463-0,7620.

Future-channel. .
0,70 - ,
0,6985-90.

17

FOREX MAGAZINE 2004

AUDUSD - Silver-channel

2004 19

4-
4-
. 0,6971. -
Future-channel 0,7189 Span B 0,7183.
- 0,7127.
,
0,7007. ,
Sky-channel -,
.
. 4- - .
0,6970, - 0,7180-90,
,
0,70.


, -
Sky-channel -
0,6976. (4:00 )
. , , - . -, -,
Sky-channel. - 0,7075,
0,7080-85, Silver-channel 0,7105.
,
Silver-channel.
Silver-channel - 0,7044.
Skychannel 0,7006 0,70
.

0,7120-30, 0.70
. 4- ,
!
AlexSilver
www.viac.ru

18

FOREX MAGAZINE 2004

2004 19

GBPUSD 31.05.2004

31 2004


1.7833 453 ,
+2,53%. .
24.05.2004
1. .
25.05.2004
1. .
2. (Consumer confidence, 93,2).
.
3. , ,
20% .
4. .
26.05.2004
1. (Durable goods orders, -2,9%).
-0,5%.
2. .
3. ,
.
27.05.2004
1. Stive Nickell, - , ,
.
2. 1 4,4%
344 ( )
28.05.2004
1. (Chicago PMI 68.0/62.7, Michigan Sentiment Index 90.2/94.5,
Personal income 0.6%, Personal spending 0.3%
2. Chicago PMI 4,1 68,0, Lehman Brothers ISM,
63,5 62.

GBPUSD

19

Close

Close

21.05.2004

28.05.2004

1.7880

1.7880


()

+453

(%)

+2.53

Close
31.12.2003

1.7834


()


(%)

+499

+2.80

FOREX MAGAZINE 2004

GBPUSD 31.05.2004

2004 19

()

, :
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,
1,8120 1,8310. ,
. , (4),
1.8601. , , .
1.8525.

20

FOREX MAGAZINE 2004

GBPUSD 31.05.2004

2004 19

(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.

21

FOREX MAGAZINE 2004

GBPUSD 31.05.2004

2004 19

1.7778-1.8888 (1110 )
weekly Res: 1.8518 / 1.8659 / 1.8747 / 1.8888
weekly Sup: 1.8377 / 1.8289 / 1.8148 / 1.8007
weekly NZ 1.8289-1.8377 (88)
------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.8141-1.8525 (384 )
intraday Res:...1.8397 / 1.8446 / 1.8476 / 1.8525
intraday Sup: ..1.8269 / 1.8220 / 1.8190 / 1.8141
day NZ 1.8318-1.8348 (30 )
NZ,
.
, .
, .
3 .
1
.
1 24 .

22

FOREX MAGAZINE 2004

GBPUSD 31.05.2004

2004 19

, , - 20,3
.
, - ,
11, 21,41, 12, 14.
1. 11 19.02.04 1.9139.
.
2. 11 02.04.04 1.8601. ,

3. 12 02.04.04 1.8601. ,
4. 12 04.09.2003 1.5609.

5. 11 16.04.2004 1.7761.
6. 12 15.05.2004 1.7480. .
, , ( 6 14),
28.05.2004. ,
1.8500 . ,
1.8325 . ,
1.8180. ,
1.8280 -1.8400 . .

23

FOREX MAGAZINE 2004

GBPUSD 31.05.2004

2004 19

Time Ellipse

240 , 2- ,
. ,
, .
1.8255 ( 0,743), 1,8387 ( 0,856). ,
, . , .
, , 1.8215 -1.8523.
, 25.05.2004 , .
, , ,
. , ,
. , .

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

24

FOREX MAGAZINE 2004

2004 19

.

.
.
. ,

, 11% .
,
, 10%
. , , .
, ,
7 , 22
, 6 . 0.3% ,

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

, .

25

: ?
: . ,
, ? , . , , ,
. ,
,
.
: , , ,
. , , ?
: . ,
.
:
?
:
. .
:
- ,
- .
. , :
, , . . 50% , 50% . , , ( ), , ( ),
.
, , .

FOREX MAGAZINE 2004

2004 19

, 100 $. . .

.
1 1000.

: ,
.

: , ,
, ,
,
?

: . ,

, ? , ,
, .
, 1 $ . 99
1 $ . , .

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

, , 3 7 .
, 3 7
- ?

+0.5 x 2 - 0.5 x 1 = +1.0 - 0.5 = + 0.5.

- 50 %

26

: , 1 (50%) (2) (50%) (1).


( 100)


10.000

50.0000

500.0000

5000.0000

25.0000

250.0000

2500.0000

12.5000

125.0000

1250.0000

6.25000

62.5000

625.0000

3.12500

31.2500

312.5000

1.56250

15.6250

156.2500

0.78125

7.8125

78.1250

0.390625

3.90625

39.0625

0.1953125

1.953125

19.53125

10

0.09765625

0.9765625

9.765625

11

0.048828125

0.48828125

4.8828125

12

0.0244140625

0.244140625

2.44140625

13

0.0122070313

0.1220703125

1.220703125

14

0.0061035156

0.0610351563

0.6103515625

15

0.0030517578

0.0305175781

0.3051757813

99

2. E-28

2. E-27

2. E-26

1000

, 1 $, 50 .
: ,
?
: ?
- () 50%- 50
- () 30%- 1.10 $?
: ,
, .
: . , , .
30%, 70 %.

FOREX MAGAZINE 2004

- 70 %


( 100)

1 000

10 000

70.0000

700.0000

7000

49.0000

490.0000

4900

34.3000

343.0000

3430

24.0100

240.1000

2401

16.8070

168.0700

1680.7

11.7649

117.6490

1176.49

8.23543

82.3543

823.543

5.764801

57.64801

576.4801

4.0353607

40.353607

403.53607

10

2.82475249

28.2475249

282.475249

19

0.1139889519

1.1398895185

11.39889519

20

0.0797922663

0.7979226630

7.97922663

25

0.0134106862

0.1341068620

1.34106862

26

0.0093874803

0.0938748034

0.938748034

50

0.0000017985

0.0000179847

0.000179847

99

5. E-14

5. E-13

4.62068E-12

1 1.000,
5 $,
20 .

2004 19

() 7 $, 3.50 $.
() 3 $, 3.30 $.
: ?
: . , ,
. , . 10 ?
: , .
: () 30%-
. 10
() , (). ,
29 , , 10 (),
(). ,
, .
, , , , ,
, " " .

() 10 $, 5 $ .

.
, , - . .

() 5 $, 5.50 $ .

,
.

: , , ().

, .
. - .
.
.

: . ,
.

27

FOREX MAGAZINE 2004

: . , , ,
.
: . , , : ()
(). , ,
.
, . , . ,
.
, , 50% , () 50 % ().
, ,
? , ,
.
, () ,
() ? .
- , , -
.
. - . . .
. . , ,
.

. , , -

28

2004 19

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

. ,
,
.
, ,
.
. , - .
.
, ,
.
, . . , -, .
-, , . , , , , .
,
, .
Forex Magazine
www.traderscalm.com

FOREX MAGAZINE 2004

2004 19


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

, , ,
, .
, ,
,
.


.

, , . , - , ?


, . .
(profit target) ,
.
,
, , , -
.



, , ,
. , , ,
. -

, . ,
" ". (loss target) . /
, .
. ,
- .
,
?
. , . ,

.

29

FOREX MAGAZINE 2004

2004 19

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

:
- " ".
.
-
. ,
.
- , .
- ,
.
- .
- .
- ,
.

30

15 , .
1. , .
. ,
.
2. , . , , " ". " "
. " "
" ".
3. - . -
.
, , , .
4. .
, , .

FOREX MAGAZINE 2004

, .
5. /
, . ,
.
-.
, - .
6. ,
. . , ,
, .
7. . , , "". ,
- , ,
.
8. , -. , " " ,
.

2004 19

12. . . .
,
.
13.
.
,
.
14. , . ,
, .
15. . , , .
,
,
.
Forex Magazine
www.hardrightedge.com

9. .
, . , .
10. , .
" ".
, , ,
, .
11. .
.
" ",
.

31

FOREX MAGAZINE 2004

2004 19



www.ensignsoftware.com
,
-
. , , , .
" ,
1972 ", 1974
, ", . ,
, - , , -
".
- "
" . , ,
, . ,
,
, . , .

,
,
.
LC1G-,
. (
. , .)

,
, . ,
Ensign Windows. , .
"Show effects" ,
.
,
.
. . -

32

FOREX MAGAZINE 2004

2004 19

,
70.050$ 13 2000.,
!
.

.
6 . - "
". ,
.
( )
- 10 2000. -
, 1.325
$.
- 11 2000. - 1.15 $ 6 .
- 9 2001. -
6-
4.025 $.
( )
- 27 2000. - 3- 0.825 $.
- 24 2000. - . 1.225 $.

10 9 . 24
.
. ,
13 2000. ! , , .
. . . ,
.
.
P.S. 5 2004.
6
600 !!! 108.69 114.61 USD/ JPY;
290 1.7902 1.7612 GBP/ USD;
352 1.2158 1.1807 EUR/ USD;
278 1.2749
1.3027 USD/ CHF.
- 03.06.2004.
Forex Magazine
www.ensignsoftware.com

- 26 2000. - 6 0.425 $. ,
.
- 23 2001. - 6-
2.45 $. 30 ( )
77.625 $.
:
, LC1G-.

33

FOREX MAGAZINE 2004

2004 19


stockcharts.com


, . :

:
K =
C =
L = n
H = n
, , K 3- . ,
:
SK = 3- K
SD = 3- SK
* .


. ,
, SK SD, ,
SK SD. ,
, - , . - , .
, , 10-15%,
- 85-90%.

34

, - . , / .
/
, , .
, K39
, " " ,
39- (K = 39, ). , K
50%-

FOREX MAGAZINE 2004

. , K 50%
. , 3-
, .

2004 19

50%- 1999., 35$


2000., 65$ .
.
?

: ,
"Slow Stochastic" 39 1.
MSFT, , 39- 50%- 14 ,
72.00 $.
39- , . , , 39 MSFT 50% 2000.
, MSFT , .
CSCO, , 39- -

35

FOREX MAGAZINE 2004

,
. , (OBV)
30-
.

2004 19

60%-. ,
.
Forex Magazine
stockcharts.com

, 1999.
2000. ,
50%-. , .
50%-
, .
,
, 39-
,
. ,
40%-

36

FOREX MAGAZINE 2004

2004 19



stockcharts.com

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

CIEN / , /, .
, / .


- (MACD)
/.
3- 10- /
. , MACD- , MACD,

/.
, MACD, . , ,
/, .
*
MACD
.
, MACD ,
/, . , /. CIEN , / , .

37

FOREX MAGAZINE 2004

2004 19

1.
/.
, .
/
2 .
, ,
/ , , .
2. /.
. ,
, . ,

.

, : .
, , , , ,
. "Coca Cola
Co." ,
.

Coca Cola Co.


, , :
. , ,
,
. MRK , .

.
,
. .
1. , / .
2. ( ),
,
.

38

FOREX MAGAZINE 2004

2004 19


KO, , ,
. ,
,
.
1. /. , , , 13 .
,
, . / ; .
2. ,
, / .

,
/,
. , , /. ,
.
( ), .

.
,
( .)
Forex Magazine
stockcharts.com

39

FOREX MAGAZINE 2004

2004 19

TRIN

TRIN

stockcharts.com
TRIN,
, . - , TRIN
. ,
TRIN ,
TRIN .
TRIN , .
TRIN /
, / :
TRIN = (/)/ ( /
)
TRIN:

2000

2100

2100

/


/

1000
2
40000
20000
2

700
3
35000
25000
1.4

700
3
48000
12000
4

2/2 = 1.0

3/1.4 = 2.14

4/4 = 0.75

TRIN

, ,
TRIN 1, "". ,
, .
, , TRIN 1. TRIN 1 ,
.
TRIN 1, , ,
,
, .

40

*:

TRIN . , TRIN
. , , 10- TRIN
0.8, ,
1.2. TRIN, .
, TRIN
.
Forex Magazine
stockcharts.com

FOREX MAGAZINE 2004

2004 19

MQL II: Meta Editor 4

Meta Editor 4
(AKA HORN)
http://forex.tomsk.ru
Forex Magazine

MetaTrader 4 MetaQuotes Software (ForexMagazine
15, 2004, " . Meta
Trader 4"), , " ".
" " MQL4.
Forex Magazine -
Meta Trader 4 . MetaQuotes Software Meta Editor
4.
, MQL4.
, Meta
Editor 4.
.
, "" ,
. ,
, ,
.

, Meta Editor' MetaQuotes Software .


, .
"MQL
Navigator"
,
"Toolbox" , . "Toolbox" "Help", .
,
MetaQuotes Software
. , .
"Help" "Toolbox"
. "Dictionary" "MQL
Navigator". ,
MQL4,
, "Dictionary"
,
.
,
.
"PapayaWhip",
, ,

41

FOREX MAGAZINE 2004

MQL II: Meta Editor 4

.

"Color Table" . 3.
"Help" "Toolbox"
- ,
. ( ) .
, MetaEditor'
.

"Expert Advisor program", "Custom Indicator program"
"Script program",
. ,

.
, ,
, . :
"" ,
.
,
, , ,
,
, ,
.

42

2004 19

, ,
. .
-
.
MetaEditor'
.
.
,
.
5 "test2.mq4"
"test.mq4"
. ,
Meta
Editor 4 , ,
MetaTrader' MQL4

MetaQuotes Software , , .

Forex Magazine

FOREX MAGAZINE 2004

2004 19

MetaTrader. 17

MQL II. 17
Fxtest


artur@fxtest.ru

!
.
, .


, ,
.

.
. ,
. , .

. - .
. , .

, .

. - .
GMT, ( ).
.. ,
. ..
.
.
, , ..
, .

. . - 40 1 3 , ,
. -
3 ,
.

43

FOREX MAGAZINE 2004

2004 19

MetaTrader. 17

/*[[
Name := Sessiy
Author := forextimes.ru
Link := www.Fxtest.ru
Lots := 1.00
Stop Loss := 0
Take Profit := 1000
Trailing Stop := 30
]]*/
Define: USAhour(13); // , .
var:cnt(0),i(0),MaxH(0),MinL(0),op(0),MaxHi(0),MinLi(0);
if hour=USAhour and TotalTrades=0 then { //
op=o[USAhour]; // , . 0 GMT
MaxH=h[1]; //
MinL=l[1]; //
for i=USAhour DownTo 1 { //
if h[i]>MaxH then {MaxH=h[i]; MaxHi=i;}; // MaxH , MaxHi
if l[i]<MinL then {MinL=l[i]; MinLi=i;}; // MinL , MinLi
};
if op>MinL and MinLi<(USAhour-1) and MinLi>(USAhour-6) and hour<19 and bid<MinL then
{SetOrder(op_sell,lots,bid,3,MaxH+5*point,ask-takeprofit*point,red); exit;};
if op<MaxH and MaxH<(USAhour-1) and MaxHi>(USAhour-6) and hour<19 and ask>MaxH then
{SetOrder(op_buy,lots,ask,3,MinL,bid+takeprofit*point,blue); exit;};
// ,
};
for cnt=1 to TotalTrades
begin
/* ? */
If Ord(cnt,VAL_TYPE)=OP_BUY then /* */
{
/*
? Bid, BUY */
If (Bid-Ord(cnt,VAL_OPENPRICE))>(TrailingStop*Point) then
{
/*
, ? */
If Ord(cnt,VAL_STOPLOSS)<(Bid-TrailingStop*Point) then
44
{
/* Bid-Trailing Stop */

FOREX MAGAZINE 2004

MetaTrader. 17

2004 19

ModifyOrder(Ord(cnt,VAL_TICKET),Ord(cnt,VAL_OPENPRICE),
Bid-TrailingStop*Point,Ord(cnt,VAL_TAKEPROFIT),Red);
Exit;
};
};
};
/* ? */
If Ord(cnt,VAL_TYPE)=OP_SELL then
{
/*
? Ask, SELL */
If (Ord(cnt,VAL_OPENPRICE)-Ask)>(TrailingStop*Point) then
{
/*
, ? */
If Ord(cnt,VAL_STOPLOSS)>(Ask+TrailingStop*Point) or
Ord(cnt,VAL_STOPLOSS)=0 then
{
/* Ask+Trailing Stop */
ModifyOrder(Ord(cnt,VAL_TICKET),Ord(cnt,VAL_OPENPRICE),
Ask+TrailingStop*Point,Ord(cnt,VAL_TAKEPROFIT),Red);
Exit;
};
};
};
end;

artur@fxtest.ru

45

FOREX MAGAZINE 2004