If you've run the cable all the way to the shifter with no cable stops, then it very likely won't work. At least not well.
I can't tell from the picture what shifter and derailleurs you have, nor can I tell how it's routed. And I'm not really certain I'm looking at a shifter cable. Looks more like some electric wire.
So maybe a list of the models of components involved and maybe some better lit pictures of the overall bike and cable run will help everyone guess less.