Skip to content

Lorentzian Classification Walkthrough:

  • Use the Lorentzian formula to calculate your buy and sell signals using 3 different dimensions of price/time.
  • Set alerts on custom generated kernals for short and long signals.

Video 1:

Video 2:

Setting Alerts on Kernals

  • The Lorentzian Classification indicator generates buy/sell signals called "kernals" based on three primary dimensions. It has options to exclude buy/sell kernals based on other parameters to achieve more percise signals.
  • Alerts may be set to open or close positions based on various apects of the indicator.

Webhook example for opening a long position
{
  "symbol": "BTCUSDT",
  "side": "buy",
  "entryOrderType": "market",
  "leverage": 10,
  "notifyDiscordChannel": false,
  "minimumValue": 0,
  "minimumAvailableBalancePercent": 0,
  "extraStopLossMovePercent": 0,
  "takeProfits": [
    {
      "percentToSell": 15,
      "percentAboveOrBelowMarketPrice": 0.75,
      "skipStopLossMove": false
    },
    {
      "percentToSell": 25,
      "percentAboveOrBelowMarketPrice": 1.85,
      "skipStopLossMove": true
    },
    {
      "percentToSell": 25,
      "percentAboveOrBelowMarketPrice": 3,
      "skipStopLossMove": false
    },
    {
      "percentToSell": 15,
      "percentAboveOrBelowMarketPrice": 5,
      "skipStopLossMove": false
    },
    {
      "percentToSell": 20,
      "percentAboveOrBelowMarketPrice": 7,
      "skipStopLossMove": true
    }
  ],
  "label": "LorentzianBotLong",
  "marketStopLossPercent": 1.5,
  "balancePercent": 3,
  "maxEntriesPerLabel": 2
}
Webhook example for closing a long position
{
  "symbol": "BTCUSDT",
  "side": "buy",
  "closeOrderType": "market",
  "positionPercent": 100,
  "label": "LorentzianBotLong",
  "closeByLabel": true
}
Webhook example for opening a short position:
{
  "symbol": "BTCUSDT",
  "side": "sell",
  "entryOrderType": "market",
  "leverage": 10,
  "notifyDiscordChannel": false,
  "minimumValue": 0,
  "minimumAvailableBalancePercent": 0,
  "extraStopLossMovePercent": 0,
  "takeProfits": [
    {
      "percentToSell": 15,
      "percentAboveOrBelowMarketPrice": 0.75,
      "skipStopLossMove": false
    },
    {
      "percentToSell": 25,
      "percentAboveOrBelowMarketPrice": 1.85,
      "skipStopLossMove": true
    },
    {
      "percentToSell": 25,
      "percentAboveOrBelowMarketPrice": 3,
      "skipStopLossMove": false
    },
    {
      "percentToSell": 15,
      "percentAboveOrBelowMarketPrice": 5,
      "skipStopLossMove": false
    },
    {
      "percentToSell": 20,
      "percentAboveOrBelowMarketPrice": 7,
      "skipStopLossMove": true
    }
  ],
  "label": "LorentzianBotShort",
  "marketStopLossPercent": 1.5,
  "balancePercent": 3,
  "maxEntriesPerLabel": 2
}
Webhook example for closing a short position
{
  "symbol": "BTCUSDT",
  "side": "sell",
  "closeOrderType": "market",
  "positionPercent": 100,
  "label": "LorentzianBotShort",
  "closeByLabel": true
}
  • Take note that these webhook messages are examples that provide a general framework. Be sure to edit the different parameters for take profits, leverage and all other options you wish to include.