Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 06-07-2012, 09:42 AM   #1
TTC2010
Junior Member
 
Join Date: Jul 2011
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Default Ichimoku indicator

Does anyone know of an alert for Ichimoku. I am looking for an alert that we tell me when the Tenken and Kijun cross. Any suggestions?
TTC2010 is offline  
Reply With Quote
Old 06-07-2012, 10:30 AM   #2
NinjaTrader_JC
NinjaTrader Customer Service
 
NinjaTrader_JC's Avatar
 
Join Date: Mar 2012
Location: Denver, CO
Posts: 2,590
Thanks: 259
Thanked 466 times in 457 posts
Default

Hello TTC2010,

The following link has an attached indicator pack that includes the “IchiLine3” indicator which will give you an alert when the Tenkan, and the Kijun either cross above or below 1 bar ago.
http://www.ninjatrader.com/support/f...72&postcount=2

If you wanted an alert for when they meet you would have to do some custom coding for that. For example inside the IchiLines3 indicator you could add:

Code:
protected override void OnBarUpdate()
{
(…)

if (CrossBelow(TenkanSen, Kijunsen,1))
	{Alert("Ichidown",NinjaTrader.Cbi.Priority.High,"IchiDown",soundbear,6,Color.Black,Color.Yellow);	}
if(TenkanSen[0]==Kijunsen[0])
{Alert("Ichiequal",NinjaTrader.Cbi.Priority.High,"IchiEqual","Alert1.wav",5,Color.Black,Color.Yellow);	}

(…)
}
Please let me know if I can be of further assistance.
Last edited by NinjaTrader_JC; 06-07-2012 at 01:43 PM.
NinjaTrader_JC is offline  
Reply With Quote
Old 06-07-2012, 01:40 PM   #3
TTC2010
Junior Member
 
Join Date: Jul 2011
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Default

Is there information on how to interpret this indicator? It looks different from the other ichimoku charts I have used in the past.
TTC2010 is offline  
Reply With Quote
Old 06-07-2012, 02:02 PM   #4
NinjaTrader_JC
NinjaTrader Customer Service
 
NinjaTrader_JC's Avatar
 
Join Date: Mar 2012
Location: Denver, CO
Posts: 2,590
Thanks: 259
Thanked 466 times in 457 posts
Default

Hello TTC2010,

Since this is a custom indicator there would be no documentation on it. If you have experience coding or know NinjaScript you can view the source code by going to the Control Center -> Edit NinjaScript -> Indicators, and double left click on the indicator that you want to view like the IchiLine3.

There are a number of other Indicators you can download on our Support Forums but if you want an alert when Tenkan and the Kijun are equal to each other that would require some custom code. If you do have experience coding I could give you some references if you like. Also here are a few other Ichimoku Indicators that you can download as well.


http://www.ninjatrader.com/support/f...php?&linkid=84

http://www.ninjatrader.com/support/f...hp?&linkid=455

http://www.ninjatrader.com/support/f...php?&linkid=83

http://www.ninjatrader.com/support/f...hp?&linkid=108

Please let me know if I can be of further assistance.
NinjaTrader_JC is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ichimoku Additions cclsys Indicator Development 33 07-25-2014 04:57 AM
How does one get the Ichimoku Kinko Hyo indicator? comfysofa Indicator Development 1 05-09-2012 01:04 PM
Ichimoku Clouds davidt07 Charting 6 04-23-2012 06:54 PM
Ichimoku Qualitiedx Indicator Development 0 07-07-2011 07:23 PM
Ichimoku werido Charting 1 07-07-2010 11:51 AM


All times are GMT -6. The time now is 03:15 PM.

FULL RISK DISCLOSURE: Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.