I dont get it how its deciding the position size, Take profit and so on.
every trading mode should be easily customizable, like alertatron.com
In the attachment there is a screenshot of the functions that they already built.
Thats an example script I would love to see on octobot similarly.
And later hide it behind a GUI
Example from alertatron.com:
AccountName(BTCUSD) {
#Only do something if the open position size is less then 0.7x of the account size
continue(if=positionSizeLessThanEq, value=70%);
#cancel all open orders
cancel(which=all);
#try to limit in and top up to 1x the account size and follow the price for 5$
trailingLimit(position=100%,
minOffset=0, maxOffset=0,
slippageLimit=5,
background=false,
postOnly=true
);
#If limit not filled, enter by market
market(position=100%);
#stop loss
stopOrder(side=sell, amount=100%p, offset=e0.5%, trigger=last, reduceOnly=true);
#multiple take profits
limit(side=sell, amount=25%p, offset=0.75%, reduceOnly=true);
limit(side=sell, amount=25%p, offset=1%, reduceOnly=true);
limit(side=sell, amount=25%p, offset=1.8%, reduceOnly=true);
limit(side=sell, amount=25%p, offset=3.5%, reduceOnly=true);
}