• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjatrader 7 not working

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

    #16
    Originally posted by nkhoi View Post
    this indicator is no good the name says volumes break out but the break out condition will never happen, here is why ;
    it take a fixed average of 6 period of volume and multiply it with 1.6 so the average is always higher than volume so there will never be a break out condition
    Values[0].Set(SMA(Volume, 6)[0] * 1.618);

    Note:there is break out if I use period of 30, so this value should be entered not fixed.
    thank you for pointing out.

    Comment


      #17
      Originally posted by Emma1 View Post

      thank you for pointing out.
      see comments;

      12-31-2018, 03:38 PM
      helllo nkhoi, i am ok in creating external variable but from the 2nd line of the update Bar code menu that i am not clear as the referencing and what each volume /values do.
      i had wanted to code it in NT8 but much error.

      if(Volume[0] > Values[0][0]) // Values[0] = Plot 0 the first plot , [0] = current index, [1] = 1 bar back index
      Values[4].Set(Volume[0]); //Values[4] = the third plot , Set(Volume[0]) = set current value of third plot to current volume value, NT8 = Values[4][0] = .(Volume[0]);

      if(Close[0] == Close[1])
      Values[3].Set(Volume[0]);
      else
      if (Close[0] > Open[0])
      Values[1].Set(Volume[0]);
      else
      Values[2].Set(Volume[0]);

      thank you.

      Comment


        #18
        Originally posted by nkhoi View Post

        see comments;

        12-31-2018, 03:38 PM
        helllo nkhoi, i am ok in creating external variable but from the 2nd line of the update Bar code menu that i am not clear as the referencing and what each volume /values do.
        i had wanted to code it in NT8 but much error.

        if(Volume[0] > Values[0][0]) // Values[0] = Plot 0 the first plot , [0] = current index, [1] = 1 bar back index
        Values[4].Set(Volume[0]); //Values[4] = the third plot , Set(Volume[0]) = set current value of third plot to current volume value, NT8 = Values[4][0] = .(Volume[0]);

        if(Close[0] == Close[1])
        Values[3].Set(Volume[0]);
        else
        if (Close[0] > Open[0])
        Values[1].Set(Volume[0]);
        else
        Values[2].Set(Volume[0]);

        thank you.
        Resolved, Thank you again.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Johnny Santiago, Today, 04:50 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_ChrisSch  
        Started by rickyblah12, Yesterday, 08:17 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by jamarc, Today, 02:30 AM
        0 responses
        4 views
        0 likes
        Last Post jamarc
        by jamarc
         
        Started by mrlucky1x, Yesterday, 08:07 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by uday12, Yesterday, 07:21 PM
        0 responses
        5 views
        0 likes
        Last Post uday12
        by uday12
         
        Working...
        X