New article Two-Stage Modification of Opened Positions has been published:
The two-stage approach allows you to avoid the unnecessary closing and re-opening of positions in situations close to the trend and in cases of possible occurrence of divirgence.
The article named "T.DeMark's Approach to Technical
Analysis" contains the recommended coefficients of the correction
length, particularly 0.382 and 0.618. Using these coefficients during
positions opening, you can avoid the unnecessary situations of closing
and re-opening of positions in situations close to the trend. The
function works well, especially in the situation of divergence
This approach, provided the profit value is reset,
helps to detect the appearance of a "favorable" trend. For example, as
it is shown in Fig.1 and compared to Fig.2.
The first modification of the order is performed by
the specified TrailingStop value, the subsequent ones set the StopLoss
smaller than the possible correction level by 1 or 2 points (in this
case, the correction coefficient = 0,382 "Coeff_"). Increase the value
of TakeProfit on every step by, for example, a half of the TrailingStop
value (you can choose another value, too!). The value of TakeProfit can
be changed, as well. For this purpose, zero value of the extern double
March = 0; operator should be set at the beginning of the program.
It would be wiser for traders who prefer the address
analysis-support of program-specific actions to be performed directly
while trading, to transfer the MagicNumber variable into the code of the
Expert Advisor itself, where the position is opened. You can read more
detailed information about the specific address support in the book by S. Kovalyov published on the MQL4.com website.
So in an EA you would put this here:
//all kinds of checks to open new orders
Start function not found and cannot be run.
yeah I think the same thing, nondisclosure.
it send modify function all the time??
and what is
i don't see they got any value?