NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript File Sharing > NinjaScript File Sharing Discussion

NinjaScript File Sharing Discussion Discussion for shared NinjaScript files.

Reply
 
Thread Tools Display Modes
Old 12-09-2008, 10:48 PM   #76
Anagoge
Senior Member
 
Join Date: Sep 2008
Posts: 183
Default

I just tried version 1.7 and I think it has the same issue I mentioned in my previous message. Attached is a screenshot of daily bars for GOOG starting 9/1/2004 with the shown SuperTrend parameters (length=20). It looks like the initial trend indicator before the first crossover is set based on the first bar after the length number of bars, even if that single bar isn't indicative of the general trend at that point. Maybe someone else has a better idea, but my suggestion is to set the initial trend to be up or down based on comparing the first bar after the ATR period length number of bars to the very first bar in the chart. In the case, the first bar closes way below the 21st bar, so the initial trend would be up rather than the current down trend it currently gets from the single 21st bar.
Attached Images
File Type: png GoogDailyST.png (32.0 KB, 426 views)

Last edited by Anagoge; 12-09-2008 at 11:04 PM.
Anagoge is offline  
Reply With Quote
Old 12-10-2008, 12:20 AM   #77
roonius
Certified NinjaScript Consultant
 
Join Date: Oct 2008
Location: Chicago, IL
Posts: 523
Send a message via Skype™ to roonius
Default

Quote:
Originally Posted by Anagoge View Post
I just tried version 1.7 and I think it has the same issue I mentioned in my previous message. Attached is a screenshot of daily bars for GOOG starting 9/1/2004 with the shown SuperTrend parameters (length=20). It looks like the initial trend indicator before the first crossover is set based on the first bar after the length number of bars, even if that single bar isn't indicative of the general trend at that point. Maybe someone else has a better idea, but my suggestion is to set the initial trend to be up or down based on comparing the first bar after the ATR period length number of bars to the very first bar in the chart. In the case, the first bar closes way below the 21st bar, so the initial trend would be up rather than the current down trend it currently gets from the single 21st bar.
Cannot concentrate today...
Fixing one part breaking another...
My apologies.
Attached Files
File Type: zip SuperTrend1.7.zip (4.5 KB, 349 views)
File Type: zip SuperTrendStrategy.zip (5.2 KB, 335 views)
__________________
www.tradingstudies.com
info[at]tradingstudies[dot]com

Last edited by roonius; 01-08-2009 at 07:47 PM.
roonius is offline  
Reply With Quote
Old 12-10-2008, 01:09 AM   #78
Mauro60
Member
 
Join Date: Jan 2007
Location: Turin, , Italy
Posts: 51
Default

I would like to offer you a simple idea with entry of low risk.
Attached Images
File Type: gif TS_SuperTrend.png (54.3 KB, 789 views)
Mauro60 is online now  
Reply With Quote
Old 12-10-2008, 04:20 AM   #79
vrathee
Member
 
Join Date: Nov 2008
Posts: 62
Default

Quote:
Originally Posted by Mauro60 View Post
I would like to offer you a simple idea with entry of low risk.
Hi Mauro60

Can you please post the said indicators in this forum? That would be a great help.

Regards

Vinkal
vrathee is offline  
Reply With Quote
Old 12-10-2008, 05:54 AM   #80
vrathee
Member
 
Join Date: Nov 2008
Posts: 62
Default

Hi All

I am posting this trading system which looks like Supertrend concept. And it is being sold at $150 per month. It has got system which gives automatic buy and sell with targets. Explanation is given below ::

STOPLOSS LINE: THE SAID LINE MOVES SIDEWAYS IS CALLED STOP – LOSS LINE. IF THE RUNNING BARS GO ABOVE THE SAID GREEN LINE A BUY SIGNAL WILL GENERATE AND IF BARS GO DOWN BELOW THE GREEN LINE A SELL SIGNAL WILL GENERATE. FOR BUY AND SELL STOPLOSS IS THE OLIVE GREEN LINE. YOU WILL GET AN INDICATION THERE WITH A BUY ARROW OR SELL ARROW.

MARKET AVERAGE LINE: THIS LINE MOVES SIDE WAYS. THIS LINE IS THE MARKET AVERAGE TRADED PRICE. (ODIN AVERAGE PRICE).

YELLOW BARS: THIS IS CALLED THE BREAKOUT BAR. IF RATE CROSSES ABOVE THE BAR MARKET GOES UP. IF RATE CROSSES DOWN MARKET GOES DOWN SIDE. YELLOW BAR WILL GENERATE AUTOMATICALLY AT A TIME WHEN SELLERS AND BUYERS ARE EQUAL. THE SIDE IN WHICH MAJORITY PEOPLE JOIN AND BREAKOUT RATE, MARKET MOVES ON THAT SIDE, SO THE YELLOW BARS CALLED BREAKOUT BARS AND IS VERY POWERFUL.

GREEN BAR : THIS IS THE PREVIOUS DAY CLOSING BAR. IT IS A POWERFUL INDICATION ALSO.

BLUE BARS: THIS BAR INDICATES THAT SCRIP IS ON A BUY SIGNAL, I.E. MARKET IS IN ON AN UP SIDE DIRECTION . BLUE BARS WILL COME ABOVE OLIVE GREEN STOP LOSS LINE .(IN MARKET HOURS DON’T COMPARE LAST RUNNING BARS AS IT WILL CHANGE BLUE AND RED ACORDING TO MARKET DIRECTION).

RED BARS: THIS BAR INDICATES THAT SCRIP IS ON A SELL SIGNAL, I.E. MARKET IS IN ON A DOWN SIDE DIRECTION . RED BARS WILL COME BELOW OLIVE GREEN STOP LOSS LINE .(IN MARKET HOURS DON’T COMPARE LAST RUNNING BARS AS IT WILL CHANGE BLUE AND RED ACORDING TO MARKET DIRECTION).

See the Images here ::
http://shup.com/Shup/91429/nifty.JPG
http://shup.com/Shup/91435/Acc.JPG

Hope to get something like this with SuperTrend.

Regards

Vinkal
vrathee is offline  
Reply With Quote
Old 12-10-2008, 07:17 AM   #81
Mauro60
Member
 
Join Date: Jan 2007
Location: Turin, , Italy
Posts: 51
Default

Quote:
Originally Posted by vrathee View Post
Hi Mauro60

Can you please post the said indicators in this forum? That would be a great help.

Regards

Vinkal
This is indicator(version correct)
Attached Files
File Type: zip versioncorrect.zip (8.0 KB, 334 views)

Last edited by Mauro60; 12-10-2008 at 07:23 AM.
Mauro60 is online now  
Reply With Quote
Old 12-12-2008, 03:10 AM   #82
vrathee
Member
 
Join Date: Nov 2008
Posts: 62
Default

Quote:
Originally Posted by vrathee View Post
Hi All

I am posting this trading system which looks like Supertrend concept. And it is being sold at $150 per month. It has got system which gives automatic buy and sell with targets. Explanation is given below ::

STOPLOSS LINE: THE SAID LINE MOVES SIDEWAYS IS CALLED STOP – LOSS LINE. IF THE RUNNING BARS GO ABOVE THE SAID GREEN LINE A BUY SIGNAL WILL GENERATE AND IF BARS GO DOWN BELOW THE GREEN LINE A SELL SIGNAL WILL GENERATE. FOR BUY AND SELL STOPLOSS IS THE OLIVE GREEN LINE. YOU WILL GET AN INDICATION THERE WITH A BUY ARROW OR SELL ARROW.

MARKET AVERAGE LINE: THIS LINE MOVES SIDE WAYS. THIS LINE IS THE MARKET AVERAGE TRADED PRICE. (ODIN AVERAGE PRICE).

YELLOW BARS: THIS IS CALLED THE BREAKOUT BAR. IF RATE CROSSES ABOVE THE BAR MARKET GOES UP. IF RATE CROSSES DOWN MARKET GOES DOWN SIDE. YELLOW BAR WILL GENERATE AUTOMATICALLY AT A TIME WHEN SELLERS AND BUYERS ARE EQUAL. THE SIDE IN WHICH MAJORITY PEOPLE JOIN AND BREAKOUT RATE, MARKET MOVES ON THAT SIDE, SO THE YELLOW BARS CALLED BREAKOUT BARS AND IS VERY POWERFUL.

GREEN BAR : THIS IS THE PREVIOUS DAY CLOSING BAR. IT IS A POWERFUL INDICATION ALSO.

BLUE BARS: THIS BAR INDICATES THAT SCRIP IS ON A BUY SIGNAL, I.E. MARKET IS IN ON AN UP SIDE DIRECTION . BLUE BARS WILL COME ABOVE OLIVE GREEN STOP LOSS LINE .(IN MARKET HOURS DON’T COMPARE LAST RUNNING BARS AS IT WILL CHANGE BLUE AND RED ACORDING TO MARKET DIRECTION).

RED BARS: THIS BAR INDICATES THAT SCRIP IS ON A SELL SIGNAL, I.E. MARKET IS IN ON A DOWN SIDE DIRECTION . RED BARS WILL COME BELOW OLIVE GREEN STOP LOSS LINE .(IN MARKET HOURS DON’T COMPARE LAST RUNNING BARS AS IT WILL CHANGE BLUE AND RED ACORDING TO MARKET DIRECTION).

See the Images here ::
http://shup.com/Shup/91429/nifty.JPG
http://shup.com/Shup/91435/Acc.JPG

Hope to get something like this with SuperTrend.

Regards

Vinkal
Can somebody please discuss this post?

Regards

Vinkal
vrathee is offline  
Reply With Quote
Old 12-17-2008, 10:03 PM   #83
mainstream
Member
 
Join Date: Sep 2008
Posts: 82
Default

wow thanks! This is great thanks
mainstream is offline  
Reply With Quote
Old 12-30-2008, 12:56 PM   #84
pgabriel
Senior Member
 
Join Date: Jan 2007
Location: , ,
Posts: 160
Default Alerts for supertrend

Would it be possible to put some kind of aaudio alert on this indicator to signal when a trend change has occured...? I am not a programer so I have no clue as to how to do this...
pgabriel is offline  
Reply With Quote
Old 12-30-2008, 07:11 PM   #85
Elliott Wave
Senior Member
 
Join Date: Mar 2008
Posts: 731
Default

Quote:
Originally Posted by pgabriel View Post
Would it be possible to put some kind of aaudio alert on this indicator to signal when a trend change has occured...? I am not a programer so I have no clue as to how to do this...
I already added that.

Check under the 'Alerts' section of the indicators parameters section.
Elliott Wave is offline  
Reply With Quote
Old 12-30-2008, 07:37 PM   #86
pgabriel
Senior Member
 
Join Date: Jan 2007
Location: , ,
Posts: 160
Default

Where do I get that version...? My version 1.7 does not have an alert option in the parameters section...
pgabriel is offline  
Reply With Quote
Old 12-30-2008, 10:51 PM   #87
Elliott Wave
Senior Member
 
Join Date: Mar 2008
Posts: 731
Default

Quote:
Originally Posted by pgabriel View Post
Where do I get that version...? My version 1.7 does not have an alert option in the parameters section...
I thought I had uploaded the version with the alert, but in case not, here it is:

Attached Images
File Type: jpg supertrend.jpg (30.6 KB, 426 views)
Attached Files
File Type: zip SuperTrend1230.zip (4.5 KB, 462 views)
Elliott Wave is offline  
Reply With Quote
Old 01-07-2009, 12:45 AM   #88
WhoKnows
Member
 
Join Date: Nov 2008
Posts: 64
Default

Tried to find the differences, but to be sure:
Elliott is your SuperTrend1230 the SuperTrend1.7 (1.6 fixed by Roonius 12/10) with alert or the SuperTrend1.6 with alert?

In the indicator file it is listed as 1.6.

Anyway thanks ...
WhoKnows is offline  
Reply With Quote
Old 01-07-2009, 02:20 AM   #89
Elliott Wave
Senior Member
 
Join Date: Mar 2008
Posts: 731
Default

I'm pretty sure its the version 1.7 (which also says 1.6 in the code).
Elliott Wave is offline  
Reply With Quote
Old 01-07-2009, 07:28 AM   #90
Riverend
Junior Member
 
Join Date: Oct 2008
Posts: 20
Default Elliot Wave and Roonius

Thanks for the work you have done with this indicator. "The trend is your friend".
Riverend 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
Needed Chart Trader Updates stevescott05 Suggestions And Feedback 1 08-14-2008 07:09 AM
Trend line channels - Oscillator trend lines ? fryguy General Programming 1 05-16-2008 10:20 AM
Super DOM Format for chart trader Pipqueen Suggestions And Feedback 1 11-26-2007 08:29 AM
New to Ninja Trader canes Strategy Development 3 03-08-2007 05:18 AM
Ninja Trader going down gprizevoits Miscellaneous Support 1 03-25-2005 04:57 AM


All times are GMT -6. The time now is 09:53 AM.