Download MetaTrader 5

OnCalculate Problem for Convert Candlestick Indicator to EA

To add comments, please log in or register
Md Amran
20
Md Amran  

Hello..

 

I want make Candlestick EA in one file mql5. no dass library.. 

So I want convert Candlestick Indicator to Expert Advisor..but have problem with OnCalculate.. OnCalculate only for indicator..For Expert Advisor only ontick..

For EA this not able to use this OnCalculate:


 

How solution?

Alain Verleyen
Moderator
33271
Alain Verleyen  

So what ? Use OnTick() and get the data yourself (CopyHigh, CopyLow...).

What is a "Telegram message" ?

Marco vd Heijden
Moderator
5492
Marco vd Heijden  

Telegram messenger

Like Skype, Whatsapp etc.

Alain Verleyen
Moderator
33271
Alain Verleyen  
Marco vd Heijden:

Telegram messenger

Like Skype, Whatsapp etc.

ah ok, didn't know this one.

I don't see how it's related to indicator or EA.

Md Amran
20
Md Amran  
Alain Verleyen:

ah ok, didn't know this one.

I don't see how it's related to indicator or EA.

problem solve..thanks
Md Amran
20
Md Amran  
Alain Verleyen:

So what ? Use OnTick() and get the data yourself (CopyHigh, CopyLow...).

What is a "Telegram message" ?

yes...problem solve..thz
Alain Verleyen
Moderator
33271
Alain Verleyen  
Donald Reeves Sihombing:

I'm sorry, what about the rates_total and prev_calculated?

thank you..

I am not sure what you are asking for ?
Alain Verleyen
Moderator
33271
Alain Verleyen  
Comments that do not relate to this topic, have been moved to "How to use ZigZag indicator to build an EA ?".
To add comments, please log in or register