Help out anyone who cares! - page 6

 
sanyooooook >>:
прогнал на тестере что-то много 130-х ошибок может мой ДЦ не разрешает такие маленькие стопы, или у тебя тебя тоже так же

More precisely 131 wrong volume, put 1 lot in settings, still no trades. Slav, what could be the problem? Decided to see it through to the end, for that matter
 
sllawa3 >>:
вроде нашли ошибку.. надо было за цикл вынести индюк (перед стартом )


Good, although I don't know why, as long as it works :))
 
sanyooooook >>:
прогнал на тестере что-то много 130-х ошибок может мой ДЦ не разрешает такие маленькие стопы, или у тебя тебя тоже так же

also... modify trawl starts at a level less than stop level ... the dc raised the stop level parasites !
 
RomanS >>:

Точнее 131-я неправильный объем, в настройках поставил 1 лот, все равно ни одной сделки. Слав, в чем может быть проблема? Решил довести дело до конца, уж если на то пошло

Turn on the normalisation... (in the settings) you must have a min lot 0.1 instead of 0.01
 
RomanS >>:

Точнее 131-я неправильный объем, в настройках поставил 1 лот, все равно ни одной сделки. Слав, в чем может быть проблема? Решил довести дело до конца, уж если на то пошло
No, I have a clear 130 error
 
sanyooooook >>:
нет у меня четко идет 130 ошибка

you need to enter the one in % in the trawl and not in pips to start at stop level ...it's easy ( not an error by the way but a warning of impossibility of action )
 
RomanS >>:

Ну и хорошо, хотя не понятно зачем, главное чтоб работало :))

oid deinit() {
Comment(");
}
double Volotilnost(int N,int bar)
{
double upPrice,downPrice;
upPrice=iHigh(NULL,PERIOD_H4,iHighest(NULL,PERIOD_H4,MODE_HIGH,N,0));//maximum for N bars
downPrice=iLow(NULL,PERIOD_H4,iLowest(NULL,PERIOD_H4,MODE_LOW,N,0)); //minimum for N bars
return((upPrice-downPrice)/Point);
}
int start()

{ ............................... . . .

double I = Volotilnost(N,0);
 
sllawa3 >>:

oid deinit() {
Comment("");
}
double Volotilnost(int N,int bar)
{
double upPrice,downPrice;
upPrice=iHigh(NULL,PERIOD_H4,iHighest(NULL,PERIOD_H4,MODE_HIGH,N,0));//максимум за N баров
downPrice=iLow(NULL,PERIOD_H4,iLowest(NULL,PERIOD_H4,MODE_LOW,N,0)); //минимум за N баров
return((upPrice-downPrice)/Point);
}
int start()

{ ............................... . . .

double I = Volotilnost(N,0);

There you go... it turns out the cycle really wasn't necessary ;)
 
By the way, the n4 period would be better placed in the extern...
 
sanyooooook >>:
нет у меня четко идет 130 ошибка

or you can turn the trawl off ... or you can put it in pips ... e.g. 10 or 5 etc... in numbers greater than 1
Reason: