# Thread: Ilan 1.6 improved/must have feature

1. ## SL not working or showing???

Hey guys why the Stoploss doesnt shows while trading???

2. ## Funyoo can you please correct te SL???

Hi funyoo it seems the Stoploss doesnt work properly can you please code it correctly...will appreciate.
Thanks.

3. HI THIS SEEMS quite intresting but id like two things
1. id lyk the tp made from the last buy or sell and changed on all the others
2. id lyk it to buy on both sides simultaniously
ne1 here have a clue for sumthing that i can change on this

4. Hi Funyoo,
My name is Toro, a very very beginer in the EA studying. I have been in gold trading for 7 years and just trade manually. Now I am really into studying EA and have some very simple questions coming up, pls help me with:

Ilan 1.4 with number and characters in red, standing for what?!

extern double LotExponent = 1.59; //
extern double slip = 3.0;
int gi_unused_88;
extern double Lots = 0.1;
extern int lotdecimal = 1;
extern double TakeProfit = 500;
extern double Stoploss = 0.0;
extern double TrailStart = 10.0;
extern double TrailStop = 10.0;
extern double PipStep = 100.0;
extern bool UseEquityStop = FALSE;
extern double TotalEquityRisk = 20.0;
extern bool UseTrailingStop = FALSE;
extern bool UseTimeOut = FALSE;
int g_magic_176 = 10384;
double g_price_180;
double gd_188;
double gd_unused_196;
double gd_unused_204;
double g_price_212;
double g_bid_220;
double gd_236;
double gd_244;
double gd_260;
bool gi_268;

Thks very much Fuyoo if you dont mind to explain. Have a nice day.

5. Lot Exponent is the Multiplier used. The amount increase of the lot size for the next order...ie a 2 LotExponent would be .1, .2, .4, .8, 1.6, 3.2, etc
Slip is the amount the value of a currency can change before the broker must reject your command. ie if your slip is 5 then an order placed at 1.400 must be filled or acted upon if 1.395 to 1.4005 anything else would not be filled. The other questions are unique to the EA. Just stored data....We can figure out what they are/do but the fact you're asking about LotExponent says lets concern ourselves with the basics first...

6. Originally Posted by toro
int g_magic_176 = 10384;
double g_price_180;
double gd_188;
double gd_unused_196;
double gd_unused_204;
double g_price_212;
double g_bid_220;
double gd_236;
double gd_244;
double gd_260;
bool gi_268;

Thks very much Fuyoo if you dont mind to explain. Have a nice day.
I'm 99% sure Funyoo did not write the initial code. He was only making/adding/modifying features to it. Having looked at other Ilans, some of those variables used english words. So in your list , some of them are

int g_magic_176 = 12324;
double g_price_180;
double gd_188;
double gd_unused_196;
double gd_unused_204;
double AveragePrice;
double g_bid_220;
double LastSellPrice;
double gd_260;
bool flag;
string gs_ilan_272 = "Ilan";
int timeprev = 0;
int expiration;

and others in the code are

int total;
double gd_308 = 0.0;
int ticket;
bool NewOrdersPlaced = FALSE;

and others, but this is all useless information, I agree with Bill. This doesn't help a newbie play with a lot exponent, but I just posted this here as FYI for those who might be looking to read the code easier in metaeditor.

7. ## ilan ea

Originally Posted by BillR
Lot Exponent is the Multiplier used. The amount increase of the lot size for the next order...ie a 2 LotExponent would be .1, .2, .4, .8, 1.6, 3.2, etc
Slip is the amount the value of a currency can change before the broker must reject your command. ie if your slip is 5 then an order placed at 1.400 must be filled or acted upon if 1.395 to 1.4005 anything else would not be filled. The other questions are unique to the EA. Just stored data....We can figure out what they are/do but the fact you're asking about LotExponent says lets concern ourselves with the basics first...
does anybody know how to limit the number of lots opened per trade, ilan opened 16 lots in 1 trade, i want to limit it with a user defined maximum, example: 1 trade of .1 lot x 3 lots maximum.
thanks,forex9

8. Hello all
You have a great forum...
I just heard latley abut the Ilan ea and was wondering if you could tell me where can i get it and how 2 install and use it

Thanks

9. ## Problem with brokers

Hi,

Ive been using this EA on the 30m EURUSD chart with great results. Sometimes the EA is actively trading then the broker changes server or datafeed or whatever and then the EA changes in its trading.

I find that on some brokers the EA just doesnt actively trade.
meaning it places ONE (1) trade and then doesnt place any follow up positions .. it will just keep the position open until its hit tp or i manually close it (and that could be when its in a large loss situation). For some reason subsequent trades ilan-1, ilan-2, ilan-3 for example dont fire off.

I did notice a message on my current broker fxopen ... "... :Error 0" does anyone know what thats all about.

Im so sick of changing brokers... cmsforex was a disaster with this EA it didnt work live from beginning and then gomarkets chopped and changed (as they annoyingly do!) to a point wht was once making 15-20 trades became 1 trade and thats it!

Can anyone please help me.. i love this EA but it seems im either doing something wrong or having a bad run with brokers.

can anyone recommend a good broker that this EA works on?

10. Does anybody have ILAN(only long position) and (only short position) ???