#
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: Metatrader MQL Experts
Title: 5min USDCHF
Description:
USDCHF expert for 5 min timeframe.
/*[[ Name := 5minUSDCHF Author := Copyright © 2003, Company Link := http://www.company.com/ Notes := Lots := 1 Stop Loss := 40 Take Profit := 85 Trailing Stop := 50 ]]*/ defines: d(12), mm(0), risk(0.05), thr(70), thr2(60); var: cnt(0), Current(0), tmp(0), TrStop(0), bar(0), AroonU(0), AroonD(0), AroonU1(0), AroonD1(0); var: D1(500), Lotsi(0), sH(3); if mm<>0 then Lotsi=Round(1*Balance*risk*C/StopLoss)/10 else Lotsi=Lots; AroonU=iCustom("Aroon",d,MODE_FIRST,1); AroonD=iCustom("Aroon",d,MODE_SECOND,1); AroonU1=iCustom("Aroon",d,MODE_FIRST,2); AroonD1=iCustom("Aroon",d,MODE_SECOND,2); if DayOfWeek<7 and TotalTrades<1 and Hour >= sH and Hour < 18 and CurTime-LastTradeTime>60 and (H[Highest(MODE_HIGH,D1,D1)]-L[Lowest(MODE_LOW,D1,D1)])<=0.021 then { if AroonU>=thr and AroonU1
=thr and AroonD1
tmp then { ModifyOrder(Ord(cnt,VAL_TICKET),Ord(cnt,VAL_OPENPRICE),tmp,Ord(cnt,VAL_TAKEPROFIT),Red); Exit; }; }; end;
Author/Source:
?
Forex Directory
|
Forex Trading Systems
|
Privacy
|
Disclaimer
|
Contact