Edit Your Comment
Need some help programming a strategy
Oct 27, 2015 at 14:39
Member Since Mar 09, 2014
3 posts
Hello Friends,
Can somebody help me to develop an EA?
Features:
-Buy / Sell in the same time
-SL TP
-Lots
-automatically open orders on M15 when a new candle start
-opening orders just between 5:00 to 12:00 London Time
-the possibility to place orders simultaneously on more currency pairs.
I did tested this just opening orders one time per day SL:150 TP:600, is not profitable every day, but at the end of the week is profitable. And I am thinking it can be less risky if you open more orders in that period of time.
Regards, Allan
Can somebody help me to develop an EA?
Features:
-Buy / Sell in the same time
-SL TP
-Lots
-automatically open orders on M15 when a new candle start
-opening orders just between 5:00 to 12:00 London Time
-the possibility to place orders simultaneously on more currency pairs.
I did tested this just opening orders one time per day SL:150 TP:600, is not profitable every day, but at the end of the week is profitable. And I am thinking it can be less risky if you open more orders in that period of time.
Regards, Allan
Member Since Feb 19, 2014
61 posts
forex_trader_29148
Member Since Feb 11, 2011
1916 posts
Member Since Oct 22, 2015
3 posts
Member Since Oct 22, 2015
3 posts
Nov 17, 2015 at 03:27
Member Since Sep 05, 2013
50 posts
one way to learn MQL4 code > from MT4 terminal hit F4 which opens Editor then view Toolbox > code base ... double click a selection that draws your interest and view the code. do this for a while and you will learn about coding
“Everybody should have a dream. What if that dream comes true?” – Jack Ma
Member Since Apr 10, 2015
17 posts
Nov 18, 2015 at 07:44
Member Since Apr 10, 2015
17 posts
appealing use with the value by the new bar as those match with the condition with the strategy of trader,
to work with the comparatives theory of david hume but you should enter the political economy class or the finance to give the briefs of explanation on how the technical theory should work with the running of scripts with the ats.
you read also karl marx for the financial theory.
i used to go to international affair majors college when i was a little kids and learned of good theory on international security and politics to help with the chance on working with the analytics of the finance plan.
you get some models to work with the running of strategy on appealing risks on moderation as of your ideal priors on preference,
and run with the chance on qualifying profiles of market within the unlimited range of sequence with the initial terms of your decision.
you defines as if those work with the appeals with the emh or bf only if you hold your magister/master profession.
my ex girlfriend is a master, yet i am only a programmer, i am a good programmer.
the online project auction should helps of the request with the tasks of above mention please pay not less than $275 for the request.
to work with the comparatives theory of david hume but you should enter the political economy class or the finance to give the briefs of explanation on how the technical theory should work with the running of scripts with the ats.
you read also karl marx for the financial theory.
i used to go to international affair majors college when i was a little kids and learned of good theory on international security and politics to help with the chance on working with the analytics of the finance plan.
you get some models to work with the running of strategy on appealing risks on moderation as of your ideal priors on preference,
and run with the chance on qualifying profiles of market within the unlimited range of sequence with the initial terms of your decision.
you defines as if those work with the appeals with the emh or bf only if you hold your magister/master profession.
my ex girlfriend is a master, yet i am only a programmer, i am a good programmer.
the online project auction should helps of the request with the tasks of above mention please pay not less than $275 for the request.
Nov 18, 2015 at 11:07
Member Since Mar 09, 2014
3 posts
Hi guys, i made it, if someone want it is uploaded.
But what i want to do to this ea, is to program him, to trade automatically just in a specific hours.
ex: from 9:00 am to 3:00 pm.
Could be this done?
But what i want to do to this ea, is to program him, to trade automatically just in a specific hours.
ex: from 9:00 am to 3:00 pm.
Could be this done?
Nov 21, 2015 at 07:35
Member Since Jun 07, 2015
90 posts
You can use the Hour() function to get the current hour on the server.
On mine it shows 12, which it is 9:30 right now (PST) , so if you want to do 9am-3pm your time, you will need to adjust the integer.
int hour = Hour();
Comment(IntegerToString(hour)); // so you can see what is in this variable
hour = hour - 3; // if I was to adjust it for 9am-3pm my time
if((hour >= 9) && (hour < 15)){
//// Allow for trading
}else{
//// otherwise after hours
}
hope this helps
On mine it shows 12, which it is 9:30 right now (PST) , so if you want to do 9am-3pm your time, you will need to adjust the integer.
int hour = Hour();
Comment(IntegerToString(hour)); // so you can see what is in this variable
hour = hour - 3; // if I was to adjust it for 9am-3pm my time
if((hour >= 9) && (hour < 15)){
//// Allow for trading
}else{
//// otherwise after hours
}
hope this helps
Everything in the market is like a fart, if you have to force it, it is probably shit
Member Since Jan 05, 2016
1189 posts
Jan 09, 2016 at 18:43
Member Since Jan 05, 2016
1189 posts
Does anyone even bother reading API or DOCS any longer?
TimeLocal()
TimeCurrent()
Those are built in functions for dealing with server and local times.
*cough* RTFM....
TimeLocal()
TimeCurrent()
Those are built in functions for dealing with server and local times.
*cough* RTFM....
If it looks too good to be true, it's probably a scam! Let the buyer beware.
*Commercial use and spam will not be tolerated, and may result in account termination.
Tip: Posting an image/youtube url will automatically embed it in your post!
Tip: Type the @ sign to auto complete a username participating in this discussion.