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 95,725 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

  #121 (permalink)
 
MWinfrey's Avatar
 MWinfrey 
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
Posts: 1,878 since Jul 2009
Thanks Given: 1,450
Thanks Received: 3,335

Perry does not mention the ADX in post 71 which documents his rules. However, unless I'm mistaken he mentions in other posts that we need to confirm the ADX as rising for longs and shorts as well as the relative position of the DMPlus and DMMinus lines. The 2 bars you marked on your chart have the dmplus and dmminus lines in correct position but the ADX isn't rising. Therefore, no trigger bar.

Also just to clarify, this indicator encapsulates the strictest interpretation of Perrry's rules which includes what I mention above. I understand that Perry doesn't require the rising ADX 100% of the time. I saw a post from him that said he doesn't always wait for the ADX. However, I opted to include the ADX requirement in this indicator.

Regarding the proximity to 20EMA...the only requirement per post 71 is that the 20ema is rising or falling appropriately.

Just to be sure, if anyone has another take on Perry's rules, please correct me but they seem to be pretty clear regarding the things I've mentioned.

Mike Winfrey


vast View Post
Hi Mike
Here is a screen shot from todays 6E action. Was wondering why there was no dots firing on the marked arrows?
Also was unsure why the long dots fired when the candle is only touching the 5EMA and nowhere near the 20EMA. maybe I am misunderstanding the entry rules.
Thanks though for the work you have done. Your knowledge of programming is far better than mine.
Regards


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
32 thanks
Bigger Wins or Fewer Losses?
24 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #122 (permalink)
 
gulabv's Avatar
 gulabv 
Dallas, TX
 
Experience: Beginner
Platform: Ninjatrader
Broker: Zen-Fire
Trading: ZN, 6E
Posts: 286 since May 2010
Thanks Given: 161
Thanks Received: 169

MWinfrey,

I think you are missing a rule per Perry's method for determining the signal bar.

The low of the range bar has to touch or be less than the EMA 20 and the high has to be greater than the EMA 5 to qualify as a signal bar (in addition to the other rules).

gulabv

Reply With Quote
  #123 (permalink)
 
MWinfrey's Avatar
 MWinfrey 
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
Posts: 1,878 since Jul 2009
Thanks Given: 1,450
Thanks Received: 3,335


Straight from Perry's rules at post #71,

3. The Setup bar LOW must be LESS than or touching the EMA(5) and the Setup bar HIGH must be greater than the EMA(20).

Mike


gulabv View Post
MWinfrey,

I think you are missing a rule per Perry's method for determining the signal bar.

The low of the range bar has to touch or be less than the EMA 20 and the high has to be greater than the EMA 5 to qualify as a signal bar (in addition to the other rules).

gulabv


Reply With Quote
  #124 (permalink)
 
gulabv's Avatar
 gulabv 
Dallas, TX
 
Experience: Beginner
Platform: Ninjatrader
Broker: Zen-Fire
Trading: ZN, 6E
Posts: 286 since May 2010
Thanks Given: 161
Thanks Received: 169

Sorry thanks for correcting me.

Reply With Quote
  #125 (permalink)
 
MWinfrey's Avatar
 MWinfrey 
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
Posts: 1,878 since Jul 2009
Thanks Given: 1,450
Thanks Received: 3,335

No problem at all. I could have been wrong too. Good that others are looking at it critically. That's the only way to truly find out if I have it coded correctly. The other thing I've wondered is if I should modify it so it colors the dot and line one color if Perry's rules are met exactly as post 71 says and color the dot differently if the post 71 rules are met as well as the DMPlus conditions.


gulabv View Post
Sorry thanks for correcting me.


Reply With Quote
Thanked by:
  #126 (permalink)
 
MWinfrey's Avatar
 MWinfrey 
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
Posts: 1,878 since Jul 2009
Thanks Given: 1,450
Thanks Received: 3,335

Based on the conversation I've had with a couple people, I revisited the rules as I have them coded. Currently, they are coded in the strictest way using both the rules in Perry's post #71 plus the ADX, DMPlus, and DMMinus being in the proper condition. However, in the conversations it became apparent to me that I should probably open up the rules a bit to allow for signals when the basic rules as defined in post #71 are true as well. As Perry has mentioned, he takes some entries when the ADX is against him. So, when you load version 2, you will notice black lines which show entries that meet only the post #71 rules. You will also see dots and lines of the same color when both post #71 rules, ADX, DMPlus, and DMMinus conditions are met.

I am attaching a picture along with the zip files.

I would like some feedback on whether or not this indicator is useful to anyone. If it isn't useful, I will stop my effort and move on to something else that you all think is useful. I'm soliciting ideas if anyone has any they want help with.

Thanks,
Mike Winfrey

Attached Thumbnails
Click image for larger version

Name:	6E 12-10  10_13_2010 (4 Range).jpg
Views:	450
Size:	178.8 KB
ID:	22691  
Attached Files
Elite Membership required to download: DMPlusSignals_v2_nt7.zip
Elite Membership required to download: DMPlusSignals_v2_nt65.zip
Reply With Quote
  #127 (permalink)
 
tickvix's Avatar
 tickvix 
USA
 
Experience: Intermediate
Platform: Infinity
Broker: Infinity
Trading: ES, Euro
Posts: 232 since Feb 2010
Thanks Given: 137
Thanks Received: 157


MWinfrey View Post
Based on the conversation I've had with a couple people, I revisited the rules as I have them coded. Currently, they are coded in the strictest way using both the rules in Perry's post #71 plus the ADX, DMPlus, and DMMinus being in the proper condition. However, in the conversations it became apparent to me that I should probably open up the rules a bit to allow for signals when the basic rules as defined in post #71 are true as well. As Perry has mentioned, he takes some entries when the ADX is against him. So, when you load version 2, you will notice black lines which show entries that meet only the post #71 rules. You will also see dots and lines of the same color when both post #71 rules, ADX, DMPlus, and DMMinus conditions are met.

I am attaching a picture along with the zip files.

I would like some feedback on whether or not this indicator is useful to anyone. If it isn't useful, I will stop my effort and move on to something else that you all think is useful. I'm soliciting ideas if anyone has any they want help with.

Thanks,
Mike Winfrey


Nice work Mike

Reply With Quote
Thanked by:
  #128 (permalink)
 fusion 
East Coast
 
Experience: Beginner
Platform: NinjaTrader,
Trading: es
Posts: 83 since Aug 2010
Thanks Given: 272
Thanks Received: 25


MWinfrey View Post
Based on the conversation I've had with a couple people, I revisited the rules as I have them coded. Currently, they are coded in the strictest way using both the rules in Perry's post #71 plus the ADX, DMPlus, and DMMinus being in the proper condition. However, in the conversations it became apparent to me that I should probably open up the rules a bit to allow for signals when the basic rules as defined in post #71 are true as well. As Perry has mentioned, he takes some entries when the ADX is against him. So, when you load version 2, you will notice black lines which show entries that meet only the post #71 rules. You will also see dots and lines of the same color when both post #71 rules, ADX, DMPlus, and DMMinus conditions are met.

I am attaching a picture along with the zip files.

I would like some feedback on whether or not this indicator is useful to anyone. If it isn't useful, I will stop my effort and move on to something else that you all think is useful. I'm soliciting ideas if anyone has any they want help with.

Thanks,
Mike Winfrey

Hi Mike,

As Perry stated in this post , page47, post # 465, multi- time- frame may give higher probabilities and maybe less stress.

I used 4 and 8 Range to generate ES 13October 2010 chart in NT 7.0.0.22 using the curent updated DMPlussignal_v2. The attached screenshot shows uneven bar spacing in 4 Range (main data series) as well as 8 Range (sencondary data series).

I'm not able to write a custom indicator to correct the shortage of NT 7 Multi Data Series. Could you kindly help? TIA!

Attached Thumbnails
Click image for larger version

Name:	Signals on Double Data Series.gif
Views:	322
Size:	41.3 KB
ID:	22700  
Reply With Quote
Thanked by:
  #129 (permalink)
 
gulabv's Avatar
 gulabv 
Dallas, TX
 
Experience: Beginner
Platform: Ninjatrader
Broker: Zen-Fire
Trading: ZN, 6E
Posts: 286 since May 2010
Thanks Given: 161
Thanks Received: 169

Hi Mike,

Thanks for your efforts. Can you tell me why you use Round2TickSize on the close/low/high price values?
The price values should always be at the tick intervals for the particular instrument so could the rounding issue you talked about a few posts back be solve by not rounding price?

Just a thought...

gulabv

Reply With Quote
  #130 (permalink)
 
MWinfrey's Avatar
 MWinfrey 
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
Posts: 1,878 since Jul 2009
Thanks Given: 1,450
Thanks Received: 3,335


Unfortunately not. Even though you see price as 83.00, under the hood of NT it may or may not be 83.00. Most likely it's 83.00000000045678. Don't blame that on NT either. That's a precision issue with programming languages.


gulabv View Post
Hi Mike,

Thanks for your efforts. Can you tell me why you use Round2TickSize on the close/low/high price values?
The price values should always be at the tick intervals for the particular instrument so could the rounding issue you talked about a few posts back be solve by not rounding price?

Just a thought...

gulabv


Reply With Quote
Thanked by:




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