READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

Timer Function

4 replies

TJ#

Customer, bbp_participant, community, 143 replies.

Visit profile

9 years ago #116380

hi Tomas,

 

Is there  a TIMER func on EA Wizard? 

 

TIMER = HH:MM:SS

 

Eg.

When MA 13 & 21 crosses on M1 chart, I would like to LONG after 2min & 30 secs or 3min 15sec .

 

Thanks. 

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

9 years ago #141729

Hello,

 

so you want to run a min/sec counter after the indicator cross? I can make an example for this

0

TJ#

Customer, bbp_participant, community, 143 replies.

Visit profile

9 years ago #141744

Yes, a countdown counter func. 🙂

 

Can we incorp this into EA wIzard 4? 

 

Thank you Tomas.. 🙂

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

9 years ago #141767

Add this into EA Wizard / code / CustomFunctions.mq4 file. Then you can use it in Wizard as it is shown in example attached.

int getCurrentMinute() {
  return Minute(); 
}

0

TJ#

Customer, bbp_participant, community, 143 replies.

Visit profile

9 years ago #141774

Thank you Tomas. 

0

Viewing 4 replies - 1 through 4 (of 4 total)