Trying to understand what this PlotPercentP formula is doing so I can plot inside Ninjatrader, any help is appreciated. Thx in advance.
variables: intrabarpersist bool PlotPercentP( false ), double LowerBandP( 0 ) , double UpperBandP( 0 ) , double PercentP( 0 ) ; once PlotPercentP = GetAppInfo( aiApplicationType ) <> cChart ; LowerBandP = Lowest( Low, Length )[1] ; UpperBandP = Highest( High, Length )[1] ;
Comment