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
Using SMMA indicator in a custom strategy
Collapse
X
-
Hello chandiram2,
You can learn how to make conditions and use the strategy builder in the following links:
https://youtu.be/VxU4FR6GWNA
https://ninjatrader.com/support/help...gy_builder.htm
-
Thanks for the response. I see the typo now!
I have not used the strategy builder and only directly write the code. Could you please let me know how to make the condition to use the indicator?
Thanks for your help. Really appreciate it.
Chan
Leave a comment:
-
Hello chandiram2,
Tasker-182 is correct, you need to use the correct indicator name.
If you are unsure on the code needed to use a custom indicator you can use the strategy builder to generate the indicators code. You just need to make a condition that uses the indicator in a new strategy builder script then click view code. You can then see the correct code to use the indicator and can copy/past from that into your script.
Leave a comment:
-
Using SMMA indicator in a custom strategy
Hi,
I am using the SMMA indicator that was shared in the indicator forum I have imported the indicator and can add it to my chart.
I would like to use it in a custom strategy and adding it as a class member gives a compiler error
private SSMA fast_SSMA_14;
Error:The type or namespace name 'SSMA' could not be found (are you missing a using directive or an assembly reference?)
Could you please let me know how to access custom indicators from the strategy code?
Thanks,
ChaAttached FilesTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by BartMan, Today, 07:53 PM
|
0 responses
2 views
0 likes
|
Last Post
![]()
by BartMan
Today, 07:53 PM
|
||
Started by Jazzman53, 03-29-2023, 07:23 PM
|
2 responses
22 views
0 likes
|
Last Post
![]()
by Jazzman53
Today, 07:39 PM
|
||
Started by kezyclaire, 03-29-2023, 12:01 AM
|
6 responses
32 views
0 likes
|
Last Post
![]()
by BartMan
Today, 07:35 PM
|
||
Started by ChrisR, Yesterday, 09:24 PM
|
3 responses
16 views
0 likes
|
Last Post
![]()
by ChrisR
Today, 06:16 PM
|
||
Started by balltrader, Today, 10:06 AM
|
6 responses
31 views
1 like
|
Last Post
|
Leave a comment: