upbox and downbox are defined params. I have tried everything to try to stop it from placing LONG positions under the average (110) e.g. ELSIF upbox + downbox<mo THEN etc.
Great many thanks guys. That really helped. Ive sorted it now.
Just another question about the mechanics of automated trading if i may?
I have written a multiple moving average crossover strategy for the hourly USD/JPY which returns over 100% a year. If i then apply this to the EUR/GBP it losses money.
Is this because i have been writing / altering the code to suit the backtesting of the USD/JPY? And do i need to get the code working well on all pairs before implementing? Or is this normal that these types of strategy suit some pairs more than others?
You asked … is this normal that these types of strategy suit some pairs more than others? … Yes, but usually it’s due to the value of the variables have been optimised for a particular forex pair etc.
You said … which returns over 100% a year … you sure you have the ‘tick mode box’ enabled as this sounds too good to be true?
Make sure you run in Demo for weeks / months before you go Live and maybe lose your hard earned money??
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.