{
DrawLine("My line2" + CurrentBar, 1, EMA(21)[1] + (ATR(14)[1]) * (1 + 1), 0, EMA(21)[0] + (ATR(14)[0]) * (1 + 1), Color.Red);
DrawLine("My line" + CurrentBar, 1, EMA(21)[1] + (ATR(14)[1]) * (1 + -3), 0, EMA(21)[0] + (ATR(14)[0]) * (1 + -3), Color.Green);
}
i'd love to turn this into a indicator, but i can't seem to get it to work.
Comment