chxaoao wrote:
Hi:
I have made a strategy using VJforex. However when I copied the source code into the Jforex and complied it, the error comes as below:
17:49:21 The public type test_VJ must be defined in its own file
17:49:21 ^^^^^^^^^^^^^^^^^^^^^
17:49:21 public class test_VJ implements IStrategy {
2013-07-02 17:49:21 1. ERROR in C:\Users\chxi7359\Local Settings\JForex\chxi7359\jfxide\tmp\compile\test_VJ.java (at line 18)
2013-07-02 17:49:21 ----------
Seemingly something wrong with the "public" variables. How can I solve this? Thanks!
Does the file have the same name: test_VJ ? It has to be the same as the name before
implements.
Edit: Didn't read further... it seams it has the same name. Post the whole file so I can take a look at it and tell what is wrong, if I can.
Cheers