MQL4 - automated forex trading   /  

Code Base

Code Base  Expert Advisors  Lilith goes to Hollywood To post a new code, please log in or register

Download MetaTrader 5 and visit MQL5.community Code Base
and Trade on the Go!
Prepare for the Championship
Couldn't find the right code? Order it in the Jobs section

This Expert Advisor is for
MetaTrader 4
Download MT 4 - 455 Kb

and Trade on the Go!

Name:
Lilith goes to Hollywood
Author: BlueSkyThinking (2010.02.11 10:14)
Rating: 4.5
Downloaded: 7606
Download:
 Lilith goes to Hollyood.mq4 (6.1 Kb) View

Description

Second code from my side (you can find the other one under name of "Very Blondie System"). Similar idea, different approach.

This time the EA gets two points and keeps on hedging between this two points. The size of the hedge is under the parameter "Anchor" (in the chart below I used 250 (5 digits)).
The increase factor is decided by the "xFactor" parameter. The higher the riskier of course. I was good at 1.7-1.8.

There is also an option to have it set manually which should give you higher precision in the entry (right now the entry is pretty much random, so big room for improvement).

What I like from this EA is that in the wrong case you find yourseld with opposite positions open and you can still decide your trend and perform a manual intervention.

Happy to hear your feedback.

Kind Regards


David



Lilith


17 comments: 1 2   To post a new comment, please log in or register
Application of cycle?

M5? M15? M30? H1 ? H4?


24.04.2012 00:53 wyj6366

This is a great EA...it actully teaches one how to trade.☺

Here is the trouble for the USA users...we cannot have hedging...this is a 5-digit Ea...so we neeed to find an offshore or foreign dealer that has 5 digits. This does not work on ECN systems. Also you need at least 1K in the account I think...It only works on a Standard account...many dealers use 0.1, 0.01 and even 0.001...some have mini accounts with suffixes ...like 'm"...etc...

I am not a coder but all of this could be fixed in the code so that it could be used on any dealer...don't you coders have routines for this?

Also the entry needs to have a choice like trend following or overbought or oversold.... the user could choose "1" or "2"...

ES

P.S. Also the screen reads "looking for"_____ what does that mean? it is always some astronomical quote far far away...in 4 digits...

25.11.2010 08:56 ElectricSavant

xfactor does not work for me in forward testing...

ES

22.11.2010 19:31 ElectricSavant

Hello,

I'm looking at your system and think I really like it. I'm testing it as we speak. Im struggling a little bit with the coding - could you perhaps give a slightly more detailed explanation of the variable or point me in the direction of anything you may have based it on. I think I understand it but then when I see how it opens trades I get confused.

Mille grazie.


I think I understand it now - Brilliant 10/10 from me!

05.08.2010 19:21 claus

how do i change the stoploss and takeprofit on this?

08.05.2010 03:10 nayef
Hello, i just can't get it right in backtesting. In the end getting this. Why is that? Any advice?:)
Thanks, Darius.


22.04.2010 00:48 suirad

I've had your first very blond system, I still highly regard it as a good example of a simple martingale ea. This one is also very interesting, just have to optimize it correctly ;) Thank you.


13.03.2010 23:59 Cyrillic
b0c1 wrote:

Hi!

Somtime I get "OrderSend error 130" somebody know why?

Thnx

The Stoploss maybe too close to the current market price


05.03.2010 09:11 ghostcorn

Nice system BlueSky,

Is it possible to choose manual lot separate from the stradle?. Also manual long or short entry?

Thank you

WCG

Hi there!

yes, there is a field in which you can select the "automated=false".

in this case you have to enter the two prices manually and the system will ping-pong between the two.

Let me know if you need more info!!

Ciao

BlueskyThinking

23.02.2010 17:43 BlueSkyThinking
val77 wrote:
BlueSkyThinking wrote:

Thanks for your feedback Val! you can also play with the xFactor <-> Anchor to suits better your requirements.

I think that if you are using it live, manual intervention can be quite important sometimes.

OK, BlueSjyThinking, thank you for advice.

I will do some back tests and optimizations this weekend.

Manual corrections are important, but I will look if I can add some safeguards in code to do the same automatically.

Lets say unrealized loss is > .. AND nomber of opened postions >.. AND trend is still not in my favore => close all positions, so that we can start again.

What do you think?



Nice system BlueSky,

Is it possible to choose manual lot separate from the stradle?. Also manual long or short entry?

Thank you

WCG

23.02.2010 06:34 wcasanova