Comment To: [kob] HB 3.0: Ichimoku, MACD, VolumeRSI , CCI, Profit Trailer.

#2216
Kobalt
Basic
Up
0
Down
::

This: ERROR: Missing DefineCommand()
Tells me you created a
Command instead of a script to import a (scripted) Haasbot.

This all can be a bit overwhelming at first..
Let me try and explain it so it makes sense and will stick..

You can look at a script as a ‘Project’ either a work in progess or a complete bot..
Like this is a ready Haasbot made in Virtual Editor.

This includes trade logic indicators and every part is a command even the most basic, part..
This bot is made in VE with default commands, so it works without that custom dependency)
You can also find many Custom Commands published here..

[Bunka published some indicators ported some from Pine script, very intricate works of art…
It’s inspirational and a challenge when we all still use the same tools…..]

So you could see scripts as ‘arrangements of commands’..

Commands are parts: a Virtial Editor block….. in Script Editor. a command will be suggested as you type, each category has a specific color. (like the connectors in VE)

A script often includes multiple commands, here in a Haasbot/tradebot setup these are ready to use Easy Indicators, safeties and Insurances…
But. ..usualy..not the other way around….

Hope this helps…

  • This reply was modified 2 years, 11 months ago by Kobalt.

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free