♥ 0 |
I have been trying to create a MTF MACD crossover at a 30 min timeframe and show bullish or bearish while I’m on the 1 min timeframe. I am having problems getting the aggregation period to work. Hoping you could help, thanks! Def positive =MACD().”Value” crosses above MACD().”Avg”; Def negative =MACD().”Value” crosses below MACD().”Avg”; def signal = if positive then 2 else if negative then 1 else 0; AddLabel (yes, “30Min ” , (if signal == 2 then Color.Green else if signal == 1 then Color.red else Color.white)); RESOLVED
Marked as spam
|
Private answer
The following tutorial video is almost everything I have to say on the topic: https://www.hahn-tech.com/thinkorswim-mtf-macd-indicator/ "Almost everything"? Yes, I do have a few more things to say and they are explained in the following video: https://www.hahn-tech.com/thinkorswim-strategy-guide-mtf/
Marked as spam
|
Please log in to post questions.