Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Wao

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

    Wao

    Hello. I'm developing an strategy, and it use the indicator Wiseman awesome oscilator. One condition is that the indicator the value were more than X. But the problem is that I want to get only when the value is green. And if I do this:

    WAO = WisemanAwesomeOscillator()[0];

    I don't know if the value is over green bar o red bar.

    How can i get the value when the bar is only green.

    Thanks a lot.

    #2
    Hello brokerbombero, thanks for your post.

    The default Wiseman awesome indicator does not have any property that tells you whether the bar is red or green. I found this open-source version of the awesome oscillator here:
    This is a conversion of the NT7 indicator AO (Awesome Oscillator) by Bill Williams. Please contact the original author for any questions or comments.


    With this, you can edit the code to add a plot or public series that indicates whether the Wiseman plot is red or green.

    See here for an example on exposing a public series that is not a plot:



    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Comment


      #3
      Ok, fixed.

      Thanks a lot.

      Comment


        #4
        Hi,
        How to use this bw awesome oscillator inside a strategy where i'm using 3 different instruments like below. Please advise.

        if(BarsInProgress == 1)
        bwAO
        else if if(BarsInProgress == 2)
        bwAO
        else if if(BarsInProgress == 3)
        bwAO​

        Comment


          #5
          Hello pvjkr,

          Welcome to the NinjaTrader forum!

          You could print the plot values from calling the indicator with the name of the plot and a bar index.

          Print( bwAO().AOBarPlot[0] );
          Print( bwAO().AOLinePlot[0] );

          I am also including a link to forum posts with helpful resources on getting started with NinjaScript and C#.
          NT7 - https://ninjatrader.com/support/foru...232#post775232
          NT8 - https://ninjatrader.com/support/foru...pts#post786040
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          47 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          23 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          33 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          51 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          42 views
          0 likes
          Last Post CarlTrading  
          Working...
          X