pine-parser 0.1.0

Parser for Pine Script.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//@version=4

// Nested if and for statements
x = 10

if x > 5
    total = 0
    for i = 0 to 10
        if i % 2 == 0
            total := total + i
        else
            total := total - i
    result = total