-
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor -
Use the debugger or print out your variables, including _LastError and prices and find out why. Do you really expect us to debug your code for you?
In future please post in the correct section
I will move this topic to the MQL4 and Metatrader 4 section.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello MT4 programmers out there! I needed help on changing some codes in this indicator.
A kind trader provided this indicator in one of the forum for trading Binary Options. The indicator is able to provide an accurate CALL or PUT signal but the problem is, the signal came later after the candle has opened i.e. delayed. Therefore, when the candle expired, the order became OTM. Had the signal appeared at the opening of the current candle (or before the close of previous candle), most of the orders entered will be ITM.
I attached the source code of the indicator. Need help on how to fix the codes (or where to fix?) so that the appear signal is not delayed. Thanks!