MT4 30 pips system - page 13

 

i think if we want to open at the same price every time

we need to take the limit and stop order instead

to ensure that it will open at the same price

any comment?

 
tsuok:
thanks dizix!

OPEN and CLOSE work ok? that's good

position sizing i didn't care to write. Phoenix's code dose that

i havent tryed it yet.. the opening and closing..

okey so everything going to be put together later ? sry if its a stupid question but im no hacker.. only a trader

and 1 more thing we have been trying with 10 pips before but it dident work for us when we trade manuel, it was eating up the marginal.

Cool we have 5 stars rating ... dont know whats it for

 
phoenix:
i think if we want to open at the same price every time

we need to take the limit and stop order instead

to ensure that it will open at the same price

any comment?

think it can be a good thing.. i use limit orders when i trade manuell

 
dazix:
think it can be a good thing.. i use limit orders when i trade manuell

ok..but how in ea..still no idea

any expert can guide this pls post your idea

 
tsuok:
Hi, dazix

will you check this version. origial tsuok version cos phoenix's code is difficult for me

you understand how your system should work.

then check just OPEN and CLOSE works the way you plan.

just for OPEN and CLOSE. basic concept.

esp. CLOSE timing. cos i thing your system first close(1.2700 tp 1.2730 long) and then open(1.2730 tp 1.2760 long and tp 1.2730 short). right?

you know this is NOT final. maybe phoenix or others will finish:D

give me your opinion.

i tested only e/u and 10pips target.

like in C#, closing postion by limit order notify me that open poisition is closed then the notification triggers next open order, is good scenario....

thanks.

Any idea because no open postion yet.

Everything works with the other EA (i mean about the first opening position) but with this one no - Can u help me?

 

this ea sets orders as you tell it to, perhaps it will give you some inspiration

The only real difference is that all the orders here are the same, no MM here.

Files:
 
dazix:
i havent tryed it yet.. the opening and closing..

okey so everything going to be put together later ? sry if its a stupid question but im no hacker.. only a trader

and 1 more thing we have been trying with 10 pips before but it dident work for us when we trade manuel, it was eating up the marginal.

Cool we have 5 stars rating ... dont know whats it for

ok. 10pips was just for test many times opening and closing.

10pips eating up the marginal. yes its happend on back test too:D

and ive changed limit order , you said like that?

cos of that close -> open flow is difficult.

then limit order -> requote etc error handled -> re-order if price is in some rage of the level ....

i think dazix does that, doesnt he?

thanks

 
pya:
Any idea because no open postion yet. Everything works with the other EA (i mean about the first opening position) but with this one no - Can u help me?

umm.... let me know detail. i'll check.

 
phoenix:
here you go

This EA appears not to close trades that are 30 pips in profit.

Any suggestions?

 

hey ppl is this what you want...pls take a look

as same as the old idea while testing...

due to the max lot size accepted by broker..when we reached that value

we will never be able to increase the lot anymore then this will bring the margin-call to us

then i set the "BackTestLimit" : this is in $ , 1,000,000 by default,

when our account balance reached this value the ea will stop sending any type of order, but still can close and delete the current floating both live and pending (but this is for backtest only)

for real test the stopout limit will be when account blance is x times larger than initial deposite

it's "StopOutAt" : 10 by default , means when your account balance reach 10*initial-deposite , maybe 10,000 then the ea will stop sending order when account balance reach 10*10,000=100,000$

anyway still can close and delete

but if any acidential reason the "StopOutAt" can not work

the limitation will turn back to "BackTestLimit"

means the ea will stop sending any order when account balance

reached "BackTestLimit" value (in Dollars)

next

MaxPending : this is how many pending order you guys want to send out

6 by default

increasefactor : this use for increasing the lot size (after the 1st time

all above live and pending have been sent and take a TP)

3 by default

CloseScrap : i think you all know

CloseRatio : close and delete the Scrap when scrap-lot-size is x times

smaller than the current live floating

3 by default

Files:
30pips_ls_.mq4  22 kb
30pips_ls_.ex4  18 kb
Reason: