thanks a lot!
this is quite close to what i need, tested it on visualjforex worked well, but when i tried it on jforex it didn't
it shows this error: java.lang.NullPointerException @ com.dukascopy.visualforex.redaxis.Webinar5_11.CloseandCancelPosition_block_31(Webinar5_11.java:502)
could you solve this for me? and if possible replace the EMA indicator with SMA? would be greatly appreciated
thanks a lot for your help