♥ 0 |
I have tried to code PSAR_LE and PSAR_SE based on the ParabolicSARCrossover Study. However, when it plots on the chart, the entire chart data gets compressed. Can you provide the sample code for such a strategy. The ParabolicSARCrossover Code is as follows: input accelerationFactor = 0.02; def sar = ParabolicSAR(accelerationFactor=accelerationFactor, accelerationLimit=accelerationLimit); plot signal = crosses(sar, close, CrossingType == CrossingType.Bearish); signal.DefineColor(“Bullish”, GetColor(5)); signal.SetPaintingStrategy(if crossingType == CrossingType.bullish How to convert it into a SE and LE strategy?
Marked as spam
|
Private answer
I believe you will find this question has already been asked and answered: https://www.hahn-tech.com/ans/parablic-sar-signal-not-firing-in-tos-strategy/ Marked as spam
|
Please log in to post questions.