Plot vertical line at cross of SlowK and SlowD


Category:
0
0

Hello, is there a way to add a vertical line whenever the Stochastic SlowK crosses the SlowD?

Marked as spam
Posted by (Questions: 2, Answers: 1)
Asked on January 23, 2021 9:38 am
172 views
0
Private answer

def crossAbove = StochasticSlow()."SlowK" crosses above StochasticSlow()."SlowD";
def crossBelow = StochasticSlow()."SlowK" crosses below StochasticSlow()."SlowD";
AddVerticalLine(crossAbove, "Cross Above", Color.CYAN);
AddVerticalLine(crossBelow, "Cross Below", Color.MAGENTA);

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on January 23, 2021 11:20 am