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 NullPointStrategies, Yesterday, 05:17 AM
          0 responses
          62 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          134 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          75 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          45 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          50 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X