Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Why not HMA(Open instead of HMA(HMA(Open, ConvertToInt32(0)
Collapse
X
-
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.
-
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:
-
Originally posted by NinjaTrader_Jesse View PostHello,
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.
[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
attachment#2
Last edited by joemiller; 04-23-2017, 09:13 AM.
Leave a comment:
-
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:
-
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 ITLast edited by joemiller; 04-22-2017, 02:04 PM.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by bortz, 11-06-2023, 08:04 AM
|
47 responses
1,610 views
0 likes
|
Last Post
by aligator
Today, 07:22 PM
|
||
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
9 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
19 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
6 views
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
16 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
Leave a comment: