I am new to forex trading and currently trying to use Milani's strategy on my demo account, but it kept executing another currency pair instead of EUR/USD (I only have EUR/USD chart opened). Please, can somebody help?
Thank you very much for your help.
John
drishti
Post subject: Re: How to set an auto trading strategy on one currecy pair only?
Post rating: 1
Posted: Tue 11 Dec, 2012, 13:20
User rating: 8
Joined: Tue 31 Jan, 2012, 11:24 Posts: 72 Location: India, Gurgaon
Add following code on Tick method and Bar method :
Example for ontick :
public void onTick(Instrument instrument, ITick tick) throws JFException {