Convert indicator to 10.3v

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #33797 quote
    Jon88Jon88
    Participant
    Junior

    HI there,

    I found this indicator which works better with anything less than 10.3. I would like to convert the indicator to appear on the chart with arrows rather than at the bottom. Is there away of doing it?

     

    value = 0
    clong1 = low < low[1] and low<low[2]
    clong2 = close >= low[1]-1 and open >= low[1]-1
    clong3 = abs(open - close) < 4*range/10
    clong4 = open > (low + range*5/10) and close > (low + range*5/10)
    cshort1 = high > high[1] and high > high[2]
    cshort2 = close <= high[1]+1 and open <= high[1]+1
    cshort3 = abs(open - close) < 4*range/10
    cshort4 = open < (high - range*5/10) and close < (high - range*5/10)
    
    if clong1 and clong2 and clong3 and clong4 then
     value = 10
    elsif cshort1 and cshort2 and cshort3 and cshort4 then
     value = -10
    endif
    
    return value

     

    Thanks

Viewing 1 post (of 1 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

Convert indicator to 10.3v


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Jon88 @jon88 Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/28/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...