![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: May 2008
Posts: 49
Thanks: 0
Thanked 2 times in 2 posts
|
Can anyone help me with a code to place a mark/arrow/dot on the current bar when the ChikoSpan cross outside below/above the ichimoku cloud? (I know the cross is lagging 26 bars but I still need to know about the cross on current bar that)
Thanks in advance. Tzachi |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello Tzachi,
Unfortunately we do not do custom NinjaScript coding. I will however leave the thread open for any of our forum member for their valuable inputs. You can also contact any of our NinjaScript consultants. You can get the list of our NinjaScript consultants from here http://www.ninjatrader.com/partners#...pt-Consultants
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: May 2008
Posts: 49
Thanks: 0
Thanked 2 times in 2 posts
|
Joydeep,
Thx. I hope some members here will be able to help with my request. |
|
|
|
|
The following user says thank you to Tzachi for this post: |
|
|
|
#4 |
|
Member
Join Date: May 2008
Posts: 49
Thanks: 0
Thanked 2 times in 2 posts
|
That what I try to do - have a signal on current bar when Chikou cross out from the cloud (26 bars back) but it does not work.
if (CrossAbove(TSIchimoku(9,26,52).ChikouSpan,IchiCloud(9,26,52).SenkouSpanA,1)) DrawDot....... Any ideas why its not working? |
|
|
|
|
|
#5 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,414
Thanks: 252
Thanked 977 times in 960 posts
|
We're unfortunately not really familiar with these custom indicators and how they would be designed to work / return their values, but if you say you're dealing with lagged values, would the lookback period for the cross perhaps be needed to increased?
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Member
Join Date: May 2008
Posts: 49
Thanks: 0
Thanked 2 times in 2 posts
|
Thx Berrtand. How about just a signal when the ChikouSpan line crosses above or below the cloud at the regular Ichimoku indicator? Any tips?
|
|
|
|
|
|
#7 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello Tzachi,
A crossover code using the Ichimoku cloud indicator as found in the below link, will be like http://www.ninjatrader.com/support/f...hp?&linkid=455 Code:
if (CrossAbove(IchiCloud(9,26,52).SenkouSpanA, IchiCloud(9, 26, 52).SenkouSpanB, 1 ))
this.DrawDot("dot" + CurrentBar, false, 0, Low[0], Color.Blue);
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Member
Join Date: May 2008
Posts: 49
Thanks: 0
Thanked 2 times in 2 posts
|
Joydeep,
Many thanks but I am looking for a signal on current bar when the ChikouSpan line cross of the cloud (above and below) not the cross of the Span A&B. Any idea? |
|
|
|
|
|
#9 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello Tzachi,
Can you please send the indicator to support[AT]ninjatrader[DOT]com Also please send a screenshot depicting where exactly you want to signals to be. I look forward to assisting you further.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#10 |
|
Member
Join Date: May 2008
Posts: 49
Thanks: 0
Thanked 2 times in 2 posts
|
Joydeep,
Can we mark a dot under the current bar when the ChikouSpan line cross out the cloud lines(above and below, 26 bars back) using the NT7 ichimoku indicator? |
|
|
|
|
|
#11 |
|
Member
Join Date: May 2008
Posts: 49
Thanks: 0
Thanked 2 times in 2 posts
|
Any ideas?
|
|
|
|
|
|
#12 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello Tzachi,
Unfortunately I do not have access to the indicator ChikouSpan. Can you send it to support[AT]ninjatrader[DOT]com Also please send a screenshot depicting where exactly you want to draw the dot. Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email. I look forward to assisting you further.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#13 |
|
Member
Join Date: May 2008
Posts: 49
Thanks: 0
Thanked 2 times in 2 posts
|
Joydeep,
Applied your input and advice. PERFECT. Great job and exactly what I was trying to do for over 10 days. Well Done. GREAT customer service. Tzachi. |
|
|
|
|
The following user says thank you to Tzachi for this post: |
|
|
|
#14 |
|
Member
Join Date: Aug 2012
Location: Chicago
Posts: 61
Thanks: 2
Thanked 1 time in 1 post
|
Someone could help me in Ichimoku cloud to plot 2 bars in advance? For example, if we are going to scroll our mouse forward then there will be a plot of the indicator?
|
|
|
|
|
|
#15 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello edward_bell,
If you try setting the displacement property to 2 then are you able to plot the values in future. Please refer to the attached screenshot which further demonstrates the Displacement property.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cross over cross under | ohjob | General Programming | 1 | 09-29-2011 09:36 AM |
| Cross Above | malej.gregy | General Programming | 1 | 05-25-2011 02:05 PM |
| Price at Cross Above / Cross Below | sgordet | Indicator Development | 7 | 01-11-2011 02:58 PM |
| Cross Above / Cross Below for NT7? | Elliott Wave | Market Analyzer | 12 | 11-20-2010 05:27 PM |
| what the difference between global cross hair and cross hair? | hanzahar | Miscellaneous Support | 3 | 12-16-2008 07:36 AM |