Example: Producing remote signals from HaasScript

0 42 Views No Comments 3 weeks ago
  • This is an example script to show how remote signals can be produced inside HaasScript.

    Please note: This script only works in Version 4 of the Haasbot, version 3 does not have support for this.

    • This topic was modified 2 weeks, 4 days ago by Stephan.
    HaasScript Code
    p = ClosePrices(1);
    -- Make some sort of logic to trigger it
    if (p[1] > 100000) then
      -- The public and secret code can be obtained at the Signals on
      -- the left menu.
      SaveRemoteSignal('publiccode', 'secretcode', SignalLong)
Login or Register to Comment

Unlock your crypto trading potential

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

Join for Free