Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Thanks to everyone who is interested in improvement of this EA !
Roger_Taum, I did not get clearly what had happened, code page does not have any command/include that could break your trading platform. Please specify the issue you experienced, maybe screenshot will be needed.
MANSTIR, you are right, it will open position once the central (main) line is broken. The trade will start, if iHIGH values of 2 last bars iHigh(1) && iHigh(2) are less than first level (usual, first levels are +-10% of BB_HIGH-BB_MAIN, i.e. of half a Bollinger bands' channel) - for buying; sure, it should check iLow of last 2 bars and (-10%) control line for selling.
Regards,
Dealstone.
GREAT! i think it wont work on M30...i'll try with H1 today...
hmmm i should suggest this ea can check M1 data too for precaution...
hope it help....
MANSTIR, how do you do ?
have you got any interesting results ?
cipyu, unfortunately, I did not saved that results so let me refer you to the files stored in #6 post within this thread; again,you can try to optimize one all alone.
Best,
Dealstone.
__________________ De gustibus non est disputandum.
MANSTIR, how do you do ?
have you got any interesting results ?
cipyu, unfortunately, I did not saved that results so let me refer you to the files stored in #6 post within this thread; again,you can try to optimize one all alone.
Best,
Dealstone.
sorry my friend,
i've many things to do last few days...trading..works..bla..bla..blaa...maybe today or next weeks testing on ur ea...
hope u can deliver the .mq4 files here.. because many traders here want to see ur code...or u want commercialize or got some reason not to give us ur source code?
Please see code page of my system in attachment. As you can see this code is easy enough, however, please forgive for my some code's misdoings since I've learned MQL for past two months.
There is a pure idea in this code,I've removed certain modules, like money management and trailing stop.
Hope it helps and we will find out the way how to improve one and to do it more useful
Best,
Dealstone.
__________________ De gustibus non est disputandum.
Let me introduce the my EA based on Bollinger's bands (BB). The main idea is to buy when main BB is crossed by price bottom-up and vice-versa, - to sell when price crosses BB's main line top-down.
So that is the centerline (midline) of the bollinger bands, I suppose.
We have here some stops and limiters: there are addition levels that should prevent us to open position when price crossed BB main line by accident (levels 0.05/-0.05, 0.05 means 5 % of difference between BB's high and main lines),
I see....so you have a channel around the centerline (midline) to allow the price to wiggle
levels called h2 (0.4/-0.4) are StopLoss levels,
so this EA has order modify at each new candlestick
h3 is TakeProfit: if you bought, the level -0.4 would be a StopLoss,
You lost me here. Why would I buy the lower channel...that would have been the SL for the upper channel
and TakeProfit would be placed on level h3 (may be more or less than h2).
This assumes you trade goes against you and the SL goes wider too with ordermodify? Otherwise your TP (H3) could not be less than your SL (H2)
Also there is a limiter by market's volatility: the difference between level h3 and BB's main line is called delta, I set up high and low values (delta_h and delta correspondingly). EA cannot open new position if current “delta_h” is more or “delta” is less than predefiend values.
Nice
There is also trailing module that should control open position. If you opened posiion (buy for example), the stoploss would be set to the -h2 and takeprofit to the h3. SL level would be set to the “sl_dist1” level later on, if profit reached “sl_level1”, the “sl_dist2” level would be applied, and so on. No changes should be applied to the TakeProfit.
Very dynamic use of price action
Again, I set here money management module, that calculates last consecutive loss/profits and has separate value for each progression. For example, if we have a progression that consists of last 5 wins/losses, the “prk5” will be used as the volume of new position. All “prk” are set to the 0.01 lots by default.
The main difficulty I've been facing during the optimization process is the not so good results when was tested on the data that were out of recall.
Interesting. Could you go into a strategy using this module and why you would increase or rank a lotsize based on progression?
Please post your ideas/suggestions to this thread or PM me
I would need to forward test this EA and to do that I need you to share the COMPLETE MQ4 download without expiration dates. Why should I waste my time otherwise? This is an open source, public domain project right?
Last edited by ElectricSavant; 10-19-2008 at 04:49 PM.
I think there are a lot of order modifies...maybe you are trying it on a volatile child like guppy no? Try H1 cable with the setfile in post#6 to see if your puter' locks up. Uncheck the box for "enable alerts" in the common tab of the Smiley...
ES
Quote:
Originally Posted by Roger_Taum
Hi Dealstone,
The EA is crushing my MT platform. What could be the reason? Thanks.
Last edited by ElectricSavant; 10-19-2008 at 11:50 PM.
To ElectricSavant: please see my post #13, I've published the source code there without Money-Management module.
I performed some changes, for example, the order's SL & TP would be modified with the step 5 points.
Let me introduce the my EA based on Bollinger's bands (BB). The main idea is to buy when main BB is crossed by price bottom-up and vice-versa, - to sell when price crosses BB's main line top-down.
We have here some stops and limiters: there are addition levels that should prevent us to open position when price crossed BB main line by accident (levels 0.05/-0.05, 0.05 means 5 % of difference between BB's high and main lines), levels called h2 (0.4/-0.4) are StopLoss levels, h3 is TakeProfit: if you bought, the level -0.4 would be a StopLoss, and TakeProfit would be placed on level h3 (may be more or less than h2).
Also there is a limiter by market's volatility: the difference between level h3 and BB's main line is called delta, I set up high and low values (delta_h and delta correspondingly). EA cannot open new position if current “delta_h” is more or “delta” is less than predefiend values.
There is also trailing module that should control open position. If you opened posiion (buy for example), the stoploss would be set to the -h2 and takeprofit to the h3. SL level would be set to the “sl_dist1” level later on, if profit reached “sl_level1”, the “sl_dist2” level would be applied, and so on. No changes should be applied to the TakeProfit.
Again, I set here money management module, that calculates last consecutive loss/profits and has separate value for each progression. For example, if we have a progression that consists of last 5 wins/losses, the “prk5” will be used as the volume of new position. All “prk” are set to the 0.01 lots by default.
The main difficulty I've been facing during the optimization process is the not so good results when was tested on the data that were out of recall.
Please post your ideas/suggestions to this thread or PM me
Is this configured for a 4-digit or 5-digit broker?? My broker - IBFX uses 5-digits! Can you add another zero '0' to the SL,TP,BE,TS? If the StopLoss (SL) is set to 30 pips, it would need to be changed to 300 to work on a 5-digit MQ4 platform like IBFX now uses.