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 03-15-2009, 07:16 AM   #1
^eagle^
Junior Member
 
Join Date: Feb 2009
Posts: 13
Thanks: 0
Thanked 0 times in 0 posts
Default Have idea for new indie for Rainbow traders

I posted this in another Thread but I am making it its ownb thread so as not to hijack the other thread.

I am looking to translate this mt4 indicator to NT. It tracks MMA consolidation. I have given an explanation as to what I am looking for on the pic. Attached is the mt4 indicator itself.
Attached Images
File Type: png RMMAPIC.PNG (68.9 KB, 470 views)
Attached Files
File Type: zip MA Rainbow Consolidation.zip (1.3 KB, 145 views)
^eagle^ is offline  
Reply With Quote
Old 03-15-2009, 09:02 AM   #2
whself beginner
Member
 
Join Date: Dec 2008
Posts: 80
Thanks: 0
Thanked 1 time in 1 post
Default

like this, which timeframe. all timeframe. 1 second, 30 second ...
break outs

wma 1 - 200
Attached Images
File Type: png RMMA 1 - 200.png (51.1 KB, 327 views)
whself beginner is offline  
Reply With Quote
Old 03-15-2009, 10:38 AM   #3
whself beginner
Member
 
Join Date: Dec 2008
Posts: 80
Thanks: 0
Thanked 1 time in 1 post
Default

sigline for eurousd -- 0,0005 take the ticsize * 5
sigline for eurjpy -- 0,05 ...
tomorow more
whself beginner is offline  
Reply With Quote
Old 03-15-2009, 12:23 PM   #4
^eagle^
Junior Member
 
Join Date: Feb 2009
Posts: 13
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by whself beginner View Post
like this, which timeframe. all timeframe. 1 second, 30 second ...
break outs

wma 1 - 200

I would using this on one second and thirty second TF. But I imagine it could be used for higher timeframes as well.

^eagle^ is offline  
Reply With Quote
Old 03-15-2009, 01:46 PM   #5
whself beginner
Member
 
Join Date: Dec 2008
Posts: 80
Thanks: 0
Thanked 1 time in 1 post
Default

here is the translation.
Attached Files
File Type: cs RMMAConsolidation.cs (8.5 KB, 114 views)
whself beginner is offline  
Reply With Quote
Old 03-15-2009, 05:47 PM   #6
sefstrat
Member
 
Join Date: Jan 2009
Posts: 89
Thanks: 0
Thanked 1 time in 1 post
Default

Here.. I already had this coded, very similar to the one you posted.

Edit: Er, looks like someone else already posted a conversion, oops =)

My version can use different types of moving averages though so I will leave it up in case that interests anyone.

Also BTW when scalping with RMMA, I find that it is better to use 1-3 Range bars instead of 1second or 5 second bars..
Attached Files
File Type: cs RMMASpread.cs (7.7 KB, 168 views)
Last edited by sefstrat; 03-15-2009 at 05:51 PM.
sefstrat is offline  
Reply With Quote
Old 03-16-2009, 01:07 AM   #7
whself beginner
Member
 
Join Date: Dec 2008
Posts: 80
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
I find that it is better to use 1-3 Range bars instead of 1second or 5 second bars..
thats true, show the picture range=4
and new script with german alert function and small modification.
Attached Images
File Type: png Screenshot - 16.03.2009 , 11_05_55.png (53.7 KB, 379 views)
Attached Files
File Type: cs RMMAConsolidation.cs (9.4 KB, 198 views)
Last edited by whself beginner; 03-16-2009 at 04:08 AM.
whself beginner is offline  
Reply With Quote
Old 03-16-2009, 05:20 AM   #8
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

Thanks for your help getting this coded up guys.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 03-16-2009, 09:41 AM   #9
Jetjockey737
Junior Member
 
Join Date: May 2008
Posts: 7
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi,
could please anybody explain how to import this .cs files into ninjatrader in order to get this indicator running. i tried to copy it into the indicator folder, but that doesn't work.
maybe some would be so kind and post the zipped version...

Regards, jetjockey
Jetjockey737 is offline  
Reply With Quote
Old 03-16-2009, 09:45 AM   #10
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

Hi Jetjockey737, welcome to our support forums! Just copy the cs file into the MyDocuments\NinjaTrader 6.5\bin\Custom\Indicator folder (for indicators). Then open any file in your NinjaScript editor (Tools > Edit NinjaScript > Indicator) and F5 in it to compile all your script, then the fresh imported one should be available for immediate use.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 03-16-2009, 03:34 PM   #11
^eagle^
Junior Member
 
Join Date: Feb 2009
Posts: 13
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by whself beginner View Post
thats true, show the picture range=4
and new script with german alert function and small modification.

Found A bug....

When I try to change the sensitivity by decreasing the alert zone it changes back to .0005 (default) on eur/usd as soon as I remove cursor from the box.

Works fine when I change the alert zone on the eurjpy. (.05 to .0x)
^eagle^ is offline  
Reply With Quote
Old 03-17-2009, 01:12 AM   #12
whself beginner
Member
 
Join Date: Dec 2008
Posts: 80
Thanks: 0
Thanked 1 time in 1 post
Default

this is not a bug. --> this is the min of input parameter. you can chance it in the code by <find/replace> for example 0.0005 - 0.00005.
open the textfile and use the <find/replace> function of an editor, save the file, compile and press F5 on the chart.

sometimes it would help, to read the document of an application.

best regards
whself beginner is offline  
Reply With Quote
Old 03-17-2009, 03:28 AM   #13
^eagle^
Junior Member
 
Join Date: Feb 2009
Posts: 13
Thanks: 0
Thanked 0 times in 0 posts
Default

thanks , I meant no offense.
^eagle^ is offline  
Reply With Quote
Old 03-17-2009, 04:01 AM   #14
whself beginner
Member
 
Join Date: Dec 2008
Posts: 80
Thanks: 0
Thanked 1 time in 1 post
Default

no problem.
thanx to you, for post this idea. indicator works well for me to find better entries and exit with simple 123 pattern.

i like it more as adx, cci ...

best regards
whself beginner is offline  
Reply With Quote
Old 04-07-2009, 11:18 AM   #15
linuxtroll
Junior Member
 
Join Date: Jan 2008
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by whself beginner View Post
no problem.
thanx to you, for post this idea. indicator works well for me to find better entries and exit with simple 123 pattern.

i like it more as adx, cci ...

best regards
Yes... stolen idea from my work by Eagle... lol

http://www.cyrox.com/
http://www.cyrox.com/forum
linuxtroll 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
Idea for a new indicator Antraman ATM Strategies (Discretionary Trading) 35 01-12-2009 03:13 PM
Possible Idea To Save CPU....?? Alfred Charting 5 10-15-2008 01:51 PM
Great indicator idea 5iver Indicator Development 5 10-04-2008 06:43 PM
RMO - Rainbow Osillators has or can anyone in forum using johncare Indicator Development 1 07-04-2008 11:52 AM
NT6 Chart Idea Alfred Suggestions And Feedback 1 01-12-2007 03:37 AM


All times are GMT -6. The time now is 07:10 PM.