NexusFi: Find Your Edge


Home Menu

 





Perrys Trading -> Strategy - development


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one MWinfrey with 52 posts (163 thanks)
    2. looks_two wgreenie with 48 posts (18 thanks)
    3. looks_3 porpor1234 with 18 posts (0 thanks)
    4. looks_4 fusion with 15 posts (9 thanks)
      Best Posters
    1. looks_one Braulio with 3.4 thanks per post
    2. looks_two MWinfrey with 3.1 thanks per post
    3. looks_3 max-td with 0.9 thanks per post
    4. looks_4 wgreenie with 0.4 thanks per post
    1. trending_up 93,750 views
    2. thumb_up 247 thanks given
    3. group 61 followers
    1. forum 259 posts
    2. attach_file 95 attachments




 
Search this Thread

Perrys Trading -> Strategy - development

  #41 (permalink)
 askinfo 
CA
 
Experience: Beginner
Platform: NT
Posts: 12 since Jun 2009
Thanks Given: 21
Thanks Received: 5


wgreenie View Post
Hi Susan and Emini

I "may" have found the fix for the UMAUtility myth. I simply added the following to Using declarations:

using UmaUtility;

Please remove the problemed strategy/strategies from the Strategy folder before compiling the enclosed version.

Note to Emini: Based the error message you posted, seemed to me that you're missing the EMA_Colors indicator which was in the zip file. Please go through the Indicator folder and make sure you have the same.

Beth




Beth,

I actually removed every "UmaUtility." from the code, and it fixed the compile error.


askinfo

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Futures True Range Report
The Elite Circle
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
 
  #42 (permalink)
 wgreenie 
Cambridge, Ontario
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: 6E
Posts: 1,778 since Dec 2009
Thanks Given: 1,258
Thanks Received: 1,203


askinfo View Post
Beth,

I actually removed every "UmaUtility." from the code, and it fixed the compile error.

askinfo

Thanks Askinfo for your sharing/tips! Now Susan and Emini have 2 ways to resolve the compiling issues. Let's hope either one of them will work for them.

Beth

Good Trading is about Trading Right!
Want What the Market Wants!
Trade With the Trend!
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #43 (permalink)
 eminitrdr 
Marietta, Oh USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zenfire
Trading: Euro
Posts: 180 since Mar 2010
Thanks Given: 459
Thanks Received: 207


Beth/Askinfo,

Thanks for all the help. I finally got it to compile. Beth, thanks a million for your patience and generosity.

I imported your EMA_Colors.cs file from the zip you provided. I did as Askinfo suggested. I removed every "UmaUtility." from the code and was able to compile it then.

I know the strategy has to run on a range chart. Does it have to be a 4 range as your chart shows or can it be user defined? Also, can I start the strategy at any time...are the time parameters within the strategy user definable? If they are, I see where you have them set to...Timefinish: 113000....Timestart: 94000. What time is that EST...(9:40am start and 11:30am finish?) What would be the settings for 6:00pm start to 5:00pm finish EST? Thanks again for all the assistance.

Eternally grateful,
emini

Reply With Quote
  #44 (permalink)
 wgreenie 
Cambridge, Ontario
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: 6E
Posts: 1,778 since Dec 2009
Thanks Given: 1,258
Thanks Received: 1,203


eminitrdr View Post
Beth/Askinfo,

Thanks for all the help. I finally got it to compile. Beth, thanks a million for your patience and generosity.

I imported your EMA_Colors.cs file from the zip you provided. I did as Askinfo suggested. I removed every "UmaUtility." from the code and was able to compile it then.

I know the strategy has to run on a range chart. Does it have to be a 4 range as your chart shows or can it be user defined? Also, can I start the strategy at any time...are the time parameters within the strategy user definable? Where can I find more information about starting/stopping a strategy? Thanks again for all the assistance.

Eternally grateful,
emini

Hi Emini

I'm glad that you now have the strategy ready to run. Congratulations! Plus Big Big Thank You to Askinfo!

To learn how to run a strategy, I highly recommend your going through what I outlined in the following post:



Yes, the strategy only works for Range charts because its entry is based on counting bars. When you have your chart up (your preferred Range timeframe and based on Perry's template), right-click on the chart and choose Strategies to pull up the enclosed. Adjust the Parameters to meet your preference, eg PT/SL, trading time and cum daily loss/profit targets (they're in $), then OK. It's also important to set the following:

1. Control Center - Tools - Options - Strategies - NinjaScript (Check Wait until flat before executing live)

2. Control Center - Tools - Options - Misc

- Time to flatten (change it to your preferred closing time)
- Flatten all (be sure to check this)

You will understand their importance after going through the suggested NJ Help topics. Good luck!

Beth

Good Trading is about Trading Right!
Want What the Market Wants!
Trade With the Trend!
Attached Thumbnails
Click image for larger version

Name:	Set Up.JPG
Views:	292
Size:	78.3 KB
ID:	19210   Click image for larger version

Name:	Flat n Closing.JPG
Views:	249
Size:	64.9 KB
ID:	19211  
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #45 (permalink)
 eminitrdr 
Marietta, Oh USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zenfire
Trading: Euro
Posts: 180 since Mar 2010
Thanks Given: 459
Thanks Received: 207

Beth,

I will go through the help topics now. Again, thanks a million!

emini

Reply With Quote
  #46 (permalink)
 wgreenie 
Cambridge, Ontario
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: 6E
Posts: 1,778 since Dec 2009
Thanks Given: 1,258
Thanks Received: 1,203

Hi Emini

You are most welcome. I almost missed addressing your "time" issue. TimeStart and TimeFinish are based on your computer clock.

Beth

Good Trading is about Trading Right!
Want What the Market Wants!
Trade With the Trend!
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #47 (permalink)
 porpor1234 
Fairfax, VA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP
Trading: ES, Currency Futures
Posts: 25 since Apr 2010
Thanks Given: 8
Thanks Received: 1


wgreenie View Post
Hi Susan and Emini

I "may" have found the fix for the UMAUtility myth. I simply added the following to Using declarations:

using UmaUtility;

Please remove the problemed strategy/strategies from the Strategy folder before compiling the enclosed version.

Note to Emini: Based the error message you posted, seemed to me that you're missing the EMA_Colors indicator which was in the zip file. Please go through the Indicator folder and make sure you have the same.

Beth

Hi Beth,
I am not sure what my problem is now but your last version of the strategy didn't compile for me either. I was ready to give up and didn't check the forum again till tonight. Seeing emini getting it compiled and running gave me a spark of hope but I'm back in the dumps again! All the errors had to do with that Jeffs indicator - it is your original one. I have the latest version of NT 6.5.1000.16. I posted the compiled code with the errors.

Thanks for your yeoman efforts!

Susan

Attached Thumbnails
Click image for larger version

Name:	2010-08-24_2236.png
Views:	260
Size:	92.8 KB
ID:	19205  
Reply With Quote
  #48 (permalink)
 wgreenie 
Cambridge, Ontario
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: 6E
Posts: 1,778 since Dec 2009
Thanks Given: 1,258
Thanks Received: 1,203


porpor1234 View Post
Hi Beth,
I am not sure what my problem is now but your last version of the strategy didn't compile for me either. I was ready to give up and didn't check the forum again till tonight. Seeing emini getting it compiled and running gave me a spark of hope but I'm back in the dumps again! All the errors had to do with that Jeffs indicator - it is your original one. I have the latest version of NT 6.5.1000.16. I posted the compiled code with the errors.

Thanks for your yeoman efforts!

Susan

Hi Susan

I'm very sorry for the frustration and time spent on compiling the strategy. I'm going to private message Emini and request his posting the strategy in this thread or sharing it with me so that I can do more troubleshooting from my end.

FYI: I'm using NT 6.5.1000.15 and I don't think the slightly different version matters.

Will revert and thank you for your patience.

Beth

Good Trading is about Trading Right!
Want What the Market Wants!
Trade With the Trend!
Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #49 (permalink)
 omaha786 
San Diego, California
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB, OEC, Optimus, DDT
Trading: ES, ZN
Posts: 221 since Jun 2010
Thanks Given: 512
Thanks Received: 158


wgreenie View Post
Hi Susan

I'm very sorry for the frustration and time spent on compiling the strategy. I'm going to private message Emini and request his posting the strategy in this thread or sharing it with me so that I can do more troubleshooting from my end.

FYI: I'm using NT 6.5.1000.15 and I don't think the slightly different version matters.

Will revert and thank you for your patience.

Beth

Why not replace Jeff's Universal MA by a regular EMA(20) in the code?

Visit my NexusFi Trade Journal Reply With Quote
  #50 (permalink)
 wgreenie 
Cambridge, Ontario
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: 6E
Posts: 1,778 since Dec 2009
Thanks Given: 1,258
Thanks Received: 1,203



omaha786 View Post
Why not replace Jeff's Universal MA by a regular EMA(20) in the code?

Thanks omaha786 for your suggestion. Just checked. Regular EMA(20) does not have any plots. Guess one may consider a code like Rising(EMA(20)) or Falling(EMA(20)) + locating a chop filter replacing the existing one IF he/she wants a chop filter in the strategy.

Beth

Good Trading is about Trading Right!
Want What the Market Wants!
Trade With the Trend!
Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on October 21, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts