Version 10.3 error codes Ichimoku TK cross over

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

    Version 10.3 i  have been trying to insert some codes into the 10.3 version and they do not appear on the chart or there are errors triangles in the code lines, am i doing something wrong.  I am trying insert the fractals code and also the ichimoku TK cross over code. Suggestions and help would be appreciated. TIA

    #22059 quote
    NicolasNicolas
    Keymaster
    Legend

    What are the errors messages you received when you try to add these indicators on your chart?

    #22255 quote
    KelvinKelvin
    Participant
    Junior

    Hi Nicolas,

    I am trying to insert the T/K cross.

    these are the lines of code that I am getting an error triangle against on lines 3 and 4.  i seem to get a red mark under the  + the ) and also the 2 at the end of the line of code.

    Tenkansen = (highest[9]+lowest[9])/2
    Kijunsen = (highest[26]+lowest[26])/2

    Look forward to any information or assistance you may be able to offer

    Thanks

    Kevin

    so as not to confuse I will ask about fractals errors later. which is a separate coding issue

    #22294 quote
    NicolasNicolas
    Keymaster
    Legend

    Sorry, but this is not a bug, but a wrong syntax of your code 🙂

    You should look at how HIGHEST and LOWEST must be coded in the documentation (price of the array must be defined in parenthesis).

    #22465 quote
    KelvinKelvin
    Participant
    Junior

    Hi Nicolas, please can you explain (in simple terms) since I have no knowledge of coding and learning the platform. I am not sure what you mean by documentation, am I missing seeing it somewhere.  This was a code downloaded from this site.

    I appreciate you helping this novice.

    #22470 quote
    NicolasNicolas
    Keymaster
    Legend

    I put some links for the HIGHEST and LOWEST instructions in my previous post.
    You have to define the price (or any other variables in parenthesis) you want these 2 instructions to find the highest/lowest:

    Tenkansen = (highest[9](high)+lowest[9](low))/2
    
    Kijunsen = (highest[26](high)+lowest[26](low))/2

    There are many ichimoku codes on the website 🙂 I don’t know from where this error come!

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

Version 10.3 error codes Ichimoku TK cross over


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Kelvin @kevin Participant
Summary

This topic contains 5 replies,
has 2 voices, and was last updated by NicolasNicolas
9 years, 8 months ago.

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