I want to add this:
When CE (Chandelier Exit) indicator in buy --> Only Long Signals
When CE (Chandelier Exit) indicator in sell --> Only Short Signals
At my script:
longcondition = rsi>80 and macd>0
shortcondition = rsi<20 and macd<0
In addition to these conditions, I am trying to add what I want in the CE indicator, can you help me?
I tried to add buySignal
variable, but it works poorly. When I tried to add this, it gave me only the CE changes
I'm trying to get signals with rsi
and macd
. The CE indicator will filter it with buy and sell lines. I hope I explain myself.