Casting a net of pending orders and catching fish called profit - page 4

 
YuraZ писал (а) >>

>> and if I were you, I'd write intelligent grider.

'Casting a net of pending orders and catching fish called profit'
 

something like that.


at least it won't be bombarded with dumb queries

--- no deletion operations, only modifications

--- there will only be one TARGET order in the market if it's trending.

if it is like the author's, then one at the top and one at the bottom with limits and maybe a couple of stops

maximum 4 orders in the market, the rest are in the griders memory

( although I would prefer trend work and that means always one order or two )

pending orders are simply shifted without being deleted

---


---


no one will punish for such a 'grid

and this algorithm was proposed by Renat

 
YuraZ писал (а) >>

something like that.


at least it won't be bombarded with dumb queries

--- no deletion operations, only modifications

--- only one order in the market if it's trending.

if it is like the author's, one at the top and one at the bottom limit and maybe a couple of stops

maximum 4 orders in the market, the rest will be in the grid memory

broken orders are simply shifted without being deleted

---

no one will punish for such a "grider"



it's not about the penalty.... as a result..... it does not exist :((

In general, bypassing the DC is not a problem - all solved by software and easy..... you can always find a screw with a left-hand thread - all it takes is practice, practice, practice and brains :))

 
YuraZ писал (а) >>

something like that.

and that's the algorithm Renat suggested.


may or may not be right, but it is my deep conviction that algorithms can be common (like "sorting" - it would be hard to come up with a new one), but the implementation, in each specific code, is different and only different..... when you "feel" and change it yourself - it is, besides all utilitarian, also a pleasure - "CAN!!!!!" :))))......

 
YuraZ писал (а) >>


For such a "grid" no one will punish you.

and this is the algorithm Renat suggested, by the way



This algorithm is acceptable if the maximum StopLevel is always smaller than the grid step, otherwise we may miss some levels (no pending orders will be set).

For example, on Alpari Micro the maximum StopLevel is 30 pips. Consequently, you cannot use a grid spacing less than 30 pips. And the maximum profit is exactly at lower values.

We will not be able to set pending orders at the step of the grid. Besides, orders may not have enough time to be set during strong movements if the step is small. This is a disadvantage of this algorithm.

 
khorosh писал (а) >>

This algorithm is acceptable if the maximum StopLevel is always less than the mesh step, otherwise you can miss some levels (no pending orders will be set).

For example, on Alpari Micro the maximum StopLevel is 30 pips. Therefore, a grid spacing of less than 30 pips cannot be used. And the maximum profit is obtained just at smaller ones

The step of the grid is too small. Besides, orders may not be set during strong movements if the step is small. This is a disadvantage of this algorithm.

in the event of a sudden jump and a level miss

1 it is possible to exit the market (in a certain interval)

2 you can place a pause with a break in the grid

 
What instrument has such a horrible stoppage on it?
 
Mathemat писал (а) >>
What instrument has such a horrible stop loss?

Alexey I once saw a 30-40 pips stop on Alpari on a EURUSD reversal

it was corrected i.e.

I was watching a stoplap of about 30-40 pips on a EURUSD reversal and then it went back to normal.

 
khorosh писал (а) >>

For example on Alpari Micro the maximum StopLevel = 30 pips.....

Help: MQL4 Reference - Standard constants - MarketInfo...... What is a StopLevel?

I am not a know-it-all and I've never thought about it, moreover I haven't checked the possibilities of brokerage companies :)......

In general, all problems should be solved as they arise..... - if sooner, you will break your head :)... if there is a problem - we will solve it.)

 
rider писал (а) >>

Help: MQL4 Reference - Standard constants - MarketInfo...... What is a StopLevel?

I am not a know-it-all and I've never thought about it, moreover I've never checked the possibilities of brokerage companies :)......

In general, all problems should be solved as soon as they appear..... :)... when you have a problem - we will solve it.)


it's a level - the size in pips

i.e. a level - the size of pips - below which you cannot place a pending order and stop - takeaway orders from the price.

it may happen that some brokers move it wider in the dynamics - then they normalize it

thus preventing scalpers and benefiting from the fact that you can't set short takeovers if you feel it's time to close

it often is almost equal to spread

---

when casting a net of pending orders, you need to read the parameter in the dynamics and take it into account.

in general it is necessary to read this parameter

unless your goals are 100 pips or higher.

if your targets are "small" :-) pips, you can't do without it