Please Fxtrader can you help me to modify this ind, it doesnt work on my MT4, i use version 4.00 build 670. thanks a lot man
Attached File(s)
I will code your pivot EAs for no charge 28 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
DislikedPlease Fxtrader can you help me to modify this ind, it doesnt work on my MT4, i use version 4.00 build 670. thanks a lot man {file}Ignored
Disliked{quote} build 509 compiler, infos and download: http://www.forexfactory.com/showthread.php?t=470340Ignored
DislikedIs there only one member prepared to help other members on here? I am genuinely surprised.Ignored
Disliked{quote} Though it only looks like a "help", a lot of work is included. Some forums employ moderators-coders, who can do part of the work, but here they are pure volunteers. They do a voluntary job for men who want to make money. Either it is a hobby or you cannot accept it for long.Ignored
Disliked{quote} I hear you Halley and appreciate your comments. It's just a bit frustrating when you can't/don't code.Ignored
Disliked{quote} Though it only looks like a "help", a lot of work is included. Some forums employ moderators-coders, who can do part of the work, but here they are pure volunteers. They do a voluntary job for men who want to make money. Either it is a hobby or you cannot accept it for long.Ignored
DislikedPlease Fxtrader can you help me to modify this ind, it doesnt work on my MT4, i use version 4.00 build 670. thanks a lot man {file}Ignored
Disliked{quote} yes, that is the point, too. but do not forget: most people is losing money, trading on demo, ea (or indicator) hopping, etc.{quote}
Ignored
DislikedHey guys! I was wondering if anyone could advice me on where is good place (book, web) to start learning MQL coding - i know there is plenty of it online but i don't want to waste my time on semi-good stuff, while there maybe something really good out there worth all time and effort. I'm not complete beginner - done done codding in Flash and C (quite few years ago and it was basic stuff). Looking forward to your recommendations and thanks in advance!!!Ignored
#property indicator_separate_window
#property indicator_buffers 4
#property indicator_color1 Lime
#property indicator_width1 3
#property indicator_color2 Red
#property indicator_width2 3
#property indicator_color3 Blue
#property indicator_width3 3
#property indicator_color4 Yellow
#property indicator_width4 3
#property indicator_maximum 9
#property indicator_minimum 0
extern int LondonOpen = 10;
extern int LondonClose = 18;
extern int NewYorkOpen = 15;
extern int NewYorkClose = 0;
extern int SydneyOpen = 0;
extern int SydneyClose = 8;
extern int TokyoOpen = 2;
extern int TokyoClose = 10;
// Buffers
double dLondonBuffer[];
double dNewYorkBuffer[];
double dSydneyBuffer[];
double dTokyoBuffer[];
int init() {
IndicatorShortName("");
SetIndexBuffer(0,dLondonBuffer);
SetIndexLabel(0,"London");
SetIndexBuffer(1,dNewYorkBuffer);
SetIndexLabel(1,"New York");
SetIndexBuffer(2,dSydneyBuffer);
SetIndexLabel(2,"Sydney");
SetIndexBuffer(3,dTokyoBuffer);
SetIndexLabel(3,"Tokyo");
return(0);
}
int start() {
// Determine number of bars to iterate over
int iBarsToCalc = Bars - IndicatorCounted();
if (iBarsToCalc < Bars) iBarsToCalc++;
// Iterate over bars
for (int i=iBarsToCalc-1;i>=0;i--) {
// Set London Line
if (isMarketOpen(LondonOpen, LondonClose, Time[i]))
dLondonBuffer[i] = 8;
else
dLondonBuffer[i] = EMPTY_VALUE;
// Set NewYork Line
if (isMarketOpen(NewYorkOpen, NewYorkClose, Time[i]))
dNewYorkBuffer[i] = 6;
else
dNewYorkBuffer[i] = EMPTY_VALUE;
// Set Sydney Line
if (isMarketOpen(SydneyOpen, SydneyClose, Time[i]))
dSydneyBuffer[i] = 4;
else
dSydneyBuffer[i] = EMPTY_VALUE;
// Set Tokyo Line
if (isMarketOpen(TokyoOpen, TokyoClose, Time[i]))
dTokyoBuffer[i] = 2;
else
dTokyoBuffer[i] = EMPTY_VALUE;
}
}
bool isMarketOpen(int iOpenHour, int iCloseHour, datetime timestamp) {
int iBarHour = TimeHour(timestamp);
if (iOpenHour < iCloseHour && (iBarHour >= iOpenHour && iBarHour < iCloseHour))
return(true);
if (iOpenHour > iCloseHour && (iBarHour >= iOpenHour || iBarHour < iCloseHour))
return(true);
return(false);
[color=#222222][font=verdana]}[/font][/color]
[color=#222222][font=verdana][/font][/color]