Stop and TakeProfit are relativ to the current price as i know.

The manual says:

enterLong (int Lots, var Entry, var Stop, var TakeProfit, var Trail, var TrailSlope, var TrailLock, var TrailStep): TRADE*

so i don't understand your call of enterLong. Shouldn't it be
enterlong(1,Price,Stop) ?