This board has been archived, no new registrations are allowed. Please come join us on our discord!

Layered Buys/Sells

Can't figure out how to get a specific feature working? Ask for help here.
Registered User
Posts: 6
Joined: Mon Jun 12, 2017 4:32 am

Layered Buys/Sells

Postby coj337 » Sat Nov 25, 2017 2:28 pm

Hey guys,

I'm trying to modify my strategy in haasbot and I can't seem to figure out how. I want to create a buy with a usual indicator but after that buy place another one if they price drops x% (kind of like a stop loss but buying again instead of selling) and sell each of those buys at y% profit.

So far I've looked through the tools provided and created my own script indicator to try achieve this but had no luck. In my script I've noticed that sending the buy/sell signal to a bot only works once and changing the IndicatorContext.BotPosition property doesn't reflect in the actual bot (I'm assuming it's just a read-only field so you know it's current position).

Any ideas are welcome! :mrgreen:
P.S. Can't wait to be able to use HaasScript properly!

Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 1 guest