TradingView
Dreadblitz
9 ago 2019 12:16

Moving Average Color Direction Detection  

Australian Dollar/U.S. DollarFXCM

Descrizione

Moving Average Color Direction Detection, possibility to configure:


- Type: SMA, EMA, WMA, VWMA, SMMA, DEMA, TEMA, HULLMA, ZEMA, TMA, SSMA
- Lenght
- Source
- Colour direction



Note di rilascio

Alert Change Direction MA

Note di rilascio

Message Alert

Note di rilascio

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.

Note di rilascio

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.
Commenti
z3r0day
hi DB

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!
AbhinavAsthana
Hi blitz,

Does this indicator repaint?
z3r0day
@AbhinavAsthana, i've been using it for about a year and never seen it "repaint" after the candle has closed
HermesReis
PARABENS AMIGO!! CONGRATULATIONS!! VERY VERY NICE JOB!! THANK YOU SO MUCH!!!
Altro