You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
rid спасибо хорошая идея (от тиков придется тогда отказываться), фильтр от сильных убыточных движений ты имеешь ввиду "если сумарный профит меньше чего то, то закрыть все позиции".......
No. I meant the initial entry - "/if
//the size of the first candle is greater than the set value, no trading is allowed..."
//---------------------------------------
A question has arisen. Here is a function, which outputs (calculates) the average spread between instruments for the last NBars.
Please tell me how to set
//-------------
int k;
double N = 0; double Sum = 0;
for(k = 0; k < iBars(Symbol_1,Timeframe); k++)
{
if(N == NBars)
//------------------------
so that the function returns the average spread value not for all NBars bars,
but for NBars except the last bar.
In other words, I want the latest bar to be excluded from the calculation ! Or even a given number of most recent bars should not be included in the calculation.
Is there any way to "organise" this ?
(In return, I can give a good market entry on Monday, May 3. With a high probability of subsequent profitable closing!)
I'll send you a prospective entry in a moment.
One more question.
I just had an idea.
How about to make it even simpler. Set it like this:
Instead of for(k = 0; k < iBars(Symbol_1,Timeframe); k++)
set
for(k = M; k < iBars(Symbol_1,Timeframe); k++),
where M is the number of bars excluded from calculation.
Will it work ?
Until I moved from the function name "...., int NBarsSkip "
to the external parameters of the EA
extern int NBarsSkip =2
I don't know why there was an error.
But when I moved it, everything was fine.
I have read this branch from cover to cover - all 145 pages. thanks to everyone: rid, leonid553, fduch, neoclassic, getch, forex-k, goldtrader, timbo, fortrader. I have a lot of information, I am still digesting it. My main conclusion is the following: you have to dig here, it's worth it. P.s.: good resourceful thread, almost no flooding. Thanks again 2rid
Thank you!
"Information to think about.
From Monday the ZM-ZL spread (flour-oil, 5:6)
!