cpowlett wrote:
I've re-written this indicator from mql4 and it works fine however in mql4 i get an alert on shift==1 and with the converted file i get alert on later bars. Its something silly that is escaping me, please have a look. much appreciated.
Consider adding some logging statements to see what values you actually work with and what execution paths get taken, you can do it in the similar way that it is done in here (find the attachment HolderTestLog.java):
viewtopic.php?f=65&t=48828&p=69618cpowlett wrote:
i first tried converting the mql4 file directly in JForex, works great but gives random errors
Report it here:
viewforum.php?f=124