I might be wrong, but it looks like you are trying to set a stop and a limit order with the same enterLong() function.
In order to enter a limit order, use the negative of the entry price. For example:
...
Entry = -9500;
enterLong();
...
This will set a buy limit order at 9500. You might also want to add a condition that ensures price is above this level before setting your limit order.
If you want both buy stop and buy limit orders, you will need to use separate enterLong() calls. For example:
...
Entry = -9500; //limit order
enterLong();
Entry = 9500; //stop order
enterLong();
...
Hope that helps!