Stop and TakeProfit are relativ to the current price as i know.
With the single Stop function it works.
I don't understand the enterLong function completly also, as it was copied from jcl enterShort function, but it seems to work:
(GER30::S) Short 1@8127 Entry limit
(GER30::S) Short 1@8132 Entry limit
(GER30::S) Short 1@8137 Entry limit
(GER30::L) Long 1@8097 Entry limit
(GER30::L) Long 1@8092 Entry limit
(GER30::L) Long 1@8087 Entry limit
Are you sure about your TakeProfit? I think you wan't the price at 8 o'clock. So it think TakeProfit = priceOpen(); !?
This is also from jcl, so I think it should be correct.
Horrible trail and error progamming style from me