Different values between Indicator and probuilder

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #231698 quote
    roccafragiusroccafragius
    Participant
    Average

    Hello All, unfortunatelly I have different values on a dimension calcolated in Timeframe 30 minutes between indicator and Trading System.

    I don’t use updateonclose option, so it is not clear to me the reason, please I need your help as I’m blocked. I can’t user the Trading system if the decision are not safe and are not supported on what I see in the indicator.

    In the image in attach you can find the different values of the last swing calcolated in the 30 minutes Timeframe between the Indicator and the Trading system.

    Thank you in advance for your help

    Franco

    0424-April-Issue.itf 0424-April-IssueTS.itf April-Issue.jpg April-Issue.jpg
    #231764 quote
    JSJS
    Participant
    Master

    Hi @roccafragius

    I’ve looked at your “April issue” but your code is too complex to judge properly… It is indeed strange that there is a difference between them, but the only way I could explain this is that the indicator values are based on the 30-minutes timeframe and the trading system values on the 1-minute timeframe…

    #231783 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    In your strategy you reset the variables RowRed and RowGreen to zero (lines 102 and 103), but in your indicator you DO NOT. This might be a cause. I suggest that you use a CALL to get the signals from your indicator, instead of embedding it in your strategy.
Viewing 3 posts - 1 through 3 (of 3 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

Different values between Indicator and probuilder


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by robertogozzirobertogozzi
2 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/19/2024
Status: Active
Attachments: 3 files
ProRealCode ProRealCode
Loading...