#
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: Brain Trading system expert - Medium Frame
Description:
BTMedium Frame Trend Determinator v1 Brain Trading system expert - Medium Frame Trend Determinator v1
/*[[ Name := Author := Jesse Breaker Link := http://www.metaquotes.net/ Lots := 0 Stop Loss := 0 Take Profit := 0 Trailing Stop := 0 ]]*/ defines: TrendSignal(8); var: bt1(9),bt2(9), PrevSnapShot(0),GlobalTradeSignal(0),FH(0),Filer(0),TimeHasPast(0),Flag(0); //Only execute this once per bar if PrevSnapShot = Time then exit; PrevSnapShot = Time; bt1=icustom("BrainTrend1",MODE_FIRST,1); bt2=icustom("BrainTrend1",MODE_SECOND,1); If bt1=0 and bt2=0 then TrendSignal=0; If bt1=l[1] then TrendSignal=1; If bt1=h[1] then TrendSignal=-1; Comment("Day : ",Day," Hour : ",Hour," Min ",Minute," Seconds ", Seconds, "\n","TrendSignal : ",TrendSignal," BT1= ",bt1,"BT2= ",bt2); FH=FileOpen(Symbol + "MediumTrend",","); FileWrite(FH,TrendSignal); FileClose(fh);
Author/Source:
Jesse Breaker
Forex Directory
|
Forex Trading Systems
|
Privacy
|
Disclaimer
|
Contact