Thanks Spirit, I had some basic JavaScript expxerience in the past
The code still buys like crazy on tick if I set the value to < 0
e.g:
function tick(){
if(Spread = 0){
enterLong();
}
}
I think it's buying on tick, because it seems irregular in it's buying - but still atleast 1 order a second which makes me think it's ignoring the Spread conditional?
Nvm, i figured it out! You were right, I was being dumb