Coder der den Unterschied zweier Kurse an zeigt

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #169203 quote
    axmichiaxmichi
    Participant
    Senior

    Hallo,

    ist es möglich einen Indikator zu schreiben der mir im Chart unter oder über dem letzten Kurs auf Tagesbasis die Veränderung in % vom aktuellen Kurs zum low der kerze vor 2 Wochen an zeigt?

    Wenn möglich die Zahl in ROT geschrieben.

     

    Das wäre super

     

    Danke Euch!!

    #169257 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Da ist er:

    DEFPARAM DrawOnLastBarOnly = True
    PerCent = (1 - (Dclose(0) / Dclose(10))) * 100     //10 daily candles = 2 weeks
    DrawText("#PerCent#%",BarIndex,highest[3](high) + range * 2) coloured(255,0,0,255)
    RETURN
    #169331 quote
    axmichiaxmichi
    Participant
    Senior

    Hey und danke das ist toll, geht die Zahl auch noch etwas zu vergrößern??

     

    LG Axmichi

    #169333 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Ändern Sie Zeile 3 folgendermaßen:

    DrawText("#PerCent#%",BarIndex,highest[3](high) + range * 2,Dialog,Bold,15) coloured(255,0,0,255)

    BOLD kann in STANDARD geändert werden und die Größe kann zwischen 10 und 30 liegen (ich setze 15).

    #169336 quote
    axmichiaxmichi
    Participant
    Senior

    Danke Ihnen!!!!! Wunderbar

Viewing 5 posts - 1 through 5 (of 5 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

Coder der den Unterschied zweier Kurse an zeigt


ProBuilder: Indikatoren & Custom Tools

New Reply
Author
author-avatar
axmichi @axmichi Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by axmichiaxmichi
5 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indikatoren & Custom Tools
Language: German
Started: 05/09/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...