How can I tell Ninjatrader to find specific pattern to trade off. for example bar 1: bullish engulfing candle then next bar should have volume higher than 30k and third bar should be a doji. I need it to be in that order, and it should be sequential. to clarify bar 1: happens at 9:05 bar 2: happens at 9:10 and bar 3 happens in 9:15.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
specific order of pattern system help
Collapse
X
-
specific order of pattern system help
Hello Ninjatrader Team,
How can I tell Ninjatrader to find specific pattern to trade off. for example bar 1: bullish engulfing candle then next bar should have volume higher than 30k and third bar should be a doji. I need it to be in that order, and it should be sequential. to clarify bar 1: happens at 9:05 bar 2: happens at 9:10 and bar 3 happens in 9:15. -
-
-
Sorry but my coding skills are horrible( i am beginner). So I put bool BarIsDoji = Open[0] == Close[0]; inside Initialize().
What do I put inside OnBarUpdate() to call it....... can you show me an example. thank you
Comment
-
Hello,
A conditional like this would allow you to check for a doji bar
if(Close[0] == Open[0])
{
//we have a doji
}
If you have never created a strategy before, I would recommend starting with our point and click interface Strategy Wizard.
Please see our Help Guide articles on How to use the Strategy Wizard as well as NinjaScript Strategies. More information on these subjects can be found below:
Click here for more information on Developing Strategies with the Strategy Wizard
Click here for a Tutorial on Developing Strategies
I'm also proving a link to a recently recorded 'Automated Strategy Development Webinar' video for you to view at your own convenience: Automated Strategy Development Level 1 - NinjaTrader Training - 3/26/2013
There are a few Sample Automated Strategies which come pre-configured in NinjaTrader that you can use as a starting point. These are found under Tools--> Edit NinjaScript--> Strategy. You will see locked strategies where you can see the details of the code, but you will not be able to edit (you can though always create copies you can later edit via right click > Save as)
We also have some Reference samples online as well as ‘Tips and Tricks’ for both indicators and strategies:
Click here to see our NinjaScript Reference Samples
Click here to see our NinjaScript Tips
These samples can be downloaded, installed and modified from NinjaTrader and hopefully serve as a good base for your custom works.
Lastly, you can attend one of our live Automated Strategy Development Webinars to help you get up to speed on developing strategies:
http://www.ninjatrader.com/Webinar/A...nt-Level-1.php
We also have Premium Paid Educational events where you will join a NinjaScript expert for a pair of 6-8 hour long intensive courses designed to provide you with in-depth training on how to create, test and deploy fully automated strategies.
http://www.ninjatrader.com/PremiumEducation.php
If you have limited time or programming capabilities, you can discuss your requirements with any of our certified NinjaScript consultants. Let me know if this is of interest to you.LanceNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ZenCortexCLICK, Today, 04:58 AM
|
0 responses
2 views
0 likes
|
Last Post Today, 04:58 AM | ||
Started by sidlercom80, 10-28-2023, 08:49 AM
|
172 responses
2,280 views
0 likes
|
Last Post
by sidlercom80
Today, 04:40 AM
|
||
Started by Irukandji, Yesterday, 02:53 AM
|
2 responses
17 views
0 likes
|
Last Post
by Irukandji
Today, 03:55 AM
|
||
Started by adeelshahzad, Today, 03:54 AM
|
0 responses
5 views
0 likes
|
Last Post
by adeelshahzad
Today, 03:54 AM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
3 responses
13 views
0 likes
|
Last Post Yesterday, 11:58 PM |
Comment