Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw rectangle automatically depending volume indicator value

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

  • NinjaTrader_ChelseaB
    replied
    Hello Jesus,

    Below is a link to a forum post about getting started with NinjaScript in C#.
    https://ninjatrader.com/support/foru...040#post786040

    I would recommend watching the Strategy Builder 301 course and try creating this with the Strategy Builder to see what kind of code is generated.

    I'm also including a link to the Draw.Rectangle() in the help guide.
    https://ninjatrader.com/support/help..._rectangle.htm

    And a link on the VolumeUpDown() indicator.
    https://ninjatrader.com/support/help...me_up_down.htm

    As an example of the condition you have provided, this would appear as:
    if (VolumeUpDown()[0] >= 1200)
    {
    // execute code
    }

    You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.
    Last edited by NinjaTrader_ChelseaB; 01-20-2019, 09:29 PM.

    Leave a comment:


  • Draw rectangle automatically depending volume indicator value

    I need to draw a rectangle automatically.


    startBarsAgo=1
    startTIme=actual time when bar close
    startY= high price of candle up bar,
    endBarsAgo=for next 60 bars
    endTime=for next 1 hour
    endY= close price of candle up.

    I need to draw this rectangle in real time over my instrument chart without make any action when the VolumeUpDown indicator value is greater equal of 1200 on last bar this volume close.

    I need to do my own scritp and I do not know where can I put the program. I see the script Editor but I do not understand anything and I have some knowledge about programming.

    Regards and sorry my english

    Jesus

Latest Posts

Collapse

Topics Statistics Last Post
Started by Hyper, Today, 10:44 AM
4 responses
22 views
0 likes
Last Post Hyper
by Hyper
 
Started by chaitunt, Today, 10:33 AM
1 response
7 views
0 likes
Last Post NinjaTrader_Jesse  
Started by stewarco, Today, 10:14 AM
1 response
10 views
0 likes
Last Post NinjaTrader_Jesse  
Started by wjadevries, Yesterday, 04:18 PM
22 responses
70 views
0 likes
Last Post wjadevries  
Started by UltraNIX, Today, 10:00 AM
3 responses
15 views
0 likes
Last Post NinjaTrader_Jesse  
Working...
X