Is it possible to write an EA that not works based on ticks?

 

We know that EA that works in function OnTick() runs based on ticks.
My question is, is it possible to write an EA based on time but not based on ticks? Thank you. 

 

Not clear question for me, but this could help ...

On every tick a new data like Ask, Bid and Volume is changing, but you as a programmer can decide whenever you want to open, close or modify your order based on your own strategy.

For example, at the every open of new bar, check your rules/conditions to make a new decision, or when Bid > MA(50) close your opened Sell trade, ... etc.

This way, you didn't rely on every tick, but at open of new bars or a specific rule/condition.

Do I answered you? Do I understand what you mean? 

 

yes is possible to run

OnTimer();
 
Osama Shaban:

Not clear question for me, but this could help ...

On every tick a new data like Ask, Bid and Volume is changing, but you as a programmer can decide whenever you want to open, close or modify your order based on your own strategy.

For example, at the every open of new bar, check your rules/conditions to make a new decision, or when Bid > MA(50) close your opened Sell trade, ... etc.

This way, you didn't rely on every tick, but at open of new bars or a specific rule/condition.

Do I answered you? Do I understand what you mean? 

Thank you, but that's not i need.

Marco vd Heijden:

yes is possible to run

Okay, Thank you. 

Reason: