08-26-2019, 01:23 PM
Currently developing some improvements to bull/bear strategies.
It would be handy for debugging my code to get the profit % to console.log when i do a short
how to get that, is it simply the previous.close and current candle close.. or does it works a bit more advanced ?.
(as that is not guaranteed to happen in real life to get it like that).
It would be handy for debugging my code to get the profit % to console.log when i do a short
how to get that, is it simply the previous.close and current candle close.. or does it works a bit more advanced ?.
(as that is not guaranteed to happen in real life to get it like that).