Display Label For ParabolicSAR


Category:
0
0

Hello Pete,
Hope you’re doing well and the market is treating you kindly! I was wondering if you could help me create a chart display label on the top left corner on TOS for the current parabolicSAR amount. Thank you for your help!

Marked as spam
Posted by (Questions: 9, Answers: 4)
Asked on September 24, 2022 1:27 pm
58 views
0
Private answer

Sure thing. Here you go:

input accelerationFactor = 0.02;
input accelerationLimit = 0.2;
def value = ParabolicSAR(accelerationFactor, accelerationLimit);
plot parSAR = value;
parSAR.SetPaintingStrategy(PaintingStrategy.POINTS);
parSAR.SetDefaultColor(GetColor(5));
AddLabel(yes, Concat("PSAR Value: ", Round(value, 2)), Color.WHITE);

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on September 24, 2022 3:48 pm