Coder der den Unterschied zweier Kurse an zeigt

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #169203 quote
    axmichi
    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
    robertogozzi
    Moderator
    Master

    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
    axmichi
    Participant
    Senior

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

     

    LG Axmichi

    #169333 quote
    robertogozzi
    Moderator
    Master

    Ä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
    axmichi
    Participant
    Senior

    Danke Ihnen!!!!! Wunderbar

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

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 axmichi
4 years, 10 months ago.

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