> ## Documentation Index
> Fetch the complete documentation index at: https://docs.luxalgo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LUCID Connectors

<img src="https://mintcdn.com/luxalgo/-Cu8R2acNraf_ZS4/public/images/backtesters/strategy-scripting/lucid-connectors/settings.png?fit=max&auto=format&n=-Cu8R2acNraf_ZS4&q=85&s=4b58e605c737b464095b6226c5e583b3" alt="" width="507" height="234" data-path="public/images/backtesters/strategy-scripting/lucid-connectors/settings.png" />

LUCID (LuxAlgo Universal Conditions Identifier) connectors are identifiers used to share the **trigger placeholders** from toolkits directly to any Backtester by simply using them as a source in the appropriate inputs.

One usage of LUCID connectors is being able to backtest strategies based on both the Signals & Overlays™ indicators and Oscillator Matrix™ using the PAC Backtester.

<Warning>
  LUCID Connectors are only available starting from the following toolkit versions

  * LuxAlgo® - Signals & Overlays™: 7.0
  * LuxAlgo® - Price Action Concepts™: 3.0
  * LuxAlgo® - Oscillator Matrix™: 7.0

  And can be used only starting from the following Backtester versions:

  * Backtester (S\&O): 3.0
  * Backtester (PAC): 2.0
  * Backtester (OSC): 2.0
</Warning>

## Connectors

Each toolkit connector can be identified from their name:

* **"LuxAlgo® - Signals & Overlays™: LUCID Connector"**
* **"LuxAlgo® - Price Action Concepts™: LUCID Connector"**
* **"LuxAlgo® - Oscillator Matrix™: LUCID Connector"**

## Available Placeholders

Only the trigger placeholders of each toolkit are supported, to get a list of those placeholders see:

* [Signals & Overlays™ trigger placeholders](/docs/toolkits/alert-scripting/placeholders#trigger-placeholders)
* [Price Action Concepts™ trigger placeholders](/docs/toolkits/alert-scripting/placeholders#trigger-placeholders-2)
* [Oscillator Matrix™ trigger placeholders](/docs/toolkits/alert-scripting/placeholders#trigger-placeholders-3)

## How To Use

Let's suppose that we want to backtest a strategy with the following entry conditions:

* long: bullish CHoCH while the neo cloud is bullish and the market is trending
* short: bearish CHoCH while the neo cloud is bearish and the market is trending

For this example, we will use the PAC Backtester, as such we need the Signals & Overlays™ toolkit to share information about the Neo Cloud and Trend Strength indicators.

<img src="https://mintcdn.com/luxalgo/-Cu8R2acNraf_ZS4/public/images/backtesters/strategy-scripting/lucid-connectors/in-chart.png?fit=max&auto=format&n=-Cu8R2acNraf_ZS4&q=85&s=58f2d2a13043e4d1d4e44b5e46f69710" alt="" width="496" height="122" data-path="public/images/backtesters/strategy-scripting/lucid-connectors/in-chart.png" />

First, we can add the PAC Backtester and Signals & Overlays™ toolkit to our chart.

<img src="https://mintcdn.com/luxalgo/-Cu8R2acNraf_ZS4/public/images/backtesters/strategy-scripting/lucid-connectors/is-enabled.png?fit=max&auto=format&n=-Cu8R2acNraf_ZS4&q=85&s=ef5d50f87da0f2eda5fabf9b28617338" alt="" width="751" height="457" data-path="public/images/backtesters/strategy-scripting/lucid-connectors/is-enabled.png" />

Once done, let's make sure the Neo Cloud overlay is enabled in the Signals & Overlays™ toolkit.

<img src="https://mintcdn.com/luxalgo/-Cu8R2acNraf_ZS4/public/images/backtesters/strategy-scripting/lucid-connectors/lucid-selection.png?fit=max&auto=format&n=-Cu8R2acNraf_ZS4&q=85&s=f222eeb2900832fb37043977e4743615" alt="" width="911" height="512" data-path="public/images/backtesters/strategy-scripting/lucid-connectors/lucid-selection.png" />

Once the Neo Cloud is enabled, go to the PAC Backtester settings, locate the **CONDITIONS (ADVANCED)** section, then locate the **LUCID Connector (S\&O)** setting, open its dropdown and select **"LuxAlgo® - Signals & Overlays™: LUCID Connector"**.

<Warning>
  When using the LUCID connector of a specific toolkit make sure to select it from the correct input setting.

  For example having in the **LUCID Connector (S\&O)** setting the LUCID connector for the Price Action Concepts™ toolkit **"LuxAlgo® - Price Action Concepts™: LUCID Connector"** will result in unexpected results.
</Warning>

Now we simply need to script our strategies. THe PAC Backtester already includes placeholders for bullish and bearish CHoCH's, `{bullish_choch}` and `{bearish_choch}`. For the Signals & Overlays, the trigger placeholders of interest are `{bullish_neo}`, `{bearish_neo}`, and `{trend_strength_trending}`,

This leads to the following scripted strategy:

```js theme={null}
// Add your long entry condition below
@long() = {bullish_choch} and {bullish_neo} and {trend_strength_trending}

// Add your short entry condition below
@short() = {bearish_choch} and {bearish_neo} and {trend_strength_trending}
```

<img src="https://mintcdn.com/luxalgo/-Cu8R2acNraf_ZS4/public/images/backtesters/strategy-scripting/lucid-connectors/trades.png?fit=max&auto=format&n=-Cu8R2acNraf_ZS4&q=85&s=2f36f4f34a2c84c9e7d934f8b20433dc" alt="" width="2149" height="772" data-path="public/images/backtesters/strategy-scripting/lucid-connectors/trades.png" />

As we can see above we are indeed filtering CHoCH's with the help of the Signals & Overlays.
