NexusFi: Find Your Edge


Home Menu

 





script idea


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one sharky with 22 posts (7 thanks)
    2. looks_two systrader with 11 posts (31 thanks)
    3. looks_3 Peter with 6 posts (10 thanks)
    4. looks_4 zeller4 with 4 posts (1 thanks)
      Best Posters
    1. looks_one systrader with 2.8 thanks per post
    2. looks_two sam028 with 2 thanks per post
    3. looks_3 Peter with 1.7 thanks per post
    4. looks_4 sharky with 0.3 thanks per post
    1. trending_up 22,342 views
    2. thumb_up 58 thanks given
    3. group 11 followers
    1. forum 64 posts
    2. attach_file 14 attachments




 
Search this Thread

script idea

  #41 (permalink)
 
sharky's Avatar
 sharky 
MIAMI,FL
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, tradingview
Broker: Private
Trading: Crypto and natural gas
Posts: 1,063 since Jun 2009
Thanks Given: 625
Thanks Received: 3,906

also systrader can we put a 100 wma in the script and only allow shorter term trades to trigger if it agrees with the 100 wma? so say we have a blue 100 then we will take all longs and if a red 100 then we will take all shorts? thanks sharky

Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #42 (permalink)
 
sharky's Avatar
 sharky 
MIAMI,FL
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, tradingview
Broker: Private
Trading: Crypto and natural gas
Posts: 1,063 since Jun 2009
Thanks Given: 625
Thanks Received: 3,906

but dont hard wire the 100 ema just make a long term that can be changed from 1-200 and ema,wma whatever all of them?

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #43 (permalink)
systrader
Rocky Mountains
 
Posts: 19 since Jun 2009
Thanks Given: 17
Thanks Received: 37


I have to run for the night, I will add the longer term ema tomorrow.

In the mean time, here's an updated script that you can play with. I made the DMA type (Zero, etc) parameters. I also added a new parameter called 'AutoBreakEvenTicks' - it will move your stop up to break even after x number of ticks. So the strategy now process tick by tick for the handling of the stop loss as well as the main time frame (used by the chart).

Attached Files
Elite Membership required to download: SharkyMAStrategy_v1_06.cs
Reply With Quote
Thanked by:
  #44 (permalink)
 
sharky's Avatar
 sharky 
MIAMI,FL
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, tradingview
Broker: Private
Trading: Crypto and natural gas
Posts: 1,063 since Jun 2009
Thanks Given: 625
Thanks Received: 3,906

thanks systrader and if you have any ideas please feel free to share them with us also...sharky

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #45 (permalink)
 KJAVED 
Toronto Canada
 
Experience: Intermediate
Platform: ninja Trader, Ensign,Market Delta
Broker: AMP,Global Futures
Trading: Eminis
Posts: 97 since Jun 2009
Thanks Given: 46
Thanks Received: 83

I have some ideas to improve performance of strategy.
If session period added then it will be great. say fix two sessions
1) Session1 9:30 to 11:30 AM
No new trade entered after 11:00 AM
Exit all Trades after 11:30AM

2) Session2 1:30 to 4:00PM
No New Trades entered after 3;30 PM
Exit all Trades after 4:00PM

The values for time adjustment can be changed from strategy parametrs column.

Other idea to fix overall target for profit and loss for this strategy. As soon as any target for profit or loss hit strategy stop automatically. These profit and loss targets can be changed through strategy parametrs column.

Reply With Quote
Thanked by:
  #46 (permalink)
 
sharky's Avatar
 sharky 
MIAMI,FL
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, tradingview
Broker: Private
Trading: Crypto and natural gas
Posts: 1,063 since Jun 2009
Thanks Given: 625
Thanks Received: 3,906

thanks we tried the time already but then took them back out will look again later as the scripts matures,both great ideas i thank you...sharky

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #47 (permalink)
 David 
UK
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Futures
Posts: 88 since Jun 2009
Thanks Given: 35
Thanks Received: 84

I could modify the script so that it initiates an ATM strategy and also add a parameter so that you can either use an ATM or use the existing order processing.

Would that be of interest?

Thanks

David

Reply With Quote
  #48 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

Hi David,
your are welcome to do this !

Please re-name it clear as a new version (versionNo) + log/describe your changes in the code + in the posting here - so that its easy to be compared to other versions.
Thank you !

max-td
Reply With Quote
  #49 (permalink)
 David 
UK
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Futures
Posts: 88 since Jun 2009
Thanks Given: 35
Thanks Received: 84

Sure, no problem

I'll do this in the next few days

David

Reply With Quote
  #50 (permalink)
 
Riverend's Avatar
 Riverend 
Westlake, Oh
 
Experience: Beginner
Platform: NinjaTrader
Trading: CL
Posts: 356 since Jun 2009
Thanks Given: 1,519
Thanks Received: 220



sharky View Post
any one with ideas feel free to make suggestions all ideas will be looked at and if possible we will try anything to make this a really good script...sharky

I had a thought about the problem of "chop" I have been looking at using Dynamic SR(10). if the the value between support and resistance is less than 1.5 points do not enter any trade. I have been looking at this idea with trading the TF . Just a thought.
Also any momentum indicators at this point (ECO2) or maybe later in the script.

Vic

Reply With Quote




Last Updated on November 15, 2009


© 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