Big Mike's Trading Forum
 

Go Back   Big Mike's Trading Forum

> Trading Forums > Platforms and Indicators > NinjaTrader > NinjaTrader Programming


Notices
     

Perrys Trading -> Strategy - development
Started:August 4th, 2010 (04:57 PM) by wgreenie Views / Replies:37,852 / 257
Last Reply:August 21st, 2012 (10:09 AM) Attachments:96

Welcome to Big Mike's Trading Forum.

Welcome, Guest!

This forum was established to help traders by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

BMT is fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike
     

Reply
 96  
 
Thread Tools Search this Thread

Perrys Trading -> Strategy - development

Old August 22nd, 2010, 05:43 PM   #41 (permalink)
Elite Member
CA
 
Trading Experience: Beginner
Platform: NT
 
Posts: 12 since Jun 2009
Thanks: 21 given, 4 received


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
     

Old August 22nd, 2010, 05:46 PM   #42 (permalink)
 Vendor: www.ezcolortrading.com 
Cambridge, Ontario
 
Trading Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Instrument: 6E
 
Posts: 1,772 since Dec 2009
Thanks: 1,258 given, 1,184 received


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!
Reply With Quote
     

Old August 22nd, 2010, 08:06 PM   #43 (permalink)
Elite Member
Marietta, Oh USA
 
Trading Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zenfire
Favorite Instrument: Euro
 
Posts: 155 since Mar 2010
Thanks: 344 given, 185 received

RE PerrySetupV2


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
     

Old August 22nd, 2010, 09:00 PM   #44 (permalink)
 Vendor: www.ezcolortrading.com 
Cambridge, Ontario
 
Trading Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Instrument: 6E
 
Posts: 1,772 since Dec 2009
Thanks: 1,258 given, 1,184 received


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:

https://www.bigmiketrading.com/journals-daily-charts-chart-reading/3514-perrys-trading-platform-41.html#post54936

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
Perrys Trading -> Strategy - development-set-up.jpg   Perrys Trading -> Strategy - development-flat-n-closing.jpg  
Reply With Quote
     

Old August 22nd, 2010, 09:23 PM   #45 (permalink)
Elite Member
Marietta, Oh USA
 
Trading Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zenfire
Favorite Instrument: Euro
 
Posts: 155 since Mar 2010
Thanks: 344 given, 185 received

Help Topics

Beth,

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

emini

Reply With Quote
     

Old August 22nd, 2010, 10:52 PM   #46 (permalink)
 Vendor: www.ezcolortrading.com 
Cambridge, Ontario
 
Trading Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Instrument: 6E
 
Posts: 1,772 since Dec 2009
Thanks: 1,258 given, 1,184 received

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!
Reply With Quote
     

Old August 24th, 2010, 10:49 PM   #47 (permalink)
Elite Member
Fairfax, VA
 
Trading Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP
Favorite Instrument: ES, Currency Futures
 
Posts: 25 since Apr 2010
Thanks: 8 given, 1 received


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
Perrys Trading -> Strategy - development-2010-08-24_2236.png  
Reply With Quote
     

Old August 24th, 2010, 11:08 PM   #48 (permalink)
 Vendor: www.ezcolortrading.com 
Cambridge, Ontario
 
Trading Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Instrument: 6E
 
Posts: 1,772 since Dec 2009
Thanks: 1,258 given, 1,184 received


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!
Reply With Quote
     

Old August 25th, 2010, 12:51 AM   #49 (permalink)
Elite Member
San Diego, California
 
Trading Experience: Intermediate
Platform: Sierra Chart
Broker/Data: IB, OEC, Optimus, DDT
Favorite Instrument: ES, ZN
 
Posts: 221 since Jun 2010
Thanks: 511 given, 149 received


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?

Reply With Quote
     

Old August 25th, 2010, 11:32 AM   #50 (permalink)
 Vendor: www.ezcolortrading.com 
Cambridge, Ontario
 
Trading Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Instrument: 6E
 
Posts: 1,772 since Dec 2009
Thanks: 1,258 given, 1,184 received



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!
Reply With Quote
     

Reply



Tags
6 range, 6e, account, accurate, adx, ai, analysis, angle, ati, ats, audio, auto strategy, auto-trading, automated, automated strategy, automation, bars, basic, beta, betterbrick, big mike, bot, breakout, calendar, calls, candle, cd, ces, challenge, change, chart, chart trader, charts, cl, close, cobc, code, coding, color, colors, combine, comparison, compile, condition, connection, contracts, control, create, custom, custom indicator, daily, data, data provider, data series, day, development, direction, discretionary, dow, downloads, editing, education, el, elite, ema, enter, entry, envelope, eod, error, errors, es, esignal, execution, exit, feed, file, fill, filled, filter, filters, fix, flatten, format, free, function, future, futures, gap, gaps, greater than, group, guide, hideout, high, historic, historical, historical data, homework, horizontal, how to, how-to, indicator, indicators, instrument, instruments, interest, interval, jma, language, learn, learning, life, line, list, live, living, load, lot, love, low, management, manual, market, market replay, master, math, medianrenko, method, mfe, mind, ml, money management, news, ninja, ninjascript, ninjatrader, note, nt, nt7, open, option, order, order entry, orders, package, paper, parameter, parameters, performance, perry, perry method, pivot, plan, platform, platforms, plot, practice, price, price_action, profit, profitable, programmer, programming, purpose, puts, question, questions, quick search, range, range bar, range chart, real time, reload, replay, retire, reverse, right-click, rules, sample, save, script, scripts, searching, series, settings, setup, signal, signals, sim, sim trading, sma, small, software, split, start, stop, stops, strategies, strategy, strategy wizard, stress, support, system, systems, targets, td, template, testing, tf, thank you, tick, ticks, time, time frames, trad, trade, trade management, trader, traders, trades, trading, trading method, trading system, training, type, universal, update, values, vendor, vision, volatility, volume, workspace, zone
     

Big Mike's Trading Forum > Trading Forums > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Perrys Trading -> Strategy - development

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
BLUELINE DELIGHT >>>Intraday Trading Strategy Guide<<< Gabriyele The Elite Circle 407 May 30th, 2013 07:29 AM
strategy development kavin729 NinjaTrader Programming 14 May 6th, 2012 02:31 PM
Perrys Trading Platform perryg Traders Hideout 1206 November 5th, 2011 01:07 AM
Building a PC for Discretionary/Automated Trading and Strategy Development nlhaines Tech Support 49 June 7th, 2011 01:47 PM
Strategy Condition Logic >> my wetware Trader.Jon NinjaTrader Programming 2 May 24th, 2010 04:17 PM


All times are GMT -4. The time now is 05:53 PM.

Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2014 by Big Mike Trading. 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.
 
no new posts

Page generated 2014-04-16 in 0.14 seconds with 20 queries on atlantis via your IP 54.198.34.238