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 03-04-2009, 05:23 AM   #1
freeTrader
Junior Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default OsMA indicator

Hello!

Pleas, I need the help with OsMA oscilating indicator. As I know, NT not have the indicator named (but MACD only). I am biginer studying the programming in the NT, so at the moment I canīt to programming indicators. That is why I would like to ask technical support for programming the indicator as follow

MACD = EMA(PRICE,P1) - EMA(PRICE,P2)
SIGNAL = SMA(MACD,P3)
OsMA = MACD - SIGNAL

(SMA is Simple Moving Averige)

Than:

P1, P2, P3 are variable parameters by user entered
PRICE is variable type of price, i.e. OPEN, HIGH, LOW, CLOSE, MEDIUM, by user entered

Resulting OsMA must be plotted only. This must be plotted as oscilator (but possibility of form changing is welcome). It will be best, if the color of positive-negative bars of oscilator can be changed.

Excuse me pleas for complicated request, but I donīt know, where else I can get the help with this.

Thank you for your valuable time.
Yours sincerely
freeTrader
Last edited by freeTrader; 03-04-2009 at 05:31 AM.
freeTrader is offline  
Reply With Quote
Old 03-04-2009, 06:06 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default updated zip

Welcome to our forums freeTrader, are you talking about the one attached?

For our custom coding tutorials you can check into this link - http://www.ninjatrader-support.com/H...verview18.html

To get NinjaScript tools professionally custom coded I can recommend you those consultants - http://www.ninjatrader.com/webnew/pa...injaScript.htm
Attached Files
File Type: zip OsMA.zip (3.5 KB, 357 views)
Last edited by NinjaTrader_Bertrand; 03-04-2009 at 07:56 AM.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 03-04-2009, 07:44 AM   #3
freeTrader
Junior Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default

Hello Bertrand,

Thank you for the fast answer! Wow!

Yes, I was watching the link showed, but it is not to quick to get for myself.

Perfect. It seems I need some kinde of advise with your OsMA. The things is that there are no any sinks at the chart. Has done:

- follow files/utility/import script
- select the new OsMA.zip file in my PC saved
- proceed to script import

than

- follow file/new/chart (and procced)
- press "indicator" and chose the OsMA that is new for me

Now, see the chart. There is new window for the OsMA at the botom. In the left upper corn is "OsMA" sign with the parameters. But there is no any oscilator.

Where I am wrong?

Sincerely
Roman
Attached Images
File Type: jpg chart01.jpg (76.3 KB, 113 views)
freeTrader is offline  
Reply With Quote
Old 03-04-2009, 07:57 AM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Sorry Roman, please download the file from the first post again and retry - thanks!
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 03-04-2009, 08:55 AM   #5
freeTrader
Junior Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default

Dear Bertrand,

No any "sorry" needed! I got absolutly best possibile support from yourself, thank you very much!

Your OsMA is exactly what I need, I see. This indicator is very important for me, so I am very glad you helped me.

Thank you agane, dear Bertrand!
Best regards.
Roman
freeTrader is offline  
Reply With Quote
Old 03-04-2009, 09:00 AM   #6
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Thank you for your kind words, glad it helps!
NinjaTrader_Bertrand 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
Osma? eswap0 Indicator Development 2 11-22-2008 02:19 AM
Indicator: Removing and Custom Formatting an Indicator’s Chart Label NinjaTrader_Josh Reference Samples 0 12-30-2007 06:49 PM
Howard Indicator and Pesavento Pattern Swing Indicator DORAIRAJ_S@HOTMAIL.COM Indicator Development 1 11-12-2007 12:28 AM


All times are GMT -6. The time now is 11:59 PM.