A line count

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #110073 quote
    icharttopicharttop
    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
    NicolasNicolas
    Keymaster
    Legend

    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
    icharttopicharttop
    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
    icharttopicharttop
    Participant
    Junior

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

    #110110 quote
    NicolasNicolas
    Keymaster
    Legend

    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
    GraHalGraHal
    Participant
    Legend

    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.
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

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 GraHalGraHal
6 years, 11 months ago.

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