[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 559

 
And it's empty again. Then look here... But it takes longer than looking at the table... It just won't stick, that's all. Sorry.
 
artmedia70 писал(а) >>
Have you tried to attach any of Kim's? Igor has a lot of interesting stuff and no problem what screws in, what twists out, what twists in.

I slightly reworked its three-level exit function. Now it closes a position three times and then trawls the rest to the victory...

The trailer has a full list of its functions...


I don't know anything about programming at all.
 
Deeepa >>:

Я совсем не шарю в програмировании
There are all sorts of traylines... You didn't say which one you wanted...
 
artmedia70 писал(а) >>
There's a lot of traylings out there... You didn't say which one you wanted...

the simplest one, point by point.
 

Can you tell me how to define the time of Hai/Low drawing.

I need to set the following condition in my EA: if Hai time is earlier than Low time, then .....

this is how the maxima are written:

HiPrice = MathMax(HiPrice,iHigh(NULL,PERIOD_D1,shift+1))

LoPrice = MathMin(LoPrice,iLow(NULL,PERIOD_D1,shift+1));

And this one, I'm not sure if it's right:

if (TIME_MINUTES(HiPrice)>TIME_MINUTES(LoPrice))

{ ...... }

 
Deeepa >>:

Помогите! Прикрутите кто нибудь трейлинг-стоп к этому коду.

Sorry for the delay - wasn't home...

Screwed it on. Simple. As requested. From Igor Kim.


// -----------------I've framed everything I've added like this-----------------------------

//zhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzh

 
maryan.dirtyn >>:

мне не нужен return. дело происходит в подфункции.. мне нужно чтоб while() долбало, пока не отпустит.. кратко вот так:

что поправить и где, чтоб заработало?

double tmp=Ask; 
while(Ask<=tmp)
  {tmp=Ask;   // присваивает темпу значения аск.
   Sleep(1000); // спим чтоб не часто рефрешить.
   RefreshRates(); // присвавиваем аск последнее значение.
  } 
Print("Заработало");

as long as there is no refreshrates before the truth check, tmp will always equal Ask.

 

Maybe like this:

int HiTime = TIME_MINUTES(Time[HiPrice]);

int LoTime = TIME_MINUTES(Time[LoPrice]);

 
artmedia70 писал(а) >>
Sorry for the delay - wasn't home...

Screwed it on. Simple. As requested. From Igor Kim.


// -----------------I've framed everything I've added like this-----------------------------

//zhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzhzh


Thank you so much!!!

 
Where are you pros?