In code block, I want to set a condition of MACD > or < MACD Signal.
I am unable to do it as when I use Indicator compare to indicator. When I use EMA for the second indicator, the EMA variable is restricted to close, ...., but not another indicator such as the MACD indicator.
Is there a different conditional option that I can used?
I am unable to do it as when I use Indicator compare to indicator. When I use EMA for the second indicator, the EMA variable is restricted to close, ...., but not another indicator such as the MACD indicator.
Is there a different conditional option that I can used?
Rename
I just realize that I can use:
MACDHist > 0 to achieve the same thing.
I can do that because MACDHist is defined.
However, the signal line for other indicator are not defined in thecodeblock.
So, my question is:
Can we have a new qualifier of INDICATOR compare with SIGNAL?
MACDHist > 0 to achieve the same thing.
I can do that because MACDHist is defined.
However, the signal line for other indicator are not defined in the
So, my question is:
Can we have a new qualifier of INDICATOR compare with SIGNAL?
QUOTE:
Can we have a new qualifier of INDICATOR compare with SIGNAL?
This is not required, with WL's flexibility you can accomplish a simple task like this with Transformer indicators for example.
Just use the condition "Indicator Crosses Signal Line". This lets you smooth any indicator (like MACD) with any smoother (like EMA).
Dear Cone,
I am not looking for Cross-Over. I just want a conditation that:
Indicator is > than Signal line, this condition can be achieve after the cross-over bar.
I am not looking for Cross-Over. I just want a conditation that:
Indicator is > than Signal line, this condition can be achieve after the cross-over bar.
Then Eugene had the right answer. Use the IndOnInd Transformer as the second indicator for the Indicator Compare block.
Thanks. SmoothInd is the right answer for what I want to achieve.
Your Response
Post
Edit Post
Login is required