Ki Ea - page 7

To add comments, please log in or register
Foreverold
315
Foreverold  

Ever notice how when you think you may be right about a trade and you pull the trigger, only to find out you just bought at the top, or sold at the bottom?

My idea for this EA, and others is to put in op_Buystop orders and sellstop orders, your filter would be the pip difference as to when your market order would trigger and the stop price if filled.

Next is to ensure that the EA made the correct choice, that is if the market has turned, your order is not left open. The EA must close the unfilled orders in (x) period of time, this way a new order can be placed if needed.

here is a little code from one of tageiger aka fxid10t, EA's that I like and have used for canceling orders

OP_BUYSTOP,

LotsOptimized(),

buy,

slip,//slippage

sell,

0,//TakeProfit(),

Period()+comment,

Magic,

Orderexpiration(),//OrderExpiration

Aqua);

datetime Orderexpiration() {

double hr=Hour();

string date=TimeToStr(CurTime(),TIME_DATE);

string hour=DoubleToStr(hr,0);

string minutes=":59";

return(StrToTime(date+" "+hour+minutes));}//end timedelete

Hope tis is of help

sadaloma
710
sadaloma  
MFX:
Thank you for this EA.I will test it now.

I will test with Lenght1=3;Lenght2=18;Lenght3=25 H1TF...Looking good.

Regards

MFX

MFX you got me thinking there with those settings...

With 90% modelling quality on the eur/usd H1, your setting (with lot 1 and 10000$ starup capital)produce 2926 $ total net profit from january 2 2006 to march 9 2006 with a drawdown of 3%.

I am currently running a backtest optimization for the 4 majors with different kind of settings...The Eur/Usd is the first currency I am running it on (it's a 4 hours backtest) and currently the settings that produce the most profit with a reasonable drawdown is lenght1=9;lenght2=3;lenght3=11. This produces 8294$ of profit and a drawdown of 5.93%.

Not bah eh?

Of course this in no way guarantees that it works in forward testing. I will be testing it live monday onwards with different settings and will post the result of the optimizations when I finish up. That will be about 16 hours of backtest! DAMN!

Sada

Fast_cris
292
Fast_cris  

Second Day and the system sems profitable.

The problem is in the Ki EA w pch1, the trade don't close in the wright place... when de pricechannel stop change color. Can someone fixe that. Please.

Fast_cris

Files:
crisbat.bmp 601 kb
Nicholishen
1016
Nicholishen  
Fast_cris:
Second Day and the system sems profitable.

The problem is in the Ki EA w pch1, the trade don't close in the wright place... when de pricechannel stop change color. Can someone fixe that. Please.

Fast_cris

I can work on it this weekend, but could you first post the setting you are use for the price channel. Also, are you wanting to modify the stop so as soon as the price hits the channel it will close the trade?

Fast_cris
292
Fast_cris  
Nicholishen:
I can work on it this weekend, but could you first post the setting you are use for the price channel.

Hi Nicholishen,

The setthing for price channel stop is:

TF1H

channel period: 9

signal:0.3

risk:1

line:1

nbars:1000

Nicholishen:
Also, are you wanting to modify the stop so as soon as the price hits the channel it will close the trade?

Yes, but sometimes the price hits the channel and don't change the color and cont. the way. What i want is always when price channel stop change the color the trade will close automatic. i don't know if that is possible!!!

Thanks in advance

Fast_cris

Nicholishen
1016
Nicholishen  
Fast_cris:
Hi Nicholishen,

The setthing for price channel stop is:

TF1H

channel period: 9

signal:0.3

risk:1

line:1

nbars:1000

Yes, but sometimes the price hits the channel and don't change the color and cont. the way. What i want is always when price channel stop change the color the trade will close automatic. i don't know if that is possible!!!

Thanks in advance

Fast_cris

if that is the case then it should be easy to fix. I will make an external settings feature on the ea.

Fast_cris
292
Fast_cris  

Thanks My friend,

I can wait.. don't have to be now.

Stay well

Fast_cris

Nicholishen
1016
Nicholishen  

Does anyone have any forward test results for this EA?

Geri
5
Geri  

Geri

Hello what is the latest working version of this EA- I would like to start testing and which settings have bin jusfull so far?

thanks for help

sadaloma
710
sadaloma  
Nicholishen:
Does anyone have any forward test results for this EA?

Nicholisen Sorry for not reponding to your question earlier but I just saw it today...

I have been forward testing it on eur/usd H1 and so far so good. I have changed few settings after backtesting it. The best settings I have found is in the preset file attached.

Has anyone else forward test KI EA?

Geri, The latest EA is on this thread...(I think you need some MQH file too to make it work...I forgot)

Sada

To add comments, please log in or register