Different values between Indicator and probuilder

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

    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

    #231764 quote
    JS
    Participant
    Senior

    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
    robertogozzi
    Moderator
    Master
    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.

Different values between Indicator and probuilder


ProBuilder support

New Reply
Author
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by robertogozzi
1 year, 9 months ago.

Topic Details
Forum: ProBuilder support
Language: English
Started: 04/19/2024
Status: Active
Attachments: 3 files
Logo Logo
Loading...