Setting up trading indicators
5 мин. чтения
Chapter“SETTING UP TRADING INDICATORS”It allows you to manage technical indicators for market analysis. Here you can configure the parameters of the indicators both at the blockchain level (general settings) and for specific trading pairs (individual settings).
🏗️ Menu Structure #
The indicator settings menu has a multi-level structure:
- Choosing a blockchain— selecting the network to set up the indicators
- List of indicators— all available technical indicators
- Detailed settings— parameters of each indicator
- Choosing a trading pair— choosing a specific pair of tokens
- Individual pair settings— settings for a specific pair
📊 Available Indicators #
The system supports 20 technical indicators:Trend indicators:
- RSI (Relative Strength Index)— relative strength index
- MACD (Moving Average Convergence Divergence)— convergence/divergence of moving averages
- SMA (Simple Moving Average)— simple moving average
- EMA (Exponential Moving Average)— exponential moving average
- ADX (Average Directional Index)— the index of the middle direction
- Parabolic SAR— parabolic time and price system
- Ichimoku Cloud— Ichimoku Cloud
Volatility and volume:
- Bollinger Bands— Bollinger bands
- ATR (Average True Range)— average true range
- Keltner Channel— Keltner Channel
- Volume Profile— volume profile
Oscillators:
- Stochastic Oscillator— stochastic oscillator
- Williams %R— Williams’ percentage range
- CCI (Commodity Channel Index)— the index of the commodity channel
- Momentum— pulse indicator
- ROC (Rate of Change)— rate of change
- OBV (On-Balance Volume)— balance volume
- MFI (Money Flow Index)— cash flow index
- Ultimate Oscillator— the ultimate oscillator
Support/Resistance levels:
- Pivot Points— pivot points
⚙️ Settings of each indicator #
Each indicator has a set of configurable parameters:RSI (Relative Strength Index):
- Period— the number of candles to calculate (5-50, standard 14)
- Purchase Threshold— oversold level (0-50, 30 is standard)
- Threshold of sale— overbought level (50-100, standard 70)
MACD (Moving Average Convergence Divergence):
- The Fast period— fast EMA period (5-50, 12 as standard)
- Slow period— slow EMA period (10-100, 26 as standard)
- Signal period— signal line period (3-20, 9 as standard)
- Purchase Threshold— minimum value for purchase (0.01 is standard)
- Threshold of sale— the maximum value for sale (standard -0.01)
Bollinger Bands:
- Period— the period of the moving average (5-50, 20 is standard)
- Standard deviation— deviation multiplier (1-5, standard 2)
- Purchase Threshold— price position relative to the lower band (0-1, 0.1 is standard)
- Threshold of sale— price position relative to the upper band (0-1, 0.9 is standard)
Stochastic Oscillator:
- Period %K— main line period (5-50, standard 14)
- Period %D— signal line period (3-20, standard 3)
- Purchase Threshold— oversold level (0-60, 20 is standard)
- Threshold of sale— overbought level (40-100, 80 is standard)
Williams %R:
- Period— the number of candles to calculate (5-50, standard 14)
- Purchase Threshold— oversold level (-100 to -10, standard -80)
- Threshold of sale— overbought level (-90 to 0, -20 as standard)
CCI (Commodity Channel Index):
- Period— calculation period (5-50, 20 is standard)
- Purchase Threshold— Oversold level (-200 to -50, standard -100)
- Threshold of sale— overbought level (50-200, standard 100)
ATR (Average True Range):
- Period— the period for calculating volatility (5-50, standard 14)
- Purchase Threshold— minimum volatility for purchase (0.001-1.0)
- Threshold of sale— maximum volatility for sale (0.001-1.0)
SMA/EMA (Moving Averages):
- Period— number of candles (5-200, 20 as standard)
- Purchase Threshold— price deviation from MA in % (-1 to 1, 0.01 is standard)
- Threshold of sale— price deviation from MA in % (-1 to 1, standard -0.01)
ADX (Average Directional Index):
- Period— the period for calculating the trend (5-50, standard 14)
- Purchase Threshold— minimum trend strength to buy (5-50, 25 as standard)
- Threshold of sale— maximum trend strength for sale (5-50, 20 is standard)
Parabolic SAR:
- Boost— acceleration factor (0.01-0.5, 0.02 as standard)
- Maximum— maximum acceleration (0.1-1.0, standard 0.2)
- Purchase Threshold— distance from SAR to purchase
- Threshold of sale— distance from SAR for sale
Momentum:
- Period— the period for calculating the pulse (5-50, 10 as standard)
- Purchase Threshold— minimal buying momentum
- Threshold of sale— maximum selling momentum
ROC (Rate of Change):
- Period— the period for calculating the rate of change (5-50, 10 is standard)
- Purchase Threshold— minimum growth rate for purchase
- Threshold of sale— maximum growth rate for sale
OBV (On-Balance Volume):
- Period— period for volume analysis (5-50, standard 14)
- Purchase Threshold— minimum volume growth for purchase
- Threshold of sale— maximum volume growth for sale
MFI (Money Flow Index):
- Period— the period for calculating cash flow (5-50, standard 14)
- Purchase Threshold— oversold level (0-50, 20 is standard)
- Threshold of sale— overbought level (50-100, 80 is standard)
Keltner Channel:
- Period— the period for calculating the channel (5-50, 20 is standard)
- Multiplier— ATR multiplier (1-5, 2 as standard)
- Purchase Threshold— price position relative to the lower limit
- Threshold of sale— price position relative to the upper limit
Ultimate Oscillator:
- Period 1— short period (5-20, standard 7)
- Period 2— average period (10-30, standard 14)
- Period 3— long period (20-50, 28 as standard)
- Purchase Threshold— oversold level (0-50, 30 is standard)
- Threshold of sale— overbought level (50-100, standard 70)
Ichimoku Cloud:
- Tenkan Period— Tenkan line period (5-20, 9 as standard)
- The Kijun Period— Kijun line period (10-50, 26 as standard)
- Senkou Span B Period— Senkou Span B line period (20-100, 52 as standard)
- Purchase Threshold— conditions for purchase (the price is higher than the cloud)
- Threshold of sale— conditions for sale (price below the cloud)
Pivot Points:
- Type— classic, Fibonacci, Wood, Camarilla
- Purchase Threshold— distance from the support level
- Threshold of sale— distance from the resistance level
Volume Profile:
- Period— period for volume analysis
- Levels— number of volume levels
- Purchase Threshold— terms of purchase by volume
- Threshold of sale— terms of sale by volume
🎯 Logic #
The system uses consensus indicators to make trading decisions.:
- Consensus threshold— the minimum number of stacked indicator strengths for the signal (1-100)
- Meaning— the selected number of indicators that should give a signal for a deal
- Timeframe— time interval for analysis (1m, 5m, 15m, 1h, 4h, 1d)
- Candle Limit— number of candles for analysis (100-1000)
- Logic— type of consensus (simple, balanced, expert)
Types of logic:
- Any indicator— any of the indicators gives a signal
- All indicators— all the indicators turned on gave a signal
- Selected quantity— a certain number of indicators should work for a deal
- Consensus— a complex system for calculating indicators based on the specific strength of each indicator and the selected threshold for the transaction
🔧 Settings Management #
Indicator settings management functions:Copying Settings:
- Copy from the blockchain— applying common network settings to a pair
Reset settings:
- Reset to the blockchain— deleting individual pair settings
- Reset the indicator— reset the settings of a specific indicator
📋 Priority settings #
The system uses a hierarchy of settings:
- 1. Individual pair settings— top priority
- 2. Blockchain Settings— medium priority
- 3. Standard settings— basic priority
Application logic:
- If there are individual settings— they are used
- If there are no individual— the blockchain settings are used
- If there are no blockchain settings— the standard ones are used
🔍 Settings display #
Information about current settings:
- 📌 Individual settings— settings for a specific pair
- 🌐 Blockchain Settings— general network settings
- 📊 Number of configured indicators— statistics
- 🎯 Consensus threshold— current value
- ,️ Timeframe— time interval
- 🔢 Candle Limit— the amount of data
Indicator statuses:
- 📌 Configured— the indicator has individual settings
- 🌐 Blockchain— network settings are being used
- 🔘 Disabled— the indicator is not in use
🔧 Real system functions #
- Automatic saving— all changes are saved to the database
- Validation of parameters— checking the correctness of the entered values
- Caching settings— quick access to configuration
- Priority of settings— automatic application of the correct configuration
- Error handling— correct exception handling
- Logging— record all changes in the log
- Synchronization— updating settings between components
📋 What happens when settings are changed #
- Instant application— new settings are applied immediately
- Saving to the database— changes are recorded in the database
- Updating the cache— the settings cache is updated
- Reloading configs— the bot is reloading the configuration
- Validation— checking the correctness of new values
- Notifications— confirmation of successful saving
- Logging— record changes in the log
- Synchronization— updating settings in all modules
⚙️ Menu navigation #
- 🔙 BACK — return to the previous menu
- 🌐 Blockchains— transition to the choice of blockchain
- 🛠 Token Setup— token management
- ⛓️ Pair Setting— management of trading pairs