[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 462

 
Maybe it's simpler like this:

iLots = NormalizeDouble(FindLastLot() * ExpStep, 1);

 
fragile86 писал(а) >>
advise, who knows how to write in code, that the condition if checked only in last 10 min. of every hour? for example: from 12:50 to 13:00, 13:50 to 14:00 etc.

add this to each if condition

if (Minute()>=40 && your conditions)

 
Techno писал(а) >>

add this to each if condition

if (Minute()>=40 && your conditions)

Not quite right.

if (Minute()>=50 && <verifiable condition>)

 
Axmed писал(а) >>

Not quite right.

if (Minute()>=50 && <verifiable condition>)

Thanks, I think it should work

 
Greetings!
I'm not very good at MQL. I can edit an indicator. I can't write my own.
Please, help me write a super simple indicator.

I am putting a GannLine with the name "Gann Line 1" on the chart. It is applied manually by a trader. I need to output the scale value (OBJPROP_SCALE) of this tool in the commentary.

I hope for your help.
Thanks in advance!
 
 
Gannalytic >>:
Приветствую!
В MQL я дуб дубом. Подредактировать индикатор получается. Написать свой нет.
Знающие люди, помогите пожалуйста написать суперпростой индикатор.

На график наносится инструмент GannLine с именем "Gann Line 1". Наносится вручную трейдером. Нужно вывести в комментарий значение масштаб (OBJPROP_SCALE) этого инструмента.

Надеюсь на помощь.
Заранее спасибо!

Here you go.

Files:
gann.mq4  2 kb
 
Necron >>:

Держи.


Thank you!!! That's a relief! I'll be running it now.
 
Hi all, can you tell me if two indicators on one chart can influence (negatively) each other?
 
tematek писал(а) >>
>> Could you please tell me if two indicators on one chart can affect (negatively) each other?

No, they will not overlap in any way, except that the speed may be reduced if one of the indicators is very badly written))