NexusFi: Find Your Edge


Home Menu

 





Sample Advanced Automated Strategy v1.0


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one dsraider with 36 posts (41 thanks)
    2. looks_two wgreenie with 21 posts (1 thanks)
    3. looks_3 gg80108 with 11 posts (6 thanks)
    4. looks_4 Ducman with 7 posts (0 thanks)
      Best Posters
    1. looks_one MXASJ with 3 thanks per post
    2. looks_two dsraider with 1.1 thanks per post
    3. looks_3 cbritton with 0.7 thanks per post
    4. looks_4 gg80108 with 0.5 thanks per post
    1. trending_up 49,803 views
    2. thumb_up 64 thanks given
    3. group 27 followers
    1. forum 117 posts
    2. attach_file 15 attachments




 
Search this Thread

Sample Advanced Automated Strategy v1.0

  #71 (permalink)
 
COTtrader's Avatar
 COTtrader 
JACKSON, MICHIGAN
Legendary Market Wizard
 
Experience: Intermediate
Platform: TS and Trading View
Broker: TS
Trading: ES Awesome!
Posts: 955 since Jul 2009
Thanks Given: 406
Thanks Received: 648

So, one is NOT allowed to use ATM strategies on a live account with a any broker?

Ken

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
Quant vue
Trading Reviews and Vendors
 
  #72 (permalink)
dsraider
New York, NY
 
Posts: 142 since Dec 2009
Thanks Given: 41
Thanks Received: 87

Hey COTtrader,

I meant that you have to use the paid version of ninja to use them, since the free live account won't work with them but then eman yelled at me and called me stupid.

Dave

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


Let me share how I "tweaked" NJ.

First I used the free demo licence and set-up my charts and strategies using a sim account.

Then I changed the licence to my broker's one (which does not come with ATM and strategy running features) and opened a SuperDom to trade using my real account or sim account.

NJ cannot detect I was using 2 licences on one computer at the same time. I did it a few times early this year and seemed no conflict. Have stayed with the free demo licence after stopping trading real in early Feb.

Hope the above help.

Have a Great weekend.

Beth

Visit my NexusFi Trade Journal Reply With Quote
  #74 (permalink)
 eman 
Galveston ,TX
 
Experience: Intermediate
Platform: NT7
Broker: Zaner
Trading: Futures
Posts: 386 since Mar 2010
Thanks Given: 364
Thanks Received: 435


dsraider View Post
Hey COTtrader,

I meant that you have to use the paid version of ninja to use them, since the free live account won't work with them but then eman yelled at me and called me stupid.

Dave

lol...i didn't mean to yell at you.

enjoying this thread. thanks again for setting it up.

cheers,
-e

Reply With Quote
  #75 (permalink)
dsraider
New York, NY
 
Posts: 142 since Dec 2009
Thanks Given: 41
Thanks Received: 87

Haha I'm just kidding. I was on about three hours sleep when I wrote that and everything seemed funny to me at the time.

Have a good night,
Dave

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


dsraider View Post
Good news/Bad news....

The good news is I fixed your trail. Please make the following changes to your code:

SetStopLoss("Long ", CalculationMode.Ticks, 15, false); should be
SetStopLoss("", CalculationMode.Ticks, 15, false);

Also, in the trail part, (not the BE part) use:
SetStopLoss(longEntryID, CalculationMode.Price, newPrice, false); and
SetStopLoss(shortEntryID, CalculationMode.Price, newPrice, false);
Dave


Dave and Beth,

Dave, I have tried using the base code you posted, and the alterations here, and the BE & TS
never seem to kick in. Do either of you have code that seems to work with all PT BE TS working on both the initial entry and also on the 'runner'?

If either of you do, I would really appreciate just that part of the code. Honestly, I hired on a programmer to accomplish that and no success (so far), which is obviously a disappointmnent.

Your assist is greatly appreciated.

Jon

Reply With Quote
  #77 (permalink)
dsraider
New York, NY
 
Posts: 142 since Dec 2009
Thanks Given: 41
Thanks Received: 87

Hi Jon,

I'm at the office today and don't have NT here, so there's only so much I can do for now. Still, it will be hard to know what's wrong without seeing your entire strat. Can you either post or PM me whatever you can that isn't proprietary? I'm really not an advanced programmer but I'll see if there's anything I can do. Also, what does PT stand for? See? <---Not advanced

Dave

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


dsraider View Post
what does PT stand for?

Hi Dave

PT stands for Profit Target I believe. Guess Jon will correct me if I'm wrong.

Hi Jon

Dave has been very helpful when I tried to resolve the BE/Trail myth. You're definitely in good hands. I posted a sample NJ strategy which I used and its BE/trail code worked for me. I will try to dig out the post shortly.

Beth

Visit my NexusFi Trade Journal Reply With Quote
  #79 (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


Trader.Jon View Post
Do either of you have code that seems to work with all PT BE TS working on both the initial entry and also on the 'runner'?

Hi Jon

I can understand the frustration as I was in the same boat for weeks. I used the enclosed NJ sample strategy (which is a little simpler while Dave's one is too advanced for me) and it worked. Cory suggested a link in the following thread (Post #10 on page 1) and you may want to check it out as well:



Good luck!

Beth

Attached Files
Elite Membership required to download: ProfitTargetTrailingStop_1[1].01b.cs
Visit my NexusFi Trade Journal Reply With Quote
  #80 (permalink)
dsraider
New York, NY
 
Posts: 142 since Dec 2009
Thanks Given: 41
Thanks Received: 87


Haha that makes sense. Oh man. I need sleep. Jon, let me know how you make out with Beth's suggestion. Beth, does this mean you're 100% up and running? Haven't heard from you for awhile.

Dave

Reply With Quote




Last Updated on November 16, 2011


© 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