Summation with for to next loop

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #132185 quote
    VNVN
    Participant
    Average

    looks like my code didnt paste. here is what i was trying to do, but without much luck

    if close<close[1] and close[1]>close[2] then
    count=count+1
    elsif close>close[1] and close[1]<close[2] then
    count=count+1
    endif
    #132189 quote
    VNVN
    Participant
    Average

    yes, that works Roberto. Many thanks!

Viewing 2 posts - 16 through 17 (of 17 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

Summation with for to next loop


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Vagus_Lux @vagus_lux Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 08/13/2018
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...