How to trade on tick with EA instead of new candle

 

I have a custom indicator that produces a red arrow when the trend is going down and a green arrow when the trend is going up. The problem is when

the arrow is drawn my trade doesn't go through until the next candle. I am specificially using OnTick() when I call the orderSend function. Is there something

I am missing?

 
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 
hornetTrader:

I have a custom indicator that produces a red arrow when the trend is going down and a green arrow when the trend is going up. The problem is when

the arrow is drawn my trade doesn't go through until the next candle. I am specificially using OnTick() when I call the orderSend function. Is there something

I am missing?

If you need help with your code, then you will need to show it. There is no way we can "guess" what is wrong with it.