Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 02-11-2011, 11:08 AM   #1

Join Date: Feb 2010
Location: ney york
Posts: 3
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Indicator That Alerts Me when Candle is 10 Pts or Bigger

Hello Everyone,

I have no clue how to use Nijascript i hope someone can help me write a little code.
Here is what I need
========================= ===============

For the ES MINI

If one bar is or equal to 10 pts or biger ON CLOSE on 1 hour chart alert me with sound and put diamond on candle
========================= ========================= ===============

can someone please help me with this code.
bdlagno55 is offline  
Reply With Quote
Old 02-11-2011, 05:23 PM   #2

Join Date: Feb 2010
Location: ney york
Posts: 3
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: Indicator That Alerts Me when Candle is 10 Pts or Bigger

Is it possible just to get one alert ever time a candle is 10 pts big on the 1 hour chart
bdlagno55 is offline  
Reply With Quote
Old 02-11-2011, 11:36 PM   #3

Join Date: Oct 2010
Location: North Wales
Posts: 12
Ignore this user

Thanks: 5
Thanked 2 Times in 1 Post

Re: Indicator That Alerts Me when Candle is 10 Pts or Bigger

To just having the alert you will not even need to code you can just use the wizard although if you really want to code it something like the following should be enough to start you off.

private int ticks = 40; // Default No of ticks for length of bar

if (Close[1] > (Open[1] + (ticks * TickSize)))
{
Alert("MyAlert0", Priority.High, " 10 pts up ", "", 300, Color.White, Color.Black);
}

Adding a diamond may be slightly trickier though..
BigAl_LBL is offline  
Reply With Quote
Old 02-12-2011, 08:58 AM   #4

Join Date: Jun 2010
Posts: 7
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: Indicator That Alerts Me when Candle is 10 Pts or Bigger

Just use the strategy wizard (as BigAl suggested) - you can get it sound, plot diamonds or whatever you want.

Cheers,
Kumar
renvik is offline  
Reply With Quote

Reply

Tags
coding, nijatrader

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Candle pattern Tams Trading Indicators 9 10-08-2010 04:36 PM
Big Candle Observation cowcool The Candlestick Corner 10 05-17-2009 09:49 AM
Bigger Chat Max Message Size? atto Support Center 7 08-17-2008 09:55 PM
For you candle chartists.... TinGull The Candlestick Corner 9 11-09-2007 01:56 PM
Rules of the Trade: Understanding the Bigger Picture Soultrader Market Analysis 0 08-18-2006 01:40 PM

All times are GMT -4. The time now is 03:25 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.