Question on working with stops: classic on limiters + stops integrated into position - page 12

 
TheXpert:
A programmer doesn't need a degree. We have three with no degrees. And it doesn't bother them at all.

To be honest, I've never tried to get a job as a programmer, but it sounds kind of lame.

And what kind of applicant says in the HR Department, I'm Vasya Pupkin, I'm a programmer? How does a moron in C++ from the HR Department have to check this?

 
Urain:

And what does such an applicant say in the HR department, "I'm Vasya Pupkin, I'm a programmer"?

Yes, that's what he says, because when a specialist opens his mouth to give a substantive answer, his level and competence become immediately apparent.

It is not so hard to understand the "hoo-ha" of the job.

 
Renat:

Adding more means changing the main position and it is the additive stops that are correctly applied to the main position.

There is no problem here - we just need to control the stops of the position and automatically enter them in subsequent orders. Especially, taking into account that we have made sure to automatically prescribe the parent stops right in the trade window when you open a new order:


Play around in the terminal, switch modes, symbols and note that we carefully put SL and TP when selecting a symbol that already has open positions.

That is, we are making efforts to minimise stop errors for traders.

I wanted to show the error with a picture, but we're not trolls, and we'll understand it with letters.

I am referring to [exchange execution],

I have checked it by opening a demo in AlpariFS and in the "Type" tab you have to choose [instant execution] and [pending order].

no [immediate execution] yourself.

I just don't want to bother you with crap in your inbox.

 

OK, here's my question.

I have a certain position in the market that I want to hold to the limit, at least to a margin call. Let's say I have a large margin, 20 figures.

So I have expectations that some movement in my direction will take place soon and I may add to the position. I decide that, suppose the price reaches a certain level, I will open another small additional position, a tenth of the initial volume. But if the price moves against me, I will have to cut back the added volume to bring the position and risk level down to the initial one. This is not an idle speculation, but the way I work in the market.

How do I do this with linked orders? I place a buy stop order at the desired price, and in the linked order IF DONE I specify a sell on the same volume at a price lower. It is kind of a stop on the added position. And then we go for a walk.

How do I achieve this effect in MT-5?

 
yarzar:

How do I do this with linked orders? I place a buy stop order at the required price, and in the linked IF DONE order I place a sell order for the same volume at a lower price. It is kind of a stop on the added position. And then we go for a walk.

How do I achieve this effect in MT-5?

buy stop on open and sell stop limit on close
 
Urain:

No[immediate execution] yourself.

I'm sorry, I didn't pay attention to the fact that there is a stop loss on an open position and I don't know what to do with it.

I'm sorry, I didn't pay attention to stop locking at position opening. Can't be helped.

But otherwise - it's ok, we help you not to make a mistake.

 
yarzar:

OK, here's my question.

I have a certain position in the market that I want to hold to the limit, at least to a margin call. Let's say I have a large margin, 20 figures.

So I have expectations that some movement in my direction will take place soon and I may add to the position. I decide that, suppose the price reaches a certain level, I will open another small additional position, a tenth of the initial volume. But if the price moves against me, I will have to cut back the added volume to bring the position and risk level down to the initial one. This is not an idle speculation, but the way I work in the market.

How do I do this with linked orders? I place a buy stop order at the desired price, and in the linked order IF DONE I specify a sell on the same volume at a price lower. It is kind of a stop on the added position. And then we go for a walk.

How do I achieve this effect in MT-5?

Stop Stop, there are no related orders in MT5, the only exception is the stop levels that are used as an exit by force majeure. That's their essence.

Otherwise, the output should be regular, either manually or programmatically with the help of advisors.

Whoever violates these principles is creating a headache, although MQ does not forbid the user to use tp and sl to create a strategy.

 
Renat:

Yes, sorry, I didn't pay attention to the presence of stop locking when opening a pose. I can't do anything about it.

But other than that, it's fine, help me make no mistakes.

Yes on the server MQ is super very usable, but I can't say the same about execution for stockbrokers.

If i have a good hand with this, then i do not know how to fix it.

Or maybe you could do a guidebook for them?

 
Urain:

Stop stops, there are no binding orders in MT5, the only exceptions are stop levels, which are used as an exit by force majeure. That's their essence.

Otherwise, the exit is done in the usual way, either manually or programmatically with the help of EAs.

Nikolay - I wrote above how to solve

Buy stop on opening and sell stop limit on closing.

You go for a walk.

 
sergeev:

Nikolai - I wrote above how to solve

Buy stop on opening and sell stop limit on closing.

and you go for a walk.

But they are not related, that's why I rang the bell.

The guy's wrong to think they're connected.

The situation when they both get caught, as they say, is not far off.

Reason: