• 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

Why not HMA(Open instead of HMA(HMA(Open, ConvertToInt32(0)

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

  • Why not HMA(Open instead of HMA(HMA(Open, ConvertToInt32(0)

    is this condition correct that i have created in conditions and actions in the strategy builder ...
    HMA(Close, HmaPeriod)[0] > HMA(HMA(Open, ConvertToInt32(0)), HmaPeriod)[0]

    is the above condition correct if i am trying to create a condition that says ''if the close of bar 0 of the HMA indicator is greater than the open of the bar'' ?

    if it is correct, why isn't it just simply
    HMA(Close, HmaPeriod)[0] > HMA(Open, HmaPeriod)[0] ?

    IGNORE THE ATTACHMENT. DIDN'T MEAN FOR IT TO BE THERE AND DON'T KNOW HOW TO DELETE IT
    Attached Files
    Last edited by joemiller; 04-22-2017, 02:04 PM.

  • NinjaTrader_AlanS
    replied
    Hello joemiller,

    Thanks for your reply.

    If you would like to edit an existing condition, first you will need to open a new Strategy Builder by going to New --> Strategy Builder. In the Welcome section, you will need to select the strategy which you would like to edit the conditions for. After selecting your desired strategy, you can go to the Conditions and Actions section and edit the existing conditions there so long as you did not unlock your code.

    Please let me know if I may be of any further assistance.

    Leave a comment:


  • joemiller
    replied
    issue is resolved and can be closed

    issue is resolved!

    i still don't know how to successfully edit an existing condition ... but i easily generated the desired condition by starting from scratch by adding the new desired condition. that's all i need. would be nice to knowledgeable enough to do it by editing but now it doesn't matter.

    thanks for the help.

    Leave a comment:


  • joemiller
    replied
    Originally posted by NinjaTrader_Jesse View Post
    Hello,

    Thank you for the post.

    If you are trying to compare the HMA Open versus the HMA Close, then the syntax generated would not be correct and would instead be like you had shown:

    HMA(Close, HmaPeriod)[0] > HMA(Open, HmaPeriod)[0]

    The syntax you have shown appears that the HMA was double selected, can you provide more details, was the syntax generated using some steps and resulted incorrectly?

    I look forward to being of further assistance.
    yes i am trying to compare the HMA Open versus the HMA Close
    [i.e.] HMA(Close, HmaPeriod)[0] > HMA(Open, HmaPeriod)[0]

    i am able to easily create the attachment#1 condition.
    i then go to the attachment#2 window in an unsuccessful attempt to change
    HMA(Close, HmaPeriod)[0] > HMA(Close, HmaPeriod)[0]
    to HMA(Close, HmaPeriod)[0] > HMA(Open, HmaPeriod)[0]
    by trying to employ the yellow high-lighted data series input series field.
    So i need some suggestions/directions about how to navigate from this point to get to my desired goal.

    attachment#1
    Click image for larger version

Name:	apr23#1 for ninja forum.JPG
Views:	1
Size:	106.7 KB
ID:	882720

    attachment#2
    Click image for larger version

Name:	apr23#2 for ninja forum.JPG
Views:	1
Size:	245.5 KB
ID:	882721
    Last edited by joemiller; 04-23-2017, 09:13 AM.

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello,

    Thank you for the post.

    If you are trying to compare the HMA Open versus the HMA Close, then the syntax generated would not be correct and would instead be like you had shown:

    HMA(Close, HmaPeriod)[0] > HMA(Open, HmaPeriod)[0]

    The syntax you have shown appears that the HMA was double selected, can you provide more details, was the syntax generated using some steps and resulted incorrectly?

    I look forward to being of further assistance.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by priceisking, Today, 12:51 PM
1 response
5 views
0 likes
Last Post NinjaTrader_PaulH  
Started by chartish, Today, 10:33 AM
3 responses
15 views
0 likes
Last Post chartish  
Started by casabella, Today, 11:51 AM
1 response
6 views
0 likes
Last Post NinjaTrader_PaulH  
Started by Johnny, Today, 11:42 AM
1 response
13 views
0 likes
Last Post NinjaTrader_Jermaine  
Started by habibalex, Today, 09:03 AM
2 responses
13 views
0 likes
Last Post sledge
by sledge
 
Working...
X