A line count

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #110073 quote
    icharttop
    Participant
    Junior

    line down = a

    line up = b

    line down = c

    line up = d

    line down = e  (a,b,c,d,e) = Negative count for corrections

    line up = i

    line down = ii

    line up = iii

    line down = iv

    line up = v (i,ii,iii,iv,v) = Positive count for correction

    XAUUSD-5-minutes.png XAUUSD-5-minutes.png
    #110083 quote
    Nicolas
    Keymaster
    Master

    What do you expect from us? Do you want an indicator to be coded according the up/down conditions you explained?

    icharttop thanked this post
    #110095 quote
    icharttop
    Participant
    Junior

    Hi Nicolas Yes all l need is same help to learn how l can code it myself l am trying to see it on your training programing in the video there is nothing that explains using on Style eg: line only candlestick style patton

    #110102 quote
    icharttop
    Participant
    Junior

    If there is on indicator in the system that can do that please let me know

    #110110 quote
    Nicolas
    Keymaster
    Master

    If that line is the Close you can count the top and bottom like this:

    top = close>close[1] and close[1]<close[2]
    bottom = close<close[1] and close[1]>close[2]
    
    if top then 
     topcount=topcount+1
     //do something ?
    endif 
    
    if bottom then 
     bottomcount=bottomcount+1
     //do something ?
    endif
    
    return top, bottom
    
    icharttop thanked this post
    #110113 quote
    GraHal
    Participant
    Master

    Added as Log 176 to here …

    Snippet Link Library

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

A line count


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
icharttop @icharttop Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by GraHal
6 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/14/2019
Status: Active
Attachments: 1 files
Logo Logo
Loading...