BTC USD 63,043.1 Gold USD 4,448.62
Time now: Jun 1, 12:00 AM

Need help in writing ea - Time factor to close order

Kamal_Puchong

Freshie
Messages
12
Joined
Aug 18, 2009
Messages
12
Reaction score
0
Points
3
if order took place, take profit=100pips & stop lost=100pips is written in the ea,

i would like to write additonal time factor(control) to close order as below:-

says the order is a buy order
-----------------------------
1) if in 1st hour, a sudden price up of 80 pips happen in 10 minutes within this hour, close order;
2) if in 2nd hour, a sudden price up of 70 pips happen in 10 minutes within this hour, close order;
3) if in 3rd hour, a sudden price up of 60 pips happen in 10 minutes within this hour, close order;
4) if in 4th hour, profit at 50 pips, close order;

5) if in 1st hour, a sudden price down of 60 pips happen in 10 minutes within this hour, close order;
6) if in 2nd hour, a sudden price down of 70 pips happen in 10 minutes within this hour, close order;
7) if in 3rd hour, a sudden price down of 80 pips happen in 10 minutes within this hour, close order;
8) if in 4th hour, loses at 50 pips, close order;

Can somebody kindly help me to write this? I am having problem in writing time factor in closing order.

Thanks

Rgds,
 
if order took place, take profit=100pips & stop lost=100pips is written in the ea,

i would like to write additonal time factor(control) to close order as below:-

says the order is a buy order
-----------------------------
1) if in 1st hour, a sudden price up of 80 pips happen in 10 minutes within this hour, close order;
2) if in 2nd hour, a sudden price up of 70 pips happen in 10 minutes within this hour, close order;
3) if in 3rd hour, a sudden price up of 60 pips happen in 10 minutes within this hour, close order;
4) if in 4th hour, profit at 50 pips, close order;

5) if in 1st hour, a sudden price down of 60 pips happen in 10 minutes within this hour, close order;
6) if in 2nd hour, a sudden price down of 70 pips happen in 10 minutes within this hour, close order;
7) if in 3rd hour, a sudden price down of 80 pips happen in 10 minutes within this hour, close order;
8) if in 4th hour, loses at 50 pips, close order;

Can somebody kindly help me to write this? I am having problem in writing time factor in closing order.

Thanks

Rgds,

mcm tak susah sangat, tapi tengah malas la bulan pose ni :p
 

Latest Posts

Live Forex Chart

Currency
Rates
EUR / USD
1.16068
USD / JPY
159.911
GBP / USD
1.34257
USD / CHF
0.79125
USD / CAD
1.38944
EUR / JPY
185.606
AUD / USD
0.71308
Back
Top
Log in Register