Tutorial (strategist)

Summary and ranking of condition types:

  1. Moving Average (MA):

    • Frequency: 5 - MAs are very commonly used in quant trading for trend following and mean reversion strategies.

    • Usefulness: 4 - They are versatile and can be adapted for various time frames and assets.

  2. Bollinger Bands:

    • Frequency: 4 - Bollinger Bands are popular for identifying volatility and price extremes.

    • Usefulness: 4 - They provide clear overbought/oversold signals and can be useful in range-bound markets.

  3. Relative Strength Index (RSI):

    • Frequency: 4 - RSI is widely used for momentum strategies.

    • Usefulness: 3 - It can be very useful for spotting divergences and overbought/oversold conditions but can give false signals in strong trends.

  4. MACD:

    • Frequency: 4 - MACD is a common choice for both institutional and retail quant traders.

    • Usefulness: 4 - It provides clear signals for trend changes and momentum but may lag in fast markets.

  5. Price Action:

    • Frequency: 5 - Price is the most fundamental indicator and is used in virtually all trading strategies.

    • Usefulness: 5 - Directly reflects supply and demand, can be used for both automated and discretionary trading strategies.

  6. RSI Cross Strategy:

    • Frequency: 3 - This is a more specific strategy that might not be as broadly used as the basic RSI indicator.

    • Usefulness: 3 - The effectiveness of RSI crosses can vary greatly depending on market conditions and the specific parameters used.

  7. Percent B (%B):

    • Frequency: 2 - This is less commonly used than the basic Bollinger Bands.

    • Usefulness: 2 - It can pinpoint more precise entry and exit points within the context of the Bollinger Bands but may not be as informative on its own.

  8. Bandwidth Comparison (Bollinger Bands):

    • Frequency: 2 - This specific use of Bollinger Bands is less common.

    • Usefulness: 3 - It can be useful for detecting volatility breakouts but might require additional confirmation.

  9. Price / Bollinger Bands:

    • Frequency: 3 - Comparing price to Bollinger Bands is quite common, though not as a standalone strategy.

    • Usefulness: 3 - It can be useful for breakout strategies but requires careful risk management.

  10. Price / SMA:

    • Frequency: 4 - Price crossing over a simple moving average is a classic trading strategy.

    • Usefulness: 4 - It's a clear and straightforward signal, useful for trend-following strategies.

✅Instruction for Setting Up a Buy Condition Based on Price

Introduction to Price Conditions: In trading, the price of an asset is the most direct indicator of its market value at any given moment. Price-based conditions use the current and historical prices to make decisions about when to enter a trade.

Setting Up a Buy Condition:

  1. Condition Type: Start by selecting 'Price' from the dropdown menu. This sets the condition to be based on the asset's price action.

  2. Formula Selection: Choose 'Price / Price' to create conditions based on the comparison of the asset's price at different times.

  3. Time Frame (Period): Decide the time frame for your analysis. For example, '1 Min' means that each period is 1 minute long. This granularity affects how quickly your strategy responds to price changes.

Strategy Detail - Mathematical Explanation: The strategy detail section allows you to create a condition based on the asset's closing price at a specified period in the past. You can set up the buy condition using the following format:

[Price Indicator] on [X period ago] is [Percentage] [Comparison Operator] [Price Indicator] on [Y period ago]

For example, a simple strategy might be to buy when the current closing price is 1% higher than the closing price one period ago. Mathematically, this can be represented as:

Close[t] > 1.01 * Close[t-1]

Where:

  • Close[t] is the closing price at the current period.

  • Close[t-1] is the closing price at the previous period.

  • 1.01 represents a 1% increase.

Example Parameters for a Buy Condition:

  • Price Indicator: Choose 'Close' to use the closing price.

  • Period Comparison: Set both period selectors to '0' to compare the current closing price against itself in the immediate past.

  • Percentage: Input '1' to look for a 1% increase.

  • Comparison Operator: Choose 'higher than' to trigger a buy when the price has increased by the specified percentage.

Setting the Condition: Once you've filled in the parameters:

  • Click 'Add +' to set the buy condition.

  • The tool will now use this condition to signal a buy based on your specified price movement strategy.

✅Instruction for Setting Up a Buy Condition Based on N Ticks Price Comparison

Understanding N Ticks Price Comparison: The 'N Ticks Price Comparison' allows traders to compare the current price with the price from 'N' ticks ago. A "tick" in this context is a change in the price of a security and is not necessarily tied to a fixed time interval. This comparison can help identify trends or reversals based on short-term price movements.

Setting Up a Buy Condition:

  1. Condition Type: Ensure 'Price' is selected to focus on price-based conditions.

  2. Formula Selection: Choose 'N Ticks Price Comparison' from the dropdown menu. This option will let you compare the current price to the price at a previous tick.

  3. Time Frame (Period): Set your desired time frame for each tick. For instance, '1 Min' means that you are looking at the price change every minute.

Strategy Detail - Creating the Condition:

The strategy detail section is where you'll specify the parameters of your buy condition using the current and past prices.

Here's a step-by-step guide:

  1. Select the Price Type: For instance, choose 'Close' to base your strategy on the closing price of each tick.

  2. Determine the Comparison Value: Use the dropdown to select 'Minimum' or 'Maximum' depending on whether you want to compare the current price to the lowest or highest value within the past 'N' periods.

  3. Set the Number of Ticks: Enter the number of past periods you want to compare against today's price.

Example Mathematical Representation: If you want to buy when today's closing price is the lowest in the past 5 periods, the condition would be:

Close[t] <= Min(Close[t-1], Close[t-2], Close[t-3], Close[t-4], Close[t-5])

Example Parameters for a Buy Condition:

  • Today's Price: Choose 'Close' from the dropdown menu.

  • Comparison Type: Select 'Minimum' to identify a potential low point.

  • Past Periods: Enter '5' to compare against the previous 5 ticks.

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button. The strategy will now use this condition to generate a buy signal when the current closing price is at the minimum value of the past 5 periods.

✅Instruction for Setting Up a Buy Condition Based on Candlestick Patterns

Understanding Candlestick Patterns: Candlestick patterns are used in technical analysis to predict price movement based on past price action. A bullish candlestick typically indicates buying pressure, while a bearish candlestick indicates selling pressure.

Setting Up a Buy Condition with Candlestick Patterns:

  1. Condition Type: Select 'Candlestick' from the dropdown menu to set up a condition based on candlestick patterns.

  2. Formula Selection: Choose 'N Ticks Candlestick Type' to specify the type of candlestick pattern you're interested in.

  3. Time Frame (Period): Set the time frame for which the candlestick pattern should be identified. '1 Min' means that the platform will look for the pattern on a 1-minute chart.

Strategy Detail - Creating the Condition:

Define the candlestick pattern and the time frame for which it should be identified:

  1. Candlestick Pattern: Select 'Bullish' if you want to identify a bullish candlestick pattern as a buy signal.

  2. Period Comparison: Set the period for which you want to identify the candlestick pattern. '1' would mean the most recent candlestick.

Example Parameters for a Buy Condition:

  • Choose a bullish candlestick pattern to indicate a potential upward price movement.

  • Set the period to '1' to look for the pattern in the most recent candlestick.

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to add the buy condition based on the identified candlestick pattern.

✅Instruction for Setting Up a Buy Condition Based on Simple Moving Average (SMA) Comparison

Understanding Simple Moving Average (SMA): The Simple Moving Average (SMA) is a technical indicator that calculates the average price of a security over a specific number of periods. SMAs are used to smooth out price data and identify the direction of the trend. Comparing short-term and long-term SMAs can help traders identify potential buy signals.

Setting Up a Buy Condition with SMA:

  1. Condition Type: Select 'Moving Average' from the dropdown menu to base your condition on moving averages.

  2. Formula Selection: Choose 'SMA / SMA' to compare two different SMAs.

  3. Time Frame (Period): Select your desired time frame for the SMA calculation. '1 Min' would calculate the SMA based on 1-minute price intervals.

Strategy Detail - Creating the Condition:

Here you will define the specific SMAs to compare and set the criteria for your buy signal.

  1. Select the First SMA: This will be your shorter-term SMA. For instance, a '5' could represent a 5-period SMA which is more responsive to recent price changes.

  2. Comparison Operator: Choose 'is higher than' to identify when the short-term SMA is above the long-term SMA.

  3. Select the Second SMA: This will be your longer-term SMA. For example, '20' could represent a 20-period SMA which reflects the longer-term trend.

Example Mathematical Representation: If you want to generate a buy signal when the 5-period SMA is above the 20-period SMA, the condition would be:

SMA5[t] > SMA20[t]

Where:

  • SMA5[t] is the Simple Moving Average over the past 5 periods.

  • SMA20[t] is the Simple Moving Average over the past 20 periods.

Example Parameters for a Buy Condition:

  • For the First SMA: Enter '5' for a 5-period SMA.

  • For the Comparison Operator: Select 'is higher than'.

  • For the Second SMA: Enter '20' for a 20-period SMA.

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to add the buy condition to your strategy.

✅Instruction for Setting Up a Buy Condition Based on Price and Simple Moving Average (SMA) Comparison

Understanding Price/SMA Comparison: A Price/SMA comparison strategy involves comparing the current price of an asset with its SMA to determine buy signals. Typically, a buy signal is generated when the price of an asset rises above its SMA, indicating potential upward momentum.

Setting Up a Buy Condition with Price/SMA:

  1. Condition Type: Select 'Moving Average' from the dropdown menu.

  2. Formula Selection: Choose 'Price / SMA' for the formula. This will allow you to compare the current price to the SMA.

  3. Time Frame (Period): Define the time frame for the SMA. For example, '1 Min' indicates that the SMA is calculated based on prices at 1-minute intervals.

Strategy Detail - Creating the Condition:

In this section, you will set the specific parameters for your buy condition:

  1. Select the Price Type: Typically, you would choose 'Close' to compare the closing price to the SMA.

  2. Determine the Percentage: Set the percentage to define how much higher the current price must be compared to the SMA to trigger a buy signal.

  3. Select the SMA Period: Enter the number of periods over which the SMA is calculated. A common setting is '20' for a 20-period SMA.

Example Mathematical Representation: To create a buy signal when the current closing price is 2% higher than a 20-period SMA, the condition could be represented as:

Close[t] > 1.02 * SMA20[t]

Where:

  • Close[t] is the closing price at the current period.

  • SMA20[t] is the Simple Moving Average over the past 20 periods.

  • 1.02 represents the price being 2% higher than the SMA.

Example Parameters for a Buy Condition:

  • For the Price Type: Choose 'Close'.

  • For the Percentage: Input '2' for a 2% increase.

  • For the SMA Period: Enter '20' for a 20-period SMA.

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to implement the buy condition within your strategy.

✅Instruction for Setting Up a Buy Condition Based on SMA Cross Strategy

Understanding SMA Cross Strategy: The SMA Cross Strategy is a technical analysis tool that involves two Simple Moving Averages (SMAs) of different lengths. A 'golden cross' occurs when a shorter-term SMA crosses above a longer-term SMA, suggesting a bullish market trend.

Setting Up a Buy Condition with SMA Cross Strategy:

  1. Condition Type: Select 'Moving Average' from the dropdown menu to focus on SMA-based conditions.

  2. Formula Selection: Choose 'SMA Cross Strategy' as your strategy type. This allows you to create conditions based on the crossing of two SMAs.

  3. Time Frame (Period): Choose the appropriate time frame for your analysis. '1 Min' would indicate that the strategy is designed for short-term trading on a minute-by-minute basis.

Strategy Detail - Creating the Condition:

Define the parameters for the SMA cross:

  1. Short-term SMA: Input the number of periods for the shorter-term SMA. This is the faster moving average that will signal recent price movements.

  2. Type of Cross: Select 'golden cross' from the dropdown menu to indicate a bullish crossover strategy.

  3. Long-term SMA: Enter the number of periods for the longer-term SMA. This is the slower moving average that signals the general trend over a longer period.

Example Mathematical Representation: The condition for a golden cross would be when the 5-period SMA crosses above the 20-period SMA:

SMA5[t] > SMA20[t]

Where:

  • SMA5[t] is the Simple Moving Average over the past 5 periods.

  • SMA20[t] is the Simple Moving Average over the past 20 periods.

Example Parameters for a Buy Condition:

  • For the Short-term SMA: Set to '5' periods.

  • For the Type of Cross: Select 'golden cross'.

  • For the Long-term SMA: Set to '20' periods.

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to add the SMA Cross Strategy buy condition to your trading system.

✅Instruction for Setting Up a Buy Condition Based on Consistent SMA Percentage

Understanding the SMA Percentage Strategy: This strategy triggers a buy condition when the closing price has been a certain percentage above the 20-period SMA consistently over a specified number of periods. It is used to confirm a strong uptrend.

Setting Up a Buy Condition with SMA Percentage:

  1. Condition Type: Select 'Moving Average' from the dropdown menu to use the SMA for your condition.

  2. Formula Selection: Choose 'N Ticks SMA' to base your condition on the SMA over a number of periods.

  3. Time Frame (Period): Opt for the '1 Min' time frame for short-term trading analysis.

Parameter Settings:

  1. Moving Average Period: Set to '20' for the 20-period SMA.

Strategy Detail - Creating the Condition:

  1. Closing Price Consistency: Specify the number of periods you want to check the closing price against the SMA. Set this to '5' for the past five periods.

  2. Percentage Above SMA: Determine the consistent percentage above the SMA that you want to check. In this case, input '10%'.

Finalizing the Condition: After setting the parameters:

  • There should be an option to ensure that the closing price has been consistently higher than the SMA by the set percentage over the specified number of periods. This might be a checkbox or a dropdown where you can select "all" to indicate that the condition applies to all of the past 5 periods.

  • Click the 'Add +' button to implement the condition.

✅Instruction for Setting Up a Buy Condition Based on SMA Slope

Understanding SMA Slope: The slope of an SMA indicates the direction and strength of a trend. A positive slope suggests an uptrend, while a negative slope indicates a downtrend. By setting a threshold for the slope, traders can identify when the trend is strong enough to consider entering a position.

Setting Up a Buy Condition with SMA Slope:

  1. Condition Type: Select 'Moving Average' from the dropdown menu to create a condition based on SMA.

  2. Formula Selection: Pick 'SMA Slope' as the formula. This will allow you to base your buy condition on the change in angle of the SMA line.

  3. Time Frame (Period): Define the time frame for the SMA calculation. '1 Min' means the SMA slope is calculated based on 1-minute price intervals.

Strategy Detail - Creating the Condition:

Configure the specifics of the SMA slope condition:

  1. SMA Period: Input the number of periods for the SMA. A '5' period SMA is commonly used for short-term trends.

  2. Slope Threshold: Set a threshold for the slope. For instance, '0' degrees would indicate a flat SMA, and a positive number would set the minimum upward slope required to trigger a buy.

Example Mathematical Representation: To establish a buy signal when the slope of the 5-period SMA is rising, the condition would be:

Slope(SMA5[t-1], SMA5[t]) > 0 degrees

Where:

  • Slope(SMA5[t-1], SMA5[t]) calculates the angle between the SMA value at the previous period and the current period.

Example Parameters for a Buy Condition:

  • For the SMA Period: Choose '5' for a short-term analysis.

  • For the Slope Threshold: Input a positive value to indicate the minimum slope angle in degrees.

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to implement the SMA Slope buy condition.

✅Instruction for Setting Up a Buy Condition Based on Bollinger Bands Comparison

Understanding Bollinger Bands: Bollinger Bands are a volatility indicator that consists of a middle band, which is a Simple Moving Average (SMA), and two outer bands placed two standard deviations away from the middle band. The bands expand and contract based on market volatility. Bollinger Bands can help identify overbought or oversold conditions and potential breakouts.

Setting Up a Buy Condition with Bollinger Bands:

  1. Condition Type: Select 'Bollinger Bands' from the dropdown menu to base your condition on this indicator.

  2. Formula Selection: Choose 'Bollinger Bands Comparison' from the dropdown menu. This allows you to set conditions based on the relationship between the price and the Bollinger Bands.

  3. Time Frame (Period): Specify the time frame for the Bollinger Bands calculation. For instance, '1 Min' calculates the bands based on 1-minute price intervals.

Parameter Settings:

  1. MA Period: This is the period over which the middle SMA of the Bollinger Bands is calculated. A common setting is '20'.

  2. Std Value: This represents the number of standard deviations away from the SMA that the upper and lower bands should be. A typical value is '2'.

Strategy Detail - Creating the Condition:

Set the specific criteria for when a buy signal should be triggered:

  1. Select Band Type: Choose 'Upper Band' or 'Lower Band' depending on the strategy. For a typical breakout strategy, you would select 'Upper Band'.

  2. Price and Band Comparison: Decide the percentage the price should be from the band to trigger a buy. For example, setting '0%' means the buy signal is triggered when the price touches or crosses above the upper band.

Example Mathematical Representation: If you want to generate a buy signal when the price reaches the upper Bollinger Band, the condition is:

Price[t] >= UpperBand[t]

Where:

  • Price[t] is the current price.

  • UpperBand[t] is the value of the upper Bollinger Band at the current period.

Example Parameters for a Buy Condition:

  • MA Period: Enter '20' for a 20-period SMA in the middle band.

  • Std Value: Input '2' for the standard deviation.

  • Band Type: Choose 'Upper Band'.

  • Percentage: Input '0' to trigger a buy when the price reaches or exceeds the upper band.

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to add the buy condition to your strategy.

✅Instruction for Setting Up a Buy Condition Based on Bollinger Bands Bandwidth Comparison

Understanding Bollinger Bands Bandwidth: The bandwidth of Bollinger Bands is a measure of the difference between the upper and lower bands divided by the middle band. This metric reflects the relative volatility of the market; a low bandwidth suggests a narrow, less volatile market, while a high bandwidth indicates a wide, more volatile market.

Setting Up a Buy Condition with Bandwidth:

  1. Condition Type: Choose 'Bollinger Bands' to apply this indicator to your strategy.

  2. Formula Selection: Select 'Bandwidth Comparison' from the dropdown menu to compare the current bandwidth to a historical value.

  3. Time Frame (Period): Set the desired time frame for your strategy. '1 Min' would indicate the use of 1-minute intervals to calculate Bollinger Bands.

Parameter Settings:

  1. MA Period: This sets the period for the middle Simple Moving Average (SMA) of the Bollinger Bands. The default is often set to '20'.

  2. Std Value: This value sets the number of standard deviations that determine the width of the bands. The standard setting is '2'.

Strategy Detail - Creating the Condition:

Specify when the buy signal should be triggered based on bandwidth:

  1. Current Bandwidth: Use the interface to set a condition based on the current bandwidth measurement.

  2. Comparison Value: Decide the threshold for the bandwidth to trigger a buy. You might use 'higher than' to indicate increased volatility.

  3. Historical Bandwidth Comparison: Choose the historical period you want to compare the current bandwidth against.

Example Mathematical Representation: For a buy signal when the current bandwidth is greater than the bandwidth one period ago by a specified percentage, the condition would be:

Bandwidth[t] > (1 + Percentage) * Bandwidth[t-n]

Where:

  • Bandwidth[t] is the current bandwidth.

  • Bandwidth[t-n] is the bandwidth 'n' periods ago.

  • Percentage is the specified percentage increase.

Example Parameters for a Buy Condition:

  • MA Period: '20'

  • Std Value: '2'

  • Comparison Value: Set to '0%' for a direct comparison without any threshold.

  • Historical Bandwidth Comparison: '0' to compare with the immediate last period.

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to implement the bandwidth comparison buy condition in your strategy.

✅Instruction for Setting Up a Buy Condition Based on Percent B (%B) Comparison

Understanding Percent B (%B): Percent B (%B) quantifies a token's price relative to the upper and lower Bollinger Band. The values of %B range from 0 at the lower band to 1 at the upper band. Values above 1 or below 0 indicate the price is above or below the bands, respectively. Traders can use %B to identify overbought or oversold conditions.

Setting Up a Buy Condition with Percent B (%B):

  1. Condition Type: Choose 'Bollinger Bands' as the condition type to apply this technical indicator.

  2. Formula Selection: Select 'Percent B (%B) Comparison' for your strategy. This option allows you to compare the current %B value to a historical %B value.

  3. Time Frame (Period): Choose the appropriate time frame for your strategy. For example, '1 Min' indicates that the %B value is calculated based on 1-minute intervals.

Parameter Settings:

  1. MA Period: This sets the lookback period for the middle band's Simple Moving Average (SMA). A common setting is '20'.

  2. Std Value: Set the number of standard deviations for the Bollinger Bands. The standard setting is '2', which covers approximately 95% of price action movements assuming a normal distribution.

Strategy Detail - Creating the Condition:

Here's where you'll define the specific criteria for triggering a buy signal based on %B:

  1. Current %B: Input the current %B value that you wish to compare. This is usually set to '0%' to evaluate the current price position relative to the bands.

  2. Comparison Operator: Choose 'higher than' to specify that today's %B value should be greater than the historical %B value.

  3. Historical %B Comparison: Select the period for comparison. '0' would compare the current %B to the immediate last period.

Example Mathematical Representation: If you're looking to buy when the current %B is higher than the %B of the previous period, the condition could be expressed as:

%B[t] > %B[t-1]

Where:

  • %B[t] is the Percent B value at the current period.

  • %B[t-1] is the Percent B value at the previous period.

Example Parameters for a Buy Condition:

  • MA Period: '20'

  • Std Value: '2'

  • Current %B: '10%'

  • Comparison Operator: 'higher than'

  • Historical %B Comparison: '0' period ago.

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to add the buy condition to your strategy.

✅Instruction for Setting Up a Buy Condition Based on Price and Bollinger Bands Comparison

Understanding Price/Bollinger Bands Comparison: The Price/Bollinger Bands comparison strategy involves looking at the current price in relation to the Bollinger Bands. A common use of this strategy is to buy when the price crosses above the lower band (indicating a potential upward trend) or when the price moves back inside the bands from outside (indicating a potential reversal from an oversold condition).

Setting Up a Buy Condition with Price/Bollinger Bands:

  1. Condition Type: Select 'Bollinger Bands' from the dropdown menu to use this indicator for your condition.

  2. Formula Selection: Choose 'Price / Bollinger Bands' to set a condition based on the price's position relative to the bands.

  3. Time Frame (Period): Choose your desired time frame, such as '1 Min' for a minute-by-minute analysis.

Parameter Settings:

  1. MA Period: Select the period over which the Bollinger Bands are calculated. A standard setting is '20', which is the default for many trading systems.

  2. Std Value: This determines the number of standard deviations away from the moving average the bands are placed. The typical setting is '2', which should encapsulate roughly 95% of price action assuming a normal distribution.

Strategy Detail - Creating the Condition:

Specify the conditions under which a buy signal should be triggered:

  1. Price Type: For instance, choose 'Close' to compare the closing price to the Bollinger Bands.

  2. Band Type: Select 'Upper Band' or 'Lower Band' depending on the direction from which you expect the price to cross.

  3. Comparison: Set the comparison operator to 'higher than' if you expect the price to cross above the selected band, indicating a potential breakout.

Example Mathematical Representation: To generate a buy signal when the closing price crosses above the lower Bollinger Band, the condition could be represented as:

Close[t] > LowerBand[t]

Where:

  • Close[t] is the closing price at the current period.

  • LowerBand[t] is the value of the lower Bollinger Band at the current period.

Example Parameters for a Buy Condition:

  • MA Period: '20'

  • Std Value: '2'

  • Price Type: 'Close'

  • Band Type: 'Lower Band'

  • Comparison: 'higher than'

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to add the buy condition to your strategy.

✅Instruction for Setting Up a Buy Condition Based on Bollinger Bands Width Comparison

Understanding Bollinger Bands Width: Bollinger Bands Width compares the current width of the Bollinger Bands (the distance between the upper and lower bands) to the width of the Bands in the past. This metric can signal increases in volatility, which often occur before significant price movements.

Setting Up a Buy Condition with Bollinger Bands Width:

  1. Condition Type: Select 'Bollinger Bands' from the dropdown menu, which is the basis for this condition.

  2. Formula Selection: Choose 'N Ticks Bandwidth' to focus on the width of the Bollinger Bands over a specified number of ticks.

  3. Time Frame (Period): Decide the time frame for your analysis, such as '1 Min' for minute-by-minute trading.

Parameter Settings:

  1. MA Period: This is typically set to '20', which is the standard period for Bollinger Bands calculations.

  2. Std Value: This is usually set to '2', which creates bands that contain about 95% of price action, assuming a normal distribution.

Strategy Detail - Creating the Condition:

  1. Previous Periods Comparison: Choose how many periods back you want to compare the bandwidth. For example, '6' would mean comparing the current bandwidth to the bandwidth six periods ago.

  2. Bandwidth Threshold: Enter the percentage threshold for the comparison. The range is '0' to '1', where '1' represents 100%. In this case, '0.9' indicates 90% of the bandwidth from the selected previous period.

Example Mathematical Representation: If the condition is set for the current bandwidth to be higher than 90% of the bandwidth from 6 periods ago, the formula would be:

Current Bandwidth > 0.9 * Bandwidth 6 periods ago

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to add the Bollinger Bands Width buy condition to your trading strategy.

✅Instruction for Setting Up a Buy Condition Based on Bollinger Bands Bandwidth Percentage

Understanding Bollinger Bands Bandwidth Percentage: Bollinger Bands Bandwidth Percentage measures the width of the Bollinger Bands as a percentage of the bandwidth 'N' periods ago. It reflects the relative change in volatility: a higher percentage indicates an increase in volatility, which can precede price breakouts.

Setting Up a Buy Condition with Bollinger Bands Bandwidth:

  1. Condition Type: Choose 'Bollinger Bands' as the basis for this condition.

  2. Formula Selection: Select 'N Ticks Bandwidth' to focus on the width of the Bollinger Bands over a specified number of ticks.

  3. Time Frame (Period): Opt for the '1 Min' time frame for a minute-by-minute trading strategy.

Parameter Settings:

  1. MA Period: Typically set to '20', the standard period for Bollinger Bands.

  2. Std Value: Normally '2', this sets the bands at two standard deviations from the moving average.

Strategy Detail - Creating the Condition:

  1. Number of Periods: Set this to '6' to compare the current bandwidth to the bandwidth six periods ago.

  2. Bandwidth Threshold: This should be a fractional value between '0' and '1', where '1' represents 100% of the bandwidth. The value '0.9' signifies 90% of the previous bandwidth.

Example Mathematical Representation: If the condition is set for the current bandwidth to be higher than 90% of the bandwidth from 6 periods ago, the condition would be:

Current Bandwidth > 0.9 * Bandwidth from 6 periods ago

Finalizing the Condition: Once the parameters are set:

  • Click the 'Add +' button to add the buy condition based on the Bollinger Bands Width to your trading strategy.

✅Instruction for Setting Up a Buy Condition Based on RSI Comparison

Understanding the RSI: The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. RSI oscillates between zero and 100. Traditionally, RSI values over 70 suggest an overbought condition, while values under 30 indicate an oversold condition.

Setting Up a Buy Condition with RSI:

  1. Condition Type: Choose 'RSI' from the dropdown menu to create a condition based on this indicator.

  2. Formula Selection: Select 'RSI Comparison' as your formula type. This enables you to compare the current RSI value with a previous value.

  3. Time Frame (Period): Set the time frame for the RSI calculation. '1 Min' means that the RSI is calculated every minute.

Strategy Detail - Creating the Condition:

Define the conditions for when a buy signal should be generated based on the RSI:

  1. Current RSI Value: Enter the current RSI value you want to use as a reference for the condition. You might set this to '30' to identify potential oversold conditions.

  2. Comparison Operator: Choose 'higher than' to indicate you want to buy when the RSI crosses above the reference value, suggesting increasing momentum.

  3. Historical RSI Value: Set the historical RSI value for comparison. '0' would typically be used to compare the current RSI value to itself, which isn't useful. Instead, you might set a different value to identify when the RSI moves out of an oversold or overbought condition.

Example Mathematical Representation: To buy when the RSI moves out of an oversold condition (crosses above 30), the condition would be:

RSI[t] > 30

Where RSI[t] is the current RSI value.

Example Parameters for a Buy Condition:

  • Enter '30' (or another threshold under the traditional oversold level) for the current RSI value.

  • Set the comparison to 'higher than'.

  • Keep the historical RSI value at '0' if you are only interested in the current value crossing above the threshold.

Finalizing the Condition: After you have set the parameters:

  • Click the 'Add +' button to implement the RSI-based buy condition.

✅Instruction for Setting Up a Buy Condition Based on RSI Cross Strategy

Understanding the RSI Cross Strategy: An RSI Cross Strategy involves two RSI indicators with different periods crossing over each other. A golden cross occurs when a shorter period RSI crosses above a longer period RSI, which can be interpreted as a bullish signal.

Setting Up a Buy Condition with RSI Cross Strategy:

  1. Condition Type: Choose 'RSI' from the dropdown menu to set up a condition based on the Relative Strength Index.

  2. Formula Selection: Pick 'RSI Cross Strategy' to compare two RSI indicators with different periods.

  3. Time Frame (Period): Set the time frame for the RSI calculation, such as '1 Min' for minute-by-minute analysis.

Strategy Detail - Creating the Condition:

Specify the RSI periods for the golden cross condition:

  1. Shorter Period RSI: Enter the period for the shorter RSI. This is the RSI that reacts faster to price movements.

  2. Type of Cross: Select 'golden cross' from the dropdown menu. This indicates you're looking for the shorter period RSI to cross above the longer period RSI.

  3. Longer Period RSI: Input the period for the longer RSI. This RSI is slower and represents the more established trend.

Example Mathematical Representation: If you're setting a buy condition for when a 6-period RSI crosses above a 12-period RSI, the condition is:

RSI6[t] > RSI12[t]

Where:

  • RSI6[t] is the value of the RSI over a shorter 6-period timeframe.

  • RSI12[t] is the value of the RSI over a longer 12-period timeframe.

Example Parameters for a Buy Condition:

  • For the Shorter Period RSI: Enter '6'.

  • For the Type of Cross: Choose 'golden cross'.

  • For the Longer Period RSI: Enter '12'.

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to implement the RSI Cross Strategy as a buy condition.

✅Instruction for Setting Up a Buy Condition Based on MACD Comparison

Understanding MACD: The Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of a security's price. The MACD is calculated by subtracting the 26-period Exponential Moving Average (EMA) from the 12-period EMA. The result is the MACD line. A nine-period EMA of the MACD, called the "signal line," is then plotted on top of the MACD line and can act as a trigger for buy and sell signals.

Setting Up a Buy Condition with MACD:

  1. Condition Type: Select 'MACD' from the dropdown menu to base your condition on this indicator.

  2. Formula Selection: Choose 'MACD Comparison' as your formula. This will enable you to compare the MACD line to the signal line.

  3. Time Frame (Period): Choose the time frame for your analysis, such as '1 Min' for minute-by-minute trading.

Parameter Settings:

  1. Fast Window: Set the length of the short-term EMA for the MACD calculation. Typically, this is set to '12'.

  2. Slow Window: Set the length of the long-term EMA. Often, this is set to '26'.

  3. Signal Window: Set the period for the signal line EMA, usually '9'.

Strategy Detail - Creating the Condition:

Here's where you'll define the specific MACD conditions for generating a buy signal:

  1. MACD Period: Choose the period for the MACD line value. Setting this to '0' will use the most recent MACD value.

  2. Comparison Operator: Select 'higher than' to specify the buy condition should trigger when the MACD line is above the signal line.

Example Mathematical Representation: To buy when the MACD line crosses above the signal line, the condition could be represented as:

MACD_line[t] > Signal_line[t]

Where:

  • MACD_line[t] is the value of the MACD line at the current period.

  • Signal_line[t] is the value of the signal line at the same period.

Example Parameters for a Buy Condition:

  • Fast Window: '12'

  • Slow Window: '26'

  • Signal Window: '9'

  • Comparison Operator: 'higher than'

Finalizing the Condition: After setting the parameters:

  • Click the 'Add +' button to implement the MACD buy condition.

Last updated