Incorporating indicators into your strategy that pine doesn't have a built-in function for
Hello all. I'm trying to create a pine strategy making use of the Chandelier Exit indicator. CE indicator plots a "Buy" and "Sell" notice on the chart at optimal conditions. How can I get my strategy to acknowledge these? From what I understand, the CE indicator is based on ATR. I hope I don't have to recreate the CE indicator from scratch using ta.atr.
I see a bunch of built in indicator functions to make use of such as ta.crossover, ta.ema, ta.macd, etc... But how to you incorporate an indicator into your strategy such as CE that doesn't have a built in function? The Indicator name seems to be 'CE (22,3)' and in the alert window the alert is called 'CE Buy'
Indicator is open source - here's the link: https://www.tradingview.com/script/AqXxNS7j-Chandelier-Exit/
I would just like to know when the BUY signal is true so I can move onto further analysis.
Thanks!
Posted Apr 7, 2022, 7:57 PM UTC · edited
What you see in screen comes from an algorithm. That means that some variable contains the result. Depending the result is what color or shape is displayed.
Check
buySignalandsellSignalvariables. Track the logic behind them. After that most things will become clearI see them! Looking further. Thanks!