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 burtoninlondon, Today, 12:38 AM
    0 responses
    5 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    14 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    13 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,982 views
    3 likes
    Last Post jhudas88  
    Working...
    X