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
Strategy Builder [Candlestick Indicator]
Collapse
X
-
Strategy Builder [Candlestick Indicator]
I would like to test an autostrat that enters at market price when candlestick indicator plots any of the following candles: bullish engulfing, bearish engulfing, evening star, or morning star. I would greatly appreciate help with the code for this. Default profit target and stop loss can be set at any value as I will use the analyzer to find optimal settings. Thanks community.Tags: None
-
Hello crownacquisitions,
Thanks for your post and welcome to the NinjaTrader forums!
I've added some references for the Strategy Builder below, please take the time to review them as this will help get you going if you wish to create this yourself.
The NinjaTrader platform includes the indicator CandleStickPattern which can be used in the Strategy Builder. You can select any of the 23 candle patterns. When the pattern is found, the indicator returns a value of 1 so you can create a condition to see if the indicator value is 1, for the chosen pattern. You can then have the strategy EnterLong or EnterShort as you wish.
For the stops and profits, I would suggest creating two variables (one for each) where you can specify the Number of ticks for the stop or profit. By creating these variables you will be able to use them in the optimizer.
Please note that we do not create strategies for you or debug your strategies. If you would like something created for you, we can provide references to 3rd party programmers in the NinjaTrader ecosystem. We can also keep this thread open for any community member that would like to further assist you.
Here are the educational resource available on the strategy builder:
Free live webinar every other Thursday at 4:00 PM EST, through this link to all webinars: https://ninjatrader.com/PlatformTraining
Previous recording of the Strategy Builder 301 webinar: https://youtu.be/HCyt90GAs9k?list=PL...auWXkWe0Nf&t=2
Help guide for the strategy builder: https://ninjatrader.com/support/help...gy_builder.htmPaul H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by FrancisMorro, Today, 03:24 AM
|
0 responses
1 view
0 likes
|
Last Post
by FrancisMorro
Today, 03:24 AM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
10 responses
1,769 views
0 likes
|
Last Post
by Leafcutter
Today, 03:01 AM
|
||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
30 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
943 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
10 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
Comment