Moving Average Color Direction Detection, possibility to configure:
- Type: SMA, EMA, WMA, VWMA, SMMA, DEMA, TEMA, HULLMA, ZEMA, TMA, SSMA - Lenght - Source - Colour direction
版本注释
⋅
Alert Change Direction MA
版本注释
⋅
Message Alert
版本注释
⋅
IMMEDIATE REACTION OPTION (Disabled by default): This mode reacts immediately, does not have filtering, can generate false signals in the change of direction but can anticipate the change more quickly.
版本注释
⋅
Remove the immediate reaction, and now you can configure the reaction to your need, by default it is 3 you get a very good result and filtered, 1 would be the most violent reaction that quickly detects a change of direction but gets more amount of false changes of direction, Try it and configure it to your need.
great script been using for a while. I was wondering if there is a way to add the direction of the change (Up/Down) to the alert?
i tried adding this
direction_string = direction > 0 ? "UP" : direction < 0 ? "DOWN" : "NA"
alertcondition(change_direction, message = direction_string)
but received compiler errors in several iterations. any thoughts?
TIA!