Signal Code Alert

 

Hello!


How can i set the system, via code or via configuration, to give me a signal just in the same candle that occurs.

I have created a simple two ma cross, but the signal is send to me only in the next candle.

How can i fix it?

 

Put it in OnTimer() function.

Or at least i guess because you'd have to show some code if you want help.

Reason: