EMA 100 – Hintergrund im Preisfenster rot/grün

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #27556 quote
    DanielDaniel
    Participant
    New

    Anbei eine an ProRealTime gerichtete Anfrage:

    Hallo,

    wenn die Kurve der EMA 100 fällt, dann sollte der Hintergrund im Preisfenster rot sein.

    Wenn die Kurve der EMA 100 steigt, dann sollte der Hintergrund im Preisfenster grün sein.

    Vorschlag Antwort:

    indicator=ExponentialAverage[100](close)
    
    if indicator < indicator[1] then
    BACKGROUNDCOLOR(255,0,0)
    elsif indicator>indicator[1] then
    BACKGROUNDCOLOR(0,255,0)
    endif
    return
    
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

EMA 100 – Hintergrund im Preisfenster rot/grün


ProBuilder: Indikatoren & Custom Tools

New Reply
Author
author-avatar
Daniel @daniel Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder: Indikatoren & Custom Tools
Language: German
Started: 03/07/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...