09-03-2019, 09:07 PM
as far as i know, you dont know the exact buy price (as its not the last candle.close).
But most of the time i just use the last candle close, and put it in this.boughtAt
If your interested in gekko you should learn to code with it, otherwise it wouldnt make sense (why an interest in bots if you cannot make use of them).
It took me a few days to understand jscript, i think what i posted just a few days ago could be a nice layout to get you started (download visualstudio Code)
for bracket problems and nesting problems use document format in vs code, so you quickly see where you went wrong. It will not take you weeks to learn to code, coding is more easy then you might realize, its not as complex as the english language for example.
But most of the time i just use the last candle close, and put it in this.boughtAt
If your interested in gekko you should learn to code with it, otherwise it wouldnt make sense (why an interest in bots if you cannot make use of them).
It took me a few days to understand jscript, i think what i posted just a few days ago could be a nice layout to get you started (download visualstudio Code)
for bracket problems and nesting problems use document format in vs code, so you quickly see where you went wrong. It will not take you weeks to learn to code, coding is more easy then you might realize, its not as complex as the english language for example.