Reply

How do I get the shift of a bar/candle?

4 replies

NatLua

Customer, bbp_participant, community, 6 replies.

Visit profile

7 years ago #115522

Is there a way to get the SHIFT of a bar in EA Wizard?

 

I want to get the shift value of the H1 bar with the highest high in the last 24 completed bars and store it in the variable H1High.

Then I use the variable H1High to get the open, high, low, and close values of the said bar.

 

In other words, does EA Wizard have function similar to the iHighest and iLowest functions in MQL4?

 

 

Thanks!

 

 

 

 

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #139216

Hello,

 

yes, it can be done but you have to use custom code with the function you mentioned. Let me know if you need to see an example

0

NatLua

Customer, bbp_participant, community, 6 replies.

Visit profile

7 years ago #139224

Wow!

 

I haven’t fully explored EAW’s capabilities since I purchased SQ Pro a few days ago.

It would be really great if i could make my own custom functions.

Kindly send me a sample format (several samples would be better).

 

Thanks!!!

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #139242

Hello,

 

you can use iHighest directly as a “custom function” in EA Wizard without need to define it (MQL4 already includes the definition)

 

Look at the sample attached

0

NatLua

Customer, bbp_participant, community, 6 replies.

Visit profile

7 years ago #139254

okay i understand how to do it now.

 

thanks!!!

0

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