Ea define how to place an order on a certain level.

To add comments, please log in or register
chainteck
11
chainteck  
Hello. Can anyone tell me how to define  to open a order on a certain prise. it has to be a sell order if the price hit´s it from above and ofc a buy if it hits it belove :)?
Keith Watford
Moderator
17642
Keith Watford  
chainteck:
Hello. Can anyone tell me how to define  to open a order on a certain prise. it has to be a sell order if the price hit´s it from above and ofc a buy if it hits it belove :)?

A Stop order?

chainteck
11
chainteck  
Yeah ofc. but how do you define so that, if that current price is below the certain level and goes up´s and hit´s it it well be a buy order. and if the current price is above the level and goes down and hit´s it. It well be a sell order?
Keith Watford
Moderator
17642
Keith Watford  
chainteck:
Yeah ofc. but how do you define so that, if that current price is below the certain level and goes up´s and hit´s it it well be a buy order. and if the current price is above the level and goes down and hit´s it. It well be a sell order?

Please be clear about what you want. What does ofc mean?

You asked how to define something and I answered. The definition of a stop order is as you described.

William Roeder
19430
William Roeder  
Keith Watford: What does ofc mean?

Of course

chainteck: Yeah ofc.
Please don't write ur - it's "you are" or "your" - MQL4 programming forum
To add comments, please log in or register