NexusFi: Find Your Edge


Home Menu

 





changing indicator or strategy values via a secondary GUI


Discussion in NinjaTrader

Updated
    1. trending_up 1,896 views
    2. thumb_up 2 thanks given
    3. group 1 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
drmartell's Avatar
 drmartell 
Portland, OR
 
Experience: Intermediate
Platform: NinjaTrader mostly
Broker: I've tried 'em all
Trading: ZN, ES, 6E, TF, CL
Posts: 94 since Mar 2010
Thanks Given: 176
Thanks Received: 79

Can anyone point me in the direction of code snippets for changing indicator and/or strategy values by writing/reading them to/from a file?

Here is an example screenshot from a vendor similar to what I have in mind.



Thanks.


Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
CPI Eve: Fed Hike Odds Hold at 52% for the First Time, I …
Prediction Markets & Event Contracts
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #3 (permalink)
 futuretrader 
Como Italy
 
Experience: Intermediate
Platform: Ninjatrader, customized
Trading: ES
Posts: 525 since Feb 2010
Thanks Given: 471
Thanks Received: 643



drmartell View Post
Can anyone point me in the direction of code snippets for changing indicator and/or strategy values by writing/reading them to/from a file?

Here is an example screenshot from a vendor similar to what I have in mind


Thanks.

Do you mean the actual file writing and reading code? Google "using StreamReader" and "using StreamWriter", MS has good examples of both.

Creating a separate form for user interaction would involve more than a 'snippet.' If you wanted to use a chart subpanel, you could probably adapt the code in dorschden's Price Action Swing indicator.


Reply With Quote
Thanked by:




Last Updated on December 18, 2011


© 2026 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 - Downloads - Top
no new posts