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,940 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

  #61 (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


wgreenie View Post
2. cs files for RangeAlt and NoGap in case you want to play with them. Simply move them to the following folder:

My Documents\NinjaTrader 6.5\bin\Custom\Type

Not sure if you need to compile them first. Hmm, maybe Big Mike or other member can give Susan some guidance. Thanks.

I just checked with NJ Customer Service. After moving the cs files to the Type Indicator, please follow the below steps:

From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
Select an indicator (any indicator and do not have to find that specific indicator as it may not be listed) and double click on it.
A new window will appear and press F5 to compile (it will compile everything).

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

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
How to apply profiles
Traders Hideout
NexusFi Journal Challenge - May 2024
Feedback and Announcements
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
What is Markets Chat (markets.chat) real-time trading ro …
77 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
Just another trading journal: PA, Wyckoff & Trends
37 thanks
Bigger Wins or Fewer Losses?
24 thanks
The Program
17 thanks
  #62 (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
You're most welcome Susan! We're all thrilled that you now resolve the strategy myth .. smile ..

Hey, I love baking. If you have a signature cake recipe (easy to make), please feel free to share it with me via Private Message. Thank you.

Enclosed are the following:

1. I ran the strategy (your version) on 3 different Range charts (Regular, RangeAlt and NoGap) per enclosed. Regular and RangeAlt generated the same trades while the NoGap one was slightly different.

Note: Insufficient historical data to support the above. Just a prelim observation on 1.5 hours timeframe.

2. cs files for RangeAlt and NoGap in case you want to play with them. Simply move them to the following folder:

My Documents\NinjaTrader 6.5\bin\Custom\Type

Not sure if you need to compile them first. Hmm, maybe Big Mike or other member can give Susan some guidance. Thanks.

3. How to specify your preferred time for running the strategy

i. Default when you right-click for the strategy's parameters: 9:40 am to 11:30 am (94000 to 113000)
ii. Example (per enclosed): 1:45 pm to 3:00 pm (134500 to 150000)

Note: Timefinish and Timestart are based on your computer clock.

Enjoy!

Beth

Hi Beth,

Do you know if these RBs work on nt 7 or just 6.5? Is there a description of them anywhere that you know of? I'll search the forum after I send this reply, so if it is obvious, that's a rhetorical quest but if not, I'd appreciate any explanation you can offer. It took me a while to get the strategy going today since my murrey maths weren't working and I had to dnload a new .zip - think the one I had was for nt7. Anyway, by the time I got it going, it was nearly time to quit - had 2 6E trades, both 6 pip stop outs, sad to say. Does the strategy only work on 1 chart at a time? I was trying to run it on TF also and it didn't run but not sure if it was after I fixed the MM issue or maybe nothing set up - I did change the time to keep it going on TF past 11:30 tho. Someday, I'll have my act together!

I'll study your results in the meantime.

Thanks and hugs,
Susan

Reply With Quote
  #63 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184


Susan,

Check the download section: Aslan has contributed BetterRenko and BetterBrick for the NT7 and I suggest you have a look as you explore the bar types available. Other NT7 renko types are also available from within NT7.

TJ

Reply With Quote
  #64 (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
I'd like to clarify again that I used the strategy to enhance my understanding on Method 1. For example, the lime (Long) and orange (Short) arrows helped my visualizing Long and Short Set Up bars. Then I counted 5 bars (incl the Set Up one) to double-check the entry point which should be either 1 tick above or below the HH/LL. I only sim-ran the strategy for a few hours in total not counting the short tests to resolve the compilation myth.

I have no intention to sim-run the strategy or trade it live. For me, it's an education tool and I'm done with it. I have been manually spotting the signals and am currently sim-trading TF (15-RangeAlt) with PT/SL @10/13.

I'm very grateful for Perry's sharing and guidance. My warmest apologies to Perry for taking up his thread's "space" in addressing some automation issues. I'm also very sorry for the unexpected compilation issues that may have caused grievances on some of you!

That's why I emphasized many times that it's BETA LOL! Please bear in mind that it's written by one (me) who does not know the language.

Beth

Beth, when I ran the strategy, it placed orders and stops automatically. Do you allow it to execute or do you cancel them and manually put in yr orders when sim trading? Also, what criteria are used for the signals? I saw some that looked like entries and there was no signal. Does the angle of the MA need to be a certain steepness? How does it use the Murrey Math lines? Also, I saw signals when the ADX was red - isn't it suposed to filter for that? This is the 1st time I've really seen it work so maybe my observations are wrong. I was watching NT7 on another PC at the same time, trying to see entries there too. My big fault is I always bite off too much to chew all at once!! LOL

Susan

Reply With Quote
  #65 (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

Susan,

It would be very helpful if you can post a chart showing the signals you feel were not correct so we can help...

Reply With Quote
  #66 (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


gulabv View Post
Susan,

It would be very helpful if you can post a chart showing the signals you feel were not correct so we can help...

gulabv,

It is more that I would have expected a signal and it didn't trigger. Not too sure my observations are true, though, as it was my 1st day and I foolishly had my attention split on 2 PCs and 2 screens. I was watching 6E and TF on different time frames and I am not that talented, I'm afraid!

I will try to be more focused tomorrow. Have you noticed on the live chart that a method 1 entry seemed to be occuring and the strategy didn't signal it? I think the MA angles were pretty shallow at those times, maybe 4 degrees or something like that - then by bar close or during the next bar, if it goes against the direction you were watching, the angle also changes. But I am no expert on recognizing the signals - in fact, I have made trades, in sim, of course, and seen too late that I forgot something and it wasn't a valid entry.

Susan

Reply With Quote
  #67 (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
Beth, when I ran the strategy, it placed orders and stops automatically. Do you allow it to execute or do you cancel them and manually put in yr orders when sim trading? Also, what criteria are used for the signals? I saw some that looked like entries and there was no signal. Does the angle of the MA need to be a certain steepness? How does it use the Murrey Math lines? Also, I saw signals when the ADX was red - isn't it suposed to filter for that? This is the 1st time I've really seen it work so maybe my observations are wrong. I was watching NT7 on another PC at the same time, trying to see entries there too. My big fault is I always bite off too much to chew all at once!! LOL

Susan

Hi Susan

I mapped out the suggested entry requirements with the codes used in the following post:

https://nexusfi.com/journals-daily-charts-chart-reading/3514-perrys-trading-platform-43.html#post56392

Signals (lime and orange arrows for the Set Up bars) triggered will not capture the valid ones 100%. Why?

1. All coded requirements MUST be met at the same time for the Set Up bar else it will not trigger.

2. Certain indicators have CalculateOnBar False. For example, you will see FI (panel 2) keeps switching from Red to Green (which happened to me this morning when I was in a Short trade). Same for the ADX Green label on the Bottom Left. When you're watching the indicators/chart on live, you will see what I mean.

3. I bet we will always have trades that're not captured by the strategy because they're after the fact. Please bear in mind that some of the indicators are lagged.

Hope the above help.

Regarding Renko bars, I only have experience with MedianRenko. The Wizard is a big fan of the same. I believe he mentioned why in some of his posts esp the first page on The Wizard's threads. Note: He recommends even-numbered settings say 4-MedianRenko and 6-MedianRenko. My belated thanks to Trader.Jon for his suggestion.

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
  #68 (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
Beth, when I ran the strategy, it placed orders and stops automatically. Do you allow it to execute or do you cancel them and manually put in yr orders when sim trading? Also, what criteria are used for the signals? I saw some that looked like entries and there was no signal. Does the angle of the MA need to be a certain steepness? How does it use the Murrey Math lines? Also, I saw signals when the ADX was red - isn't it suposed to filter for that? This is the 1st time I've really seen it work so maybe my observations are wrong. I was watching NT7 on another PC at the same time, trying to see entries there too. My big fault is I always bite off too much to chew all at once!! LOL

Susan

Hi Susan

Please consider the following:

1. Go through Perry's suggested method(s) again. For example, you don't need to worry about MA's angle though you may modify the set up to meet your preference.

2. Murrey Math Lines for Support/Resistance so that you know if you may have enough room to hit PT before entering into a trade.

Now let me address your raised issues re my sim-trading (incl real ones):

1) I've not been using the strategy and only used it for 2 short sim-trading sessions to visualize the set up in early Aug. When I was sim-trading the strategy, I let it run without any manual interference, ie either hitting PT or SL. My focus was: upon plotting of a lime or orange arrow, I quickly tabulated the entry point and compared mine with the automated one. I also did my homework EOD going through a few weeks' automated trades to enhance my understanding on the method. How to have the historical trades on the chart?

- I had a chart with 30-45 days data
- Sim-ran the strategy on the chart
- Right-click on the strategy (Strategies tab) and choose real-time and historical performance
- Went through the trade log and validated the signals on the chart

2) For both my sim- and real trading, I have been spotting the signals manually without the strategy. Why? It already enhanced my understanding on the method (like the training wheels on a kid's bicycle) and I can live without it now. If I have any doubt in the future, I will run it again.

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
  #69 (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

Please consider the following:

1. Go through Perry's suggested method(s) again. For example, you don't need to worry about MA's angle though you may modify the set up to meet your preference.

2. Murrey Math Lines for Support/Resistance so that you know if you may have enough room to hit PT before entering into a trade.

Now let me address your raised issues re my sim-trading (incl real ones):

1) I've not been using the strategy and only used it for 2 short sim-trading sessions to visualize the set up in early Aug. When I was sim-trading the strategy, I let it run without any manual interference, ie either hitting PT or SL. My focus was: upon plotting of a lime or orange arrow, I quickly tabulated the entry point and compared mine with the automated one. I also did my homework EOD going through a few weeks' automated trades to enhance my understanding on the method. How to have the historical trades on the chart?

- I had a chart with 30-45 days data
- Sim-ran the strategy on the chart
- Right-click on the strategy (Strategies tab) and choose real-time and historical performance
- Went through the trade log and validated the signals on the chart

2) For both my sim- and real trading, I have been spotting the signals manually without the strategy. Why? It already enhanced my understanding on the method (like the training wheels on a kid's bicycle) and I can live without it now. If I have any double in the future, I will run it again.

Beth

Beth,

Did you run the strategy in replay to get the 30-45 days? How did you sim run the strategy? I thought you said you only ran it a couple of times.

Susan

Reply With Quote
  #70 (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
Beth,

Did you run the strategy in replay to get the 30-45 days? How did you sim run the strategy? I thought you said you only ran it a couple of times.

Susan

Hi Susan

It depends on your chart. If your chart is a 30-day one, you will be able to review the trades happened for the past 30 days (also based on your specified trading hours on the parameters). That's how it works:

1. Open a 30-day chart on your preferred trading instrument incl your preferred interval settings (eg 4-Range)

2. Right-click on the chart and select the strategy you want to run

3. Modify the parameters (incl SL/PT and trading time etc) before press OK

4. Control Center - Strategies Tab - you will see the active strategy list

5. Right-click on the strategy and select real-time and historical performance

6. Go to the Trade Log and compare them with the signals/trades on the chart

7. Be sure you choose MarkersOnly or TextandMarker on the Chart Properties for the review

8. You can only run a strategy (sim or real) when you're connected with a data provider

Oh, almost forgot to address your raised question on the No of strategies you can run on the same chart. I tried 4 before though encountered occasional out-of-memory issues. Depends on your computer and number of charts you have. I will say 2 is good.

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