Add Indicator
Settings
Long Position
Current price: -
Distance: -
Distance: -
Risk/Reward:
1:2.0
Position Type:
LONG
Custom Indicator
Use simple functions. Data:
Indicators:
Registry:
Operations:
Conditions:
Parameters:
Styling:
Markers:
open, high, low, close, volume
Indicators:
SMA, EMA, RSI, MACD, BBANDS, ATR, STOCH, VWAP, CCI, WILLR
Registry:
IND('Ichimoku', {conversion:9, base:26}) (any built-in indicator)
Operations:
ADD, SUB, MUL, DIV, HIGHEST, LOWEST
Conditions:
GT (>), LT (<), IF, CROSSOVER, CONDITION
Parameters:
PARAM(name, defaultValue) - Create adjustable parameters
Styling:
PLOT(data, {color, width, type, dash, panel}) - Style + choose panel ('main' or 'oscillator')
Markers:
MARKER(condition, {color, shape, location}) - Plot signals/pivots
Examples:
Simple (no styling):
• return SMA(close, 20)
With color:
• return PLOT(SMA(close, 20), {color: '#ff0000'})
Full styling:
• return PLOT(RSI(close, 14), {
color: '#9c27b0',
type: 'line',
width: 3,
dash: 'dash'
})
Types: line, bar, area, scatter
Dash: solid, dash, dot
Multiple lines:
• const fast = PLOT(SMA(close, 10), {color: '#00ff00'})
const slow = PLOT(SMA(close, 20), {color: '#ff0000'})
return {fast: fast, slow: slow}
Buy/Sell signals (markers):
• const rsi = RSI(close, 14)
const buy = LT(rsi, 30)
return MARKER(buy, {color: '#00ff00', location: 'belowbar'})
Pivot points:
• const isPivot = GT(high, HIGHEST(high, 5))
return MARKER(isPivot, {values: high, color: '#fbbf24'})
Shapes: circle, triangle-up, triangle-down, diamond, square