Help me create an indicator

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #231190 quote
    osnxp7
    Participant
    New

     

    Identify the candle that has a higher volume than the previous one

    #231191 quote
    JS
    Participant
    Senior

    Hi,

    The condition for the difference in Volume is:

    C1=Volume>Volume[1]

    The display in the graph can be done in many ways, for example by coloring the candles differently or using arrows or points in a striking color…

    In the screenshot the version with coloured dots…

    Dist=Average[10](Range)*0.3
    
    C1=Volume>Volume[1]
    
    If C1 and Close>Open then
    DrawPoint(BarIndex,High+Dist,3)Coloured("Lime")
    ElsIf C1 and Close<Open then
    DrawPoint(BarIndex,Low-Dist,3)Coloured("Red")
    EndIf
    
    Return
    osnxp7 thanked this post
    Scherm­afbeelding-2024-04-07-om-23.38.13.png Scherm­afbeelding-2024-04-07-om-23.38.13.png
    #231196 quote
    osnxp7
    Participant
    New
    thank you for helping me
    JS thanked this post
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Help me create an indicator


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
osnxp7 @osnxp7 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by osnxp7
1 year, 10 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 04/07/2024
Status: Active
Attachments: 1 files
Logo Logo
Loading...