Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Value from other Indicator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Value from other Indicator

    Hello,

    usually I can read values from other indicators. However, one indicator is too complicated for me and I unfortunately can't do it. Can someone please help me with this?

    I want the DeltaValue to be worthy, but the user has used a lot of classes and branches.

    i try it like this
    Code:
    private Indicators.Volume.VolumeAnalysisProfile marketvolume;
    and under else if (State == State.DataLoaded)
    Code:
    marketvolume = VolumeAnalysisProfile(_VolumeAnalysisProfileEnums.Formula.TotalAndBidAsk,_VolumeAnalysisProfileEnums.RenderInfo.Total, VolumeAnalysis.PeriodMode.Days, 1, false, false, false, false, 0, 0, 0, 0, 0,0, false, 0, 0, false, false );
    ​
    VolumeAnalysis.PeriodMode.Days doesnt work. I think thats my problem.

    Any ideas?

    Best regards

    MarketVolume.cs
    SE.cs
    VolumeAnalysisProfile.cs
    Attached Files

    #2
    Hello Dirales,

    I took a look at the VolumeAnalysisProfile indicator however that is a fairly complex indicator. I don't see that the indicator adds any plots, are you certain this was designed to produce a value for NinjaScript use? You will very likely need to reach out to the author of this item to verify that you are calling the indicator as it was intended and also if it was made to expose values to other scripts. The code that I can see in the indicator seems to relate to its custom rendering so it may not have been made to be used by other scripts but only as a visual tool.

    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,966 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Today, 06:48 PM
    0 responses
    4 views
    0 likes
    Last Post rbeckmann05  
    Started by rhyminkevin, Today, 04:58 PM
    4 responses
    54 views
    0 likes
    Last Post dp8282
    by dp8282
     
    Started by iceman2018, Today, 05:07 PM
    0 responses
    5 views
    0 likes
    Last Post iceman2018  
    Started by lightsun47, Today, 03:51 PM
    0 responses
    8 views
    0 likes
    Last Post lightsun47  
    Working...
    X