Tutorials
How to run these
1. Quotes, maths, and variables
{
"name": "T1 quote and variables",
"nodes": [
{ "id": "n1", "type": "start", "position": { "x": 0, "y": 0 },
"data": { "scheduleType": "daily", "time": "09:20", "days": [0,1,2,3,4], "marketHoursOnly": true } },
{ "id": "q", "type": "getQuote", "position": { "x": 0, "y": 100 },
"data": { "symbol": "RELIANCE", "exchange": "NSE", "outputVariable": "q" } },
{ "id": "m", "type": "mathExpression", "position": { "x": 0, "y": 200 },
"data": { "expression": "({{q.data.ltp}} - {{q.data.prev_close}}) / {{q.data.prev_close}} * 100", "outputVariable": "chgPct" } },
{ "id": "l", "type": "log", "position": { "x": 0, "y": 300 },
"data": { "message": "RELIANCE ltp={{q.data.ltp}} open={{q.data.open}} prevClose={{q.data.prev_close}} change={{chgPct}}%", "level": "info" } }
],
"edges": [
{ "id": "e1", "source": "n1", "target": "q" },
{ "id": "e2", "source": "q", "target": "m" },
{ "id": "e3", "source": "m", "target": "l" }
]
}2. Indicator conditions and branching
3. Crossovers
4. Multi-timeframe filter
5. Previous-day breakout with a gap filter
6. Historical lookback
7. Risk-guarded ATM options entry
8. Reacting to a fill
9. Exit on this strategy's own P&L
10. Run only on the first trading day of the month
Where to go next
Last updated