Expert Question and Expert - page 2

 
Files:
euro.mq4  2 kb
 
codersguru:
This is my version.

Codersguru,

Is your version a combination of the eurobuy and eurosell that mj10 posted earlier? So it is just one EA now?

 
Eric:
Codersguru, Is your version a combination of the eurobuy and eurosell that mj10 posted earlier? So it is just one EA now?

Yes!

Plus:

1- It opens only one trade!

2- It uses ProtectProfit ( 1,2,3 pips etc) as mj10 has requested!

I hope it works in M1 timeframe where's the Excitement !

 
codersguru:
Yes!

Plus:

1- It opens only one trade!

2- It uses ProtectProfit ( 1,2,3 pips etc) as mj10 has requested!

I hope it works in M1 timeframe where's the Excitement !

Yes! If nothing else, it will be fun to watch!! Let's see what happens.

 

Couple questions:

1) When is it supposed to trade? Does it depend on the timeframe with the open and close of the bars? So a shorter TF means it will trade more often?

2) Looking at the code, it appears that for now it will always trade 0.1 lots?

 
Files:
euro_1.mq4  2 kb
 

Where is the brokerage which accepts to open 10 trades (less or more) at once?

 

ProtectProfit

Hi, Codersguru, could you please explain how the ProtectProfit feature works?

 
hoosain:
Hi, Codersguru, could you please explain how the ProtectProfit feature works?

hoosain,

You can not set a TakeProfit value less than 5.

ProtectProfit simply checks the opened order and close it when the profit is equal to 1,2,3,4 or 5 (whatever you set).

 

Hi, Thank you, makes sense now