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 01-25-2008, 02:05 PM   #1
Mike_32
Senior Member
 
Join Date: Jan 2008
Posts: 266
Thanks: 0
Thanked 0 times in 0 posts
Default Can anyone turn these into a NT indicator?

Hi the code from these is in C something but its for MetaTrader4 from Metaquotes Software.It is similar code it looks like to NT I just don't know how to make it into a NT indicator.
One indicator is Heiken Ashi Smoothed and the other is Signal Line.
I put 2 pics and 2 text files with the code.
If someone could make them into NT indicators it would be good.
Attached Files
File Type: txt HAS CODE.txt (4.2 KB, 68 views)
File Type: txt SIGNAL LINE.txt (4.1 KB, 51 views)
Mike_32 is offline  
Reply With Quote
Old 01-27-2008, 05:56 PM   #2
Fulcrum
Junior Member
 
Join Date: Dec 2007
Posts: 29
Thanks: 0
Thanked 0 times in 0 posts
Default

I asked a similar question - no reply so far.


http://www.ninjatrader-support.com/v...ead.php?t=2780

Fulcrum is offline  
Reply With Quote
Old 01-28-2008, 11:13 AM   #3
Gumphrie
Senior Member
 
Join Date: Jun 2007
Posts: 218
Thanks: 0
Thanked 1 time in 1 post
Default

Not sure I follow. How are either of these different to ModHeikenAshi?
Gumphrie is offline  
Reply With Quote
Old 01-28-2008, 02:25 PM   #4
Fulcrum
Junior Member
 
Join Date: Dec 2007
Posts: 29
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by Gumphrie View Post
Not sure I follow. How are either of these different to ModHeikenAshi?
Well the lower pane of the attached image in this thread shows a modified HA (smoothed HA type indicator) shown "smoothed" (which we are trying to get this capability as an indicator for NT6.5). Also this smothed indicator is shown as an overlayed indicator ON TOP of price...so smoothed and overlayed as a stand alone indicator that can be added to a pane which also has regular price candles/bars. Make more sense?
Fulcrum is offline  
Reply With Quote
Old 01-28-2008, 02:25 PM   #5
Mike_32
Senior Member
 
Join Date: Jan 2008
Posts: 266
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by Gumphrie View Post
Not sure I follow. How are either of these different to ModHeikenAshi?
These ones color based on Moving averages not on high low close etc.

extern int MaMetod = 2;
extern int MaPeriod = 6;
extern int MaMetod2 = 3;
extern int MaPeriod2 = 2;

extern int period=15;
extern int method=3; // MODE_SMA
extern int price=0; // PRICE_CLOSE
I cant get ModHA to compile has to many errors.
When I go to, file, utilities, import ninja script, it gives me this.
You have custom ninja script files on your pc that have programming errors.
These errors must be resolved before you can import a nonja script archive file.
Last edited by Mike_32; 01-28-2008 at 02:28 PM.
Mike_32 is offline  
Reply With Quote
Old 01-28-2008, 02:45 PM   #6
Gumphrie
Senior Member
 
Join Date: Jun 2007
Posts: 218
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by Fulcrum View Post
Well the lower pane of the attached image in this thread shows a modified HA (smoothed HA type indicator) shown "smoothed" (which we are trying to get this capability as an indicator for NT6.5). Also this smothed indicator is shown as an overlayed indicator ON TOP of price...so smoothed and overlayed as a stand alone indicator that can be added to a pane which also has regular price candles/bars. Make more sense?
But the actual 'smooth' is the same isn't it? Its just the plotting method...
Gumphrie is offline  
Reply With Quote
Old 01-28-2008, 02:46 PM   #7
Gumphrie
Senior Member
 
Join Date: Jun 2007
Posts: 218
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by Mike_32 View Post
These ones color based on Moving averages not on high low close etc.

extern int MaMetod = 2;
extern int MaPeriod = 6;
extern int MaMetod2 = 3;
extern int MaPeriod2 = 2;

extern int period=15;
extern int method=3; // MODE_SMA
extern int price=0; // PRICE_CLOSE
I cant get ModHA to compile has to many errors.
When I go to, file, utilities, import ninja script, it gives me this.
You have custom ninja script files on your pc that have programming errors.
These errors must be resolved before you can import a nonja script archive file.

If you add the .cs file in manually to the indicators directory and try to compile what errors do you get?
Gumphrie is offline  
Reply With Quote
Old 01-28-2008, 02:47 PM   #8
Mike_32
Senior Member
 
Join Date: Jan 2008
Posts: 266
Thanks: 0
Thanked 0 times in 0 posts
Default

I fixed all that ok here is the difference in ModHA and HASmoothed.
Mike_32 is offline  
Reply With Quote
Old 01-28-2008, 02:51 PM   #9
art cole
Member
 
Join Date: Nov 2007
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default

I cant get ModHA to compile has to many errors.

I don't understand. I have been using Gumphrie's ModHA since he posted and it works fine.

These ones color based on Moving averages not on high low close etc.

I can also see some value in the smoothed indicators you are inquiring about. Very interesting!
art cole is offline  
Reply With Quote
Old 01-28-2008, 02:55 PM   #10
Mike_32
Senior Member
 
Join Date: Jan 2008
Posts: 266
Thanks: 0
Thanked 0 times in 0 posts
Default

Have to import other peoples indicators straight from zipfile's cannot go to tools, edit ninja script, indicator and select the unzipped file then compile.
If I have any other corrupt things in directory it wont let me import anything.
But anyway thats the difference in ModHA and HASmoothed they are almost the same but smoothed gives less signals.
Mike_32 is offline  
Reply With Quote
Old 01-31-2008, 05:15 PM   #11
Fulcrum
Junior Member
 
Join Date: Dec 2007
Posts: 29
Thanks: 0
Thanked 0 times in 0 posts
Default

So we do have a HASmoothed indicator now for NT6.5 that looks like the very last chart image you posted...with the HASmoothed overlayed onto price?

What file?
Fulcrum is offline  
Reply With Quote
Old 01-31-2008, 09:40 PM   #12
randyjb
Member
 
Join Date: Feb 2007
Location: , ,
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Default Smoothed HA..

Naww. Fulcrum.. if a truly smoothed HA exists for NT 6.5 or otherwise, I have never seen any evidence of it. Now I don't really know if the metatrader versions are smoothed with a 3 period T3 or KAMA or whatever, but I haven't seen any HA here that performs close to that.

Perhaps one of the outstanding coders here who is not already swamped with our incessant indicator requests will look upon it as a challenge and have a go at producing one.

Happy Trading...
randyjb is offline  
Reply With Quote
Old 02-04-2008, 03:37 PM   #13
zelli
Member
 
Join Date: Nov 2006
Location: , ,
Posts: 38
Thanks: 1
Thanked 0 times in 0 posts
Default

I know I would use a smoothed one if someone made it!!
zelli is offline  
Reply With Quote
Old 02-29-2008, 05:15 AM   #14
Mike_32
Senior Member
 
Join Date: Jan 2008
Posts: 266
Thanks: 0
Thanked 0 times in 0 posts
Talking

Quote:
Originally Posted by zelli View Post
I know I would use a smoothed one if someone made it!!
I had a quote from some wackjob to code this into NT format he wanted $1500 Some people must think all are noobs.
Mike_32 is offline  
Reply With Quote
Old 02-29-2008, 10:08 AM   #15
Fulcrum
Junior Member
 
Join Date: Dec 2007
Posts: 29
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by Mike_32 View Post
I had a quote from some wackjob to code this into NT format he wanted $1500 Some people must think all are noobs.
Well, I really want to get my hands on this indicator so if it takes paying someone to do it I would..but not for $1500 ... that is excessive imo. If someone has this for NT6.5 let me know (with the capability to "adjust" the smoothed period parameter), as I am VERY interested to get this added to NT6.5 for my use (and I am willing to pay a lower amount for the programming work...give me a number).......Thanks!
Fulcrum 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
Turn off unwanted price markers? higler Charting 5 03-20-2009 05:15 AM
Can we turn off the following error message in the log? cassb Miscellaneous Support 1 12-19-2007 11:02 AM
ho do I turn cursor cross hair on nkhoi Miscellaneous Support 2 12-02-2007 01:17 PM
Turn Chart Indicator Labels Off aslane Charting 4 11-28-2007 07:19 PM
Possible to turn off numbers on graphic indicators ? Alfred Miscellaneous Support 1 03-20-2007 05:01 PM


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