NinjaTrader Support Forum  
X

Attention!

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


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

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 04-18-2013, 06:32 AM   #226
zitroc
Junior Member
 
Join Date: Jan 2010
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Send a message via AIM to zitroc Send a message via Skype™ to zitroc
Default

Thanks man ! this exactly what I need -- by any chance do you have a download link for it I don't have access to bigmiketrading.

thanks
Z
zitroc is offline  
Reply With Quote
Old 04-18-2013, 07:09 AM   #227
Harry
Senior Member
 
Join Date: Oct 2007
Posts: 1,829
Thanks: 12
Thanked 83 times in 67 posts
Default

Quote:
Originally Posted by zitroc View Post
Thanks man ! this exactly what I need -- by any chance do you have a download link for it I don't have access to bigmiketrading.

thanks
Z
If you just need one indicator I will send it to you. If you want to download hundreds, then you should better become a member ..... Big Mike's has over 300 indicators for NinjaTrader 7.....
Harry is offline  
Reply With Quote
Old 04-20-2013, 09:35 AM   #228
jake28787
Junior Member
 
Join Date: Oct 2007
Posts: 17
Thanks: 0
Thanked 0 times in 0 posts
Default renko bars

can u offer a free link to download into NT 7 the indicator
'better renko bars'
thx
jake28787@gmail.com
jake28787 is offline  
Reply With Quote
Old 04-21-2013, 02:55 AM   #229
Harry
Senior Member
 
Join Date: Oct 2007
Posts: 1,829
Thanks: 12
Thanked 83 times in 67 posts
Default

Quote:
Originally Posted by jake28787 View Post
can u offer a free link to download into NT 7 the indicator
'better renko bars'
thx
jake28787@gmail.com
BetterRenko is a good alternative to the default Renko bars, because unlike Renko the bar shows the true open, high & low on the chart. This means that it is backtestable.

However, I do not freely distribute the work of others. Better Renko is available here for members

http://www.bigmiketrading.com/downlo...-download.html

You can also try to contact the author of the bars, @aslan.
Harry is offline  
Reply With Quote
Old 04-26-2013, 10:46 PM   #230
cameo86
Member
 
Join Date: Apr 2013
Posts: 44
Thanks: 18
Thanked 0 times in 0 posts
Default Having Trouble with my strategy which is compiled but not showing backtesting resualt

Can anyone see where their might be flaws in my code? that will produce back testing results right now its showing up null? If you could get back to me ASAP that would be great.

Kind Regards,

Cam


#region Variables
// Wizard generated variables
private bool onlyGoLong = true; // Default setting for OnlyGoLong
private int aDXStrength = 18; // Default setting for ADXStrength
private int trailingStopLoss = 30; // Default setting for TrailingStopLoss
private int stopLoss = 30; // Default setting for StopLoss
// User defined variables (add any user defined variables below)
#endregion

/// <summary>
/// This method is used to configure the strategy and is called once before any strategy method is called.
/// </summary>
protected override void Initialize()
{
SetStopLoss("", CalculationMode.Ticks, StopLoss, false);
SetTrailStop("", CalculationMode.Ticks, TrailingStopLoss, false);

CalculateOnBarClose = true;
}

/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
// Condition set 1
if (OnlyGoLong == true
&& CrossAbove(MACD(12, 26, 9).Avg, MACD(12, 26, 9).Avg, 1)
&& CrossAbove(ADX(14), ADXStrength, 1)
&& CrossAbove(DM(14).DiPlus, DM(14).DiMinus, 1)
&& CrossAbove(Stochastics(7, 14, 3).K, Stochastics(7, 14, 3).D, 1))
{
EnterLong(DefaultQuantity, "");
}

// Condition set 2
if (OnlyGoLong == false
&& CrossBelow(MACD(12, 26, 9).Avg, MACD(12, 26, 9).Avg, 1)
&& CrossBelow(DM(14).DiPlus, DM(14).DiMinus, 1)
&& CrossBelow(Stochastics(7, 14, 3).K, Stochastics(7, 14, 3).D, 1)
&& CrossAbove(ADX(14), ADXStrength, 1))
{
EnterShort(DefaultQuantity, "");
}

// Condition set 3
if (CrossBelow(ADX(14), ADXStrength, 1)
|| CrossBelow(MACD(12, 26, 9).Avg, MACD(12, 26, 9).Avg, 1)
|| CrossBelow(DM(14).DiPlus, DM(14).DiMinus, 1)
|| CrossBelow(Stochastics(7, 14, 3).K, Stochastics(7, 14, 3).D, 1))
{
ExitLong("", "");
}

// Condition set 4
if (CrossAbove(DM(14).DiPlus, DM(14).DiMinus, 1)
|| CrossBelow(ADX(14), ADXStrength, 1)
|| CrossAbove(MACD(12, 26, 9).Avg, MACD(12, 26, 9).Avg, 1)
|| CrossAbove(Stochastics(7, 14, 3).K, Stochastics(7, 14, 3).D, 1))
{
ExitShort("", "");
}
}

#region Properties
[Description("Only take Long trades, if false only take Short trades")]
[GridCategory("Parameters")]
public bool OnlyGoLong
{
get { return onlyGoLong; }
set { onlyGoLong = value; }
}

[Description("Trend Strength")]
[GridCategory("Parameters")]
public int ADXStrength
{
get { return aDXStrength; }
set { aDXStrength = Math.Max(1, value); }
}

[Description("Traling Stop Loss")]
[GridCategory("Parameters")]
public int TrailingStopLoss
{
get { return trailingStopLoss; }
set { trailingStopLoss = Math.Max(1, value); }
}

[Description("StopLoss")]
[GridCategory("Parameters")]
public int StopLoss
{
get { return stopLoss; }
set { stopLoss = Math.Max(1, value); }
}
#endregion
}
}
Attached Files
File Type: zip TrendTraderV2.zip (13.1 KB, 6 views)
cameo86 is offline  
Reply With Quote
Old 04-26-2013, 10:49 PM   #231
cameo86
Member
 
Join Date: Apr 2013
Posts: 44
Thanks: 18
Thanked 0 times in 0 posts
Default The title of the strategy is Golongorshort

Thanks in advance for your help. Ive been working on this for a longtime
cameo86 is offline  
Reply With Quote
Reply

Tags
practice development

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
How much interest is there to Develop a COT Indicator Sherif Indicator Development 4 06-25-2011 09:45 AM
Measuring trade intensity with the free Pace of Tape indicator cunparis NinjaScript File Sharing Discussion 6 01-13-2011 12:02 AM
Please Help develop indicator skikg Indicator Development 10 12-13-2009 12:48 PM
I will develop your indicator for FREE fddayan Indicator Development 32 07-03-2009 11:09 AM
Free Indicator: KamaPivotRange KamaCoder Eric Indicator Development 1 11-10-2008 05:46 AM


All times are GMT -6. The time now is 09:33 PM.