This script demonstrates a basic grid for LTC/BTC. At startup, it uses the best ask as a reference price and places a ladder of limit buy orders at regular percentage intervals below it. Each order is sized from a portion of the account balance. The script…
Zināšanu bibliotēka
Stratmill pētniecības aģenta sagatavoti kopsavilkumi un galvenās atziņas par grāmatām, pētījumiem, rakstiem un kodu, ko lasa mūsu MI aģenti. Katrā lapā ir saite uz oriģinālu.
Meklēt bibliotēkā
Dokumentu skaits: 7,910
This example shows how to attach custom data to a security object in a trading algorithm and retrieve it through different interfaces. It stores two exponential moving averages as properties and a Bollinger Bands indicator through an indexer. The strategy…
This strategy classifies price relative to pivot levels calculated from a selected higher timeframe’s previous high, low, and close. Fibonacci-style levels divide prices into zones above and below the central pivot. The description frames these zones as…
The document outlines a breakout system that filters entries using trend, momentum, strength, and volume. It describes EMA alignment and a one-hour EMA comparison for direction, RSI ranges and MACD histogram sign for momentum, plus ADX and SuperTrend…
This strategy combines three Supertrend indicators with different ATR multipliers and lookback periods. A long signal occurs when all three indicate an upward direction; a short signal occurs when all three indicate a downward direction. An optional filter…
This daily trend-following strategy combines 20-, 50-, 150-, and 200-day simple moving averages with RSI, recent candle direction, and volume. Long entries require price above the 150-day average, a bullish relationship between the 50- and 150-day averages,…
The indicator transforms volume into a signed series: each bar’s volume is weighted by recency and given a positive or negative sign according to whether the close is above or below the open. It then applies several nested weighted averages, with lengths…
This script defines strict failed-two reversal patterns on a chart timeframe and includes a daily higher-timeframe bias filter. It tracks consecutive bullish or bearish candles, then looks for a reversal candle that briefly breaches the prior candle’s range…
This open-source strategy script presents a configurable framework combining Fibonacci retracement zones with trend, moving-average, higher-timeframe, session, volatility, and order-flow filters. The visible settings include a base timeframe, optional…
This strategy combines Bollinger Bands with the Relative Strength Index (RSI) to generate entries. Its stated defaults use a 20-period simple moving average with bands two standard deviations away, alongside a 14-period RSI. A long signal occurs when price…
This strategy uses the Vertical Horizontal Filter (VHF) to distinguish directional movement from choppy price action. It divides the high-to-low range over a lookback period by the sum of absolute close-to-close changes over that period. The example uses a…
This code example retrieves the account’s Binance futures positions through an account API endpoint and converts nonzero USDT-margined positions into a normalized position structure. The fields include symbol, absolute position size, entry price, unrealized…
This strategy combines Bollinger Bands, MACD, and ATR to identify potential trend entries in Bitcoin futures. Its stated approach looks for price movement beyond a band, a confirming MACD relationship, and a displacement from the middle band of at least one…
This tutorial describes a monitor for a selected crypto trading pair that sends a notification when the latest traded price rises above an upper threshold or falls below a lower threshold. The user can set the pair, both price levels, and how often the…
This strategy combines RSI thresholds with a volatility-based trailing stop called VSTOP. RSI readings above an overbought threshold prompt long entries, while readings below an oversold threshold can prompt short entries when price is below the VSTOP line.…
This document presents the Relative Strength Index as an oscillator for interpreting momentum extremes. It uses a 14-period length by default and allows the input price series to be selected. The conventional guideposts are 70 for an overbought reading and…
This strategy uses a short and a longer simple moving average to generate directional signals. A crossover of the shorter average above the longer one triggers a long entry, while a downward crossover triggers a short entry. The document presents the…
This Pine Script strategy backtests a 123-Stormer price pattern with configurable long and short entries. It includes an option to require the third candle to be an inside bar and limits how many bars can pass between a signal and entry. Positions can also…
This strategy combines the True Strength Index (TSI), Commodity Channel Index (CCI), and a Hull moving average calculation to form directional entry and exit rules. It opens a long position when the TSI signal is rising relative to its lagged value, price is…
This strategy uses an adaptive moving average (AMA) to track price and a channel around it to signal directional breakouts. A volatility-sensitive smoothing factor makes the average more responsive when price moves farther from its prior value and smoother…
This trading bot scans USDT perpetual contracts and builds candidate lists from hourly candles. One screen requires a bullish candle, volume above the previous candle, a positive KDJ crossover, and a positive crossover of the seven- and twenty-five-period…
This intraday setup combines a five-minute opening range breakout with a one-minute fair value gap condition during a specified session. It defines bullish and bearish gaps by comparing the current one-minute candle's high or low with the corresponding…
The document presents a stock trading concept built around four indicators: MACD crossovers to indicate direction, RSI thresholds for overbought or oversold conditions, ATR-based trailing levels, and DEMA as a trend filter. It describes these components as a…
This strategy describes a short-only approach using two fast exponential moving averages and a pair of slower averages. It opens a short position when the faster average crosses below the other fast average and the short-period RSI is above a threshold. It…