Auto-entry and canceling pending orders

MQL5 Experts Scripts

Spécifications

I need an auto order entry robot for MT5

At Singapore time 7am the robot will auto put in orders 

1) R is numerical value ( can be adjusted ) that will be added or subtracted from the day opening price

2) A is the number of lots ie 1 = 1 standard and 0.01 = 1 mirco lots

3) i is the percentage of increment. Eg 30% is 0.3


Eg day open price is 53.00 ( this will be the reference point ) 


53.00+6r

A

buy stop 2pips lower

A*(1+i)6

Sell Limit

53.00+5r

A

buy stop 2pips lower

A*(1+i)5

Sell limit 

53.00+4r

A

buy stop 2pips lower

A*(1+i)4

Sell Limit

53.00+3r

A

buy stop 2pips lower

A*(1+i)3

Sell limit 

53.00+2r

A

buy stop 2pips lower

A*(1+i)2

Sell Limit

53.00+r

A

buy stop 2pips lower

A*(1+i)

Sell limit 

53

reference point

reference point

reference point

reference point

53.00 -r

A*(1+i)

Buy limit

A

Sell stop 2pips higher

53.00-2r

A*(1+i)2

buy limit

A

Sell Stop 2pips higher

53.00 – 3r

A*(1+i)3

Buy limit

A

Sell stop 2pips higher

53.00 – 4r

A*(1+i)4

buy limit

A

Sell Stop 2pips higher

53.00 – 5r

A*(1+i)5

Buy limit

A

Sell stop 2pips higher

53.00 – 6r

A*(1+i)6

buy limit

A

Sell Stop 2pips higher

There are some other parameter to close the orders and pending orders 





Exit: Close all positions either:

1)      When price goes back to R ie REFERENCE PRICE ,

OR

2)      There are still open positions at 3am/3:30am ( adjustable )

OR

3)      Conservation or Aggressive mode ( changeable )

a.       Conservation = ( wrong leg turn positive ) àClose all positions

b.       Aggressive = ( trend following leg turn negative ) à close all



Full detail will be discussed more in details


Répondu

1
Développeur 1
Évaluation
(192)
Projets
232
30%
Arbitrage
1
100% / 0%
En retard
9
4%
Gratuit
Publié : 2 codes
2
Développeur 2
Évaluation
(169)
Projets
204
30%
Arbitrage
25
40% / 44%
En retard
12
6%
Gratuit
3
Développeur 3
Évaluation
(130)
Projets
210
40%
Arbitrage
90
20% / 43%
En retard
85
40%
Gratuit
4
Développeur 4
Évaluation
(54)
Projets
53
17%
Arbitrage
7
0% / 100%
En retard
5
9%
Gratuit
Commandes similaires
Job Description: We are looking for an experienced MQL5 developer to create a script or Expert Advisor (EA) that automatically updates the price of a token CFD on MT5, using a live BTCUSD feed. The goal is to make token fully CFD-tradable , with real-time price updates, charts, and client P/L. Clients should be able to trade long or short and view live candles, just like other MT5 CFDs. Scope of Work / Requirements

Informations sur le projet

Budget
30 - 45 USD